Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Xcode 13 b4 - SwiftPackageManager App Extensions #264

Closed
mattiacantalu opened this issue Jul 28, 2021 · 2 comments
Closed

Xcode 13 b4 - SwiftPackageManager App Extensions #264

mattiacantalu opened this issue Jul 28, 2021 · 2 comments

Comments

@mattiacantalu
Copy link

mattiacantalu commented Jul 28, 2021

Using latest version of SwrveSDK 7.0.3 and Xcode 13.0 beta 4 the App Extensions targets don't compile due:

'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.

and

'openURL:' is unavailable: not available on iOS (App Extension)
@mattiacantalu mattiacantalu changed the title Xcode 13 b4 - App Extensions Xcode 13 b4 - SwiftPackageManager App Extensions Jul 29, 2021
@mattiacantalu
Copy link
Author

Swift Packages
Resolved in Xcode 13 Beta 5

You don’t need to annotate code as unavailable for use in application extensions if it references APIs annotated as unavailable for use in application extensions. This reverts a requirement that Xcode 13 Beta 3 introduced. (80615922) (FB9332020)

@KevBrodigan
Copy link
Contributor

Thanks @mattiacantalu for the updates on this. I'll close off this issue, as noted Apple have reversed the change on this in the latest beta.

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

No branches or pull requests

2 participants