Xcode: Package Resolution Failed
出错以下错误,说明默认分支的版本已经不存在。
解决方案:可以打开SDK github地址,找到正确的版本号,修改成正确的版本号。

firebase-ios-sdk could not be resolved:
google-ads-on-device-conversion-ios-sdk:
Fetching from https://github.com/googleads/google-ads-on-device-conversion-ios-sdk (cached)
Checking out 3.7.0
Traits [Firestore] have been enabled on package 'firebase-ios-sdk' (Firebase) that declares no traits.
unexpectedly did not find the new dependency in the package graph: sourceControl(identity: firebase-ios-sdk, location: SwiftPM.SPMPackageDependency.SourceControlLocation.remote(SwiftPM.SPMSourceControlURL(sourceControlURL: https://github.com/firebase/firebase-ios-sdk)), requirement: 12.19.2)
failed downloading 'https://github.com/facebook/facebook-ios-sdk/releases/download/v19.0.0/FBSDKCoreKit_Basics-Dynamic_XCFramework.zip' which is required by binary target 'FBSDKCoreKit_Basics': badResponseStatusCode(404)

浙公网安备 33010602011771号