Skip to content

'Guard' Body Error #113

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
jlunardini opened this issue Jun 20, 2024 · 2 comments · Fixed by #114
Closed

'Guard' Body Error #113

jlunardini opened this issue Jun 20, 2024 · 2 comments · Fixed by #114
Assignees

Comments

@jlunardini
Copy link

hello!

just wanted to let you know I am getting an error ''guard' body must not fall through, consider using a 'return' or 'throw' to exit the scope' when attempting to archive my app using Xcode 16.

MuxUploadSDK - DirectUpload+AVFoundation.swift

CleanShot 2024-06-19 at 20 34 41@2x

@andrewjl-mux
Copy link
Contributor

Hey @jlunardini, thanks for filing this!

We'll release a patch for this later this week. The most likely cause here is the Swift optimizer eliding precondition when compiling in release mode.

@andrewjl-mux andrewjl-mux self-assigned this Jun 20, 2024
@andrewjl-mux andrewjl-mux linked a pull request Jun 20, 2024 that will close this issue
@andrewjl-mux
Copy link
Contributor

Hey @jlunardini, this has been fixed in v1.0.1, thanks again for the report!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants