Hi,As per documentation, we can create xcframework in 2 steps :1: Creating archive for different platforms (example 1 for iphoneos and 1 for macosx)2: Create xcframework using the command line option - xcodebuild -create-xcframework.Is it possible to create xcframework from Xcode IDE similar to creating ".framework" from Xcode IDE ?I couldn't find any utility from Xcode IDE to build xcframeworks.Thanks and Regards,Himanshu
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am trying to use ASWebAuthenticationSession web view. After the authentication is complete, the session completion handler is not being called. Hence, the web view doesn't dismiss. Below is the piece of code I am using :guard let authURL = URL(string: "https://github.com/login/oauth/authorize?client_id=<client_id>/")
else { return }
let scheme = "octonotes"
session = ASWebAuthenticationSession.init(url: authURL, callbackURLScheme: scheme, completionHandler: { callbackURL, error in
// Handle the callback.
print(callbackURL!)
print(error!)
})
session?.presentationContextProvider = self
session?.start()I have set the callback url scheme in info.plist. The same is updated in Targets -> info -> URLAfter running the above code, ASWebAuthenticationSession web view is presented, which provides user with sign in page. Once the authentication is complete, web view does not dismiss unlike WKWebView. There is cancel option on top left of the web view, it calls the completion handler with error.Is there a way to dismiss webview after the authentication session is complete?