UPcload / FitAnalytics-WebWidget-iOS

FitAnalytics WebWidget SDK for iOS
MIT License
4 stars 5 forks source link

Xcode 13 b4 - SwiftPackageManager App Extensions #15

Closed mattiacantalu closed 2 years ago

mattiacantalu commented 3 years ago

Using latest version of FitAnalytics-WebWidget-iOS 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 commented 3 years ago

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)