Xcode Cloudでビルドは通るがアーカイブエラーになった。
本記事の結論としては、Xcode CloudのLatestが15.3になっていたことが原因のようだったので、15.2に変更して再ビルド・アーカイブすることで解決した。
実行環境
日付
2024年3月4日、2024年3月5日
XCODEバージョン
Xcode 15.3 Release Candidate (15E5202a)
MACOSバージョン
macOS Sonoma 14.3.1 (23D60)
アーカイブエラー見たときのメモ
- アーカイブエラー内容的にFirebase系のエラーっぽい気もしたが、以前のアーカイブから特にFirebaseは更新していない
- 時期的にPrivacyManifest絡みなのかもしれない?
- Xcode CloudのXcode実行環境は上がっていそうな気もする
アーカイブエラーメッセージ
Invalid Bundle. The bundle live.app/Frameworks/GoogleAppMeasurement.framework does not support the minimum OS Version specified in the Info.plist.
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'live.app/Frameworks/GoogleAppMeasurement.framework' is ''.
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle live.app/Frameworks/FirebaseAnalytics.framework is required.
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'live.app/Frameworks/GoogleAppMeasurementIdentitySupport.framework' is ''.
The bundle 'Payload/live.app/Frameworks/GoogleAppMeasurement.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring
The bundle 'Payload/live.app/Frameworks/FirebaseAnalytics.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle live.app/Frameworks/GoogleAppMeasurement.framework is required.
Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'live.app/Frameworks/FirebaseAnalytics.framework' is ''.
Missing Info.plist value. A value for the key 'MinimumOSVersion' in bundle live.app/Frameworks/GoogleAppMeasurementIdentitySupport.framework is required.
Invalid Bundle. The bundle live.app/Frameworks/GoogleAppMeasurementIdentitySupport.framework does not support the minimum OS Version specified in the Info.plist.
Invalid Bundle. The bundle live.app/Frameworks/FirebaseAnalytics.framework does not support the minimum OS Version specified in the Info.plist.
The bundle 'Payload/live.app/Frameworks/GoogleAppMeasurementIdentitySupport.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring
対応
Xcode Cloudの実行環境を15.3→15.2に落として実行することで解決した。
変更前:Xcode 15.3 Release Candidate (15E5202a)
変更後:Xcode 15.2 (15C500b)
おまけ
以前書いたXcode Cloudアーカイブエラーの記事