Yeah, this very helpful https://developer.apple.com/documentation/swift_packages/distributing_binary_frameworks_as_swift_packages, thanks.
I done this with this steps:
add your XCFramework to targets in your library
add binary target with path "Frameworks/NameOfYourFramework.xcframework" to targets
add dependency to main target as .byName(name: "NameOfYourFramework")
move your framework to folder ProjectName/Frameworks
build and use your xcframework with your SPM library :)
Post
Replies
Boosts
Views
Activity
No only in adMob, I found this in Xcode 14.2 in my code:
func webView(_ webView: WKWebView, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) - in this function when return value over callback as: completionHandler(.useCredential, cred) in this block :)
And break again in Xcode 13 with iOS 15.0.1 on device :)))