You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While building with Xcode 13.0 beta 3 I got many compiler errors:
'open(_:options:completionHandler:)' is unavailable in application extensions for iOS
'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.
These errors occur in code that contains one of those lines:
I have never fixed such things but on one of my other project someone talk me about new annotation @available(iOSApplicationExtension, phimage/CallbackURLKit#31
Linking Swift packages from application extension targets or watchOS applications no longer emits unresolvable warnings about linking to libraries not safe for use in application extensions. This means that code referencing APIs annotated as unavailable for use in app extensions must now themselves be annotated as unavailable for use in application extensions, in order to allow that code to be used in both apps and app extensions. (66928265)
Description:
While building with Xcode 13.0 beta 3 I got many compiler errors:
These errors occur in code that contains one of those lines:
UIApplication.shared.open(url, options: [:], completionHandler: nil)
UIApplication.shared.open(url)
For example in Handoler/OAuthSwiftOpenURLExternally.swift line 28.
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
The text was updated successfully, but these errors were encountered: