【发布时间】:2020-03-13 21:28:02
【问题描述】:
当我尝试使用 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。我读到我必须包含一些框架搜索路径,但这是一种手动方法,而不是可可豆方式,我不知道在哪里手动输入路径。
【问题讨论】:
标签: firebase unity3d cocoapods