Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "GoogleAppMeasurement":
In Podfile:
Firebase/Analytics (= 6.32.2) was resolved to 6.32.2, which depends on
Firebase/Core (= 6.32.2) was resolved to 6.32.2, which depends on
FirebaseAnalytics (= 6.8.2) was resolved to 6.8.2, which depends on
GoogleAppMeasurement (= 6.8.2)
Google-Mobile-Ads-SDK (~> 7.68) was resolved to 7.68.0, which depends on
GoogleAppMeasurement (~> 7.0)
pod install エラーが出たのですが
Firebase Analytics と Google-Mobile-Ads-SDKでエラーが出てしまいました。。。どうしたら良いのでしょうか^^;;;;;
最新の FirebaseAnalyticsの依存は GoogleAppMeasurement 7.1
https://cocoapods.org/pods/FirebaseAnalytics
となっているのですが、こちらを利用できる可能性はあるのか
pod 'Firebase/Analytics', '6.32.2'
pod 'Firebase/Core', '6.32.2'
pod 'Google-Mobile-Ads-SDK', '~> 7.68'
6.32.2の最新はいくつなのかなーと
https://firebase.google.com/support/release-notes/ios
とりあえず 6.34.0 があるので 6.32.2を6.34.0に変更してみる こちらも 6.9.0だったのでダメでした。
Google-Mobile-Ads-SDKを ~> 7.67にしてみました。
$ pod install
Analyzing dependencies
Downloading dependencies
Installing Firebase (6.32.2)
Installing FirebaseAnalytics (6.8.2)
Installing FirebaseCore (6.10.2)
Installing FirebaseCoreDiagnostics (1.7.0)
Installing FirebaseInstallations (1.7.0)
Installing Google-Mobile-Ads-SDK (7.67.0)
Installing GoogleAppMeasurement (6.8.2)
Installing GoogleDataTransport (7.5.1)
Installing GoogleUserMessagingPlatform (1.4.0)
Installing GoogleUtilities (6.7.2)
Installing PromisesObjC (1.2.11)
Installing nanopb (1.30906.0)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `Unity-iPhone.xcworkspace` for this project from now on.
Pod installation complete! There are 2 dependencies from the Podfile and 12 total pods installed.
通ったようです。ビルドは問題ありませんでした^^;
iPhone, iPadともに OK 7.68のバグ修正が抜ける形ですがとりあえず大丈夫そうです!?
この状態で buildすると
iOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project.
のエラーは出ますが
Build completed with a result of ‘Succeeded’
とビルド自体は成功となります。