当我尝试使用Unity云构建进行构建时,收到以下消息:
然后
> Installing cocoapods dependencies:
>64201: ! .xcworkspace file could not be found.
>64202: Analyzing dependencies
>64203: [!] CocoaPods could not find compatible versions for pod "FirebaseCore":
>64204: In Podfile:
>64205: Firebase/Analytics (= 6.9.0) was resolved to 6.9.0, which depends on
>64206: Firebase/Core (= 6.9.0) was resolved to 6.9.0, which depends on
>64207: FirebaseAnalytics (= 6.1.2) was resolved to 6.1.2, which depends on
>64208: FirebaseCore (~> 6.3)
>64209:
>64210: Firebase/Auth (= 6.9.0) was resolved to 6.9.0, which depends on
>64211: Firebase/CoreOnly (= 6.9.0) was resolved to 6.9.0, which depends on
>64212: FirebaseCore (= 6.3.0)
>64213:
>64214: Firebase/Auth (= 6.9.0) was resolved to 6.9.0, which depends on
>64215: FirebaseAuth (~> 6.2.3) was resolved to 6.2.3, which depends on
>64216: FirebaseCore (~> 6.2)
>64217:
>64218: CocoaPods could not find compatible versions for pod "GoogleAppMeasurement":
>64219: In Podfile:
>64220: Firebase/Analytics (= 6.9.0) was resolved to 6.9.0, which depends on
>64221: Firebase/Core (= 6.9.0) was resolved to 6.9.0, which depends on
>64222: FirebaseAnalytics (= 6.1.2) was resolved to 6.1.2, which depends on
>64223: GoogleAppMeasurement (= 6.1.2)
>64224:
>64225: Google-Mobile-Ads-SDK (~> 7.42.1) was resolved to 7.42.2, which depends on
>64226: GoogleAppMeasurement (~> 5.7)
然后
/BUILD_PATH/jeko.lazaramobile1.appstore-ios/temp20200309-7398-19hbpik/Libraries/Plugins/iOS/GADUNativeCustomTemplateAd.h:5:9: 'GoogleMobileAds/GoogleMobileAds.h' file not found`
我的本地版本也因缺少“ GoogleMobileAds / GoogleMobileAds.h”而失败了
在Mac上,当我检查Pod文件时,它看起来像:
target 'UnityFramework' do
pod 'FBSDKCoreKit', '~> 5.5'
pod 'FBSDKLoginKit', '~> 5.5'
pod 'FBSDKShareKit', '~> 5.5'
pod 'Firebase/Analytics', '6.9.0'
pod 'Firebase/Auth', '6.9.0'
pod 'Firebase/Core', '6.9.0'
pod 'Google-Mobile-Ads-SDK', '~> 7.42.1'
end
我不知道必须在这里做什么。任何帮助将不胜感激。我发现我的firebese.core以某种方式停留在6.2或6.3,但需要6.9。我读到我必须包括一些框架搜索路径,但这是手动方法,而不是cocoapod方法,而且我不知道在哪里手动输入路径。
答案 0 :(得分:0)
从Podfile中删除版本说明符,或者至少减少限制。
Google-Mobile-Ads-SDK
和Firebase/Analytics
都取决于GoogleAppMeasurement
,并且指定的版本不兼容。
答案 1 :(得分:0)
享受吧!