firebase-ios-sdk: Carthage binaries have empty MinimumOSVersion, can't upload app builds to TestFlight.

TL;DR for future readers: just remove the Firebase-and-dependent frameworks from the “Embed Frameworks” build step: https://github.com/firebase/firebase-ios-sdk/issues/12106#issuecomment-1817303716

Description

When using Carthage for Firebase Crashlytics, our app builds and runs locally without issue.

However, when submitting a build of our app to TestFlight, it fails with a bunch of errors like this:

[!] Error uploading ipa file: 
 [Application Loader Error Output]: ERROR: [ContentDelivery.Uploader] Asset validation failed (90530) Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'Debugwell.app/Frameworks/FBLPromises.framework' is ''. (ID: 1b8e5dde-450f-45ce-ad05-15cb9b448350)

Snippet from our Cartfile:

binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json"

Can you bump the deployment targets to 12.0?

My mistake, the issue is that MinimumOSVersion is empty somehow.

Actually there are multiple issues, see https://github.com/firebase/firebase-ios-sdk/issues/12106#issuecomment-1813000452

  • Invalid MinimumOSVersion
  • The Info.plist file is missing the required key: CFBundleShortVersionString
  • Foo.framework does not support the minimum OS Version specified in the Info.plist

Reproducing the issue

No response

Firebase SDK Version

10.17.0

Xcode Version

15

Installation Method

Carthage

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project’s Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project’s Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

Hi @ncooke3, This comment works. Thanks.

Yes! That’s correct. Thanks @ncooke3