firebase-ios-sdk: Firebase with Carthage compilation fails in Xcode 10 / Latest Firebase (framework not found MeasurementNanoPB)

[REQUIRED] Step 2: Describe your environment

  • Xcode version: 10.0 (10A255)
  • Firebase SDK version: Should be 5.9.0 / It Downloads 5.8.0. See log at the bottom

[REQUIRED] Step 3: Describe the problem

Integrating Firebase with Carthage, following instructions from https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.md leads to a compiler error in XCode.

framework not found MeasurementNanoPB

Steps to reproduce:

My Cartfile

binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDynamicLinksBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionFaceModelBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.json"

Installed with this command:

carthage update --platform iOS

Also tried again cleaning Carthage cache with:

rm -rf ~/Library/Caches/org.carthage.CarthageKit

Same issue.

Relevant Code (Console Output):

*** Downloading binary-only framework FirebaseDynamicLinksBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDynamicLinksBinary.json"
*** Downloading binary-only framework FirebaseAnalyticsBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
*** Downloading binary-only framework FirebaseMLVisionFaceModelBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionFaceModelBinary.json"
*** Downloading binary-only framework FirebaseStorageBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.json"
*** Downloading binary-only framework FirebaseMLVisionBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionBinary.json"
*** xcodebuild output can be found in /var/folders/s0/4896qlp11bz9xflhhd1bcd3h0000gn/T/carthage-xcodebuild.V2JyMI.log
*** Downloading binary-only framework FirebaseAnalyticsBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
*** Downloading FirebaseAnalyticsBinary.framework binary at "5.8.0"
*** Downloading binary-only framework FirebaseDynamicLinksBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDynamicLinksBinary.json"
*** Downloading FirebaseDynamicLinksBinary.framework binary at "5.8.0"
*** Downloading binary-only framework FirebaseMLVisionBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionBinary.json"
*** Downloading FirebaseMLVisionBinary.framework binary at "5.8.0"
*** Downloading binary-only framework FirebaseMLVisionFaceModelBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionFaceModelBinary.json"
*** Downloading FirebaseMLVisionFaceModelBinary.framework binary at "5.8.0"
*** Downloading binary-only framework FirebasePerformanceBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json"
*** Downloading FirebasePerformanceBinary.framework binary at "5.8.0"
*** Downloading binary-only framework FirebaseStorageBinary at "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.json"
*** Downloading FirebaseStorageBinary.framework binary at "5.8.0"

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (6 by maintainers)

Most upvoted comments

I see,

  1. Please add official support for Carthage
  2. Sync it with 5.9.0

For now, and as a workaround, I can live copying the nanopb.framework from the 5.9.0

Thanks

Same problem here! Need new version of framework very urgent! Please!

@leedsalex There was a glitch in the update script and FirebasePerformanceBinary.json didn’t properly update with 5.10.0. I just fixed it.

Sorry about the miss and thanks for the report!

5.10.0 is now available via Carthage.

I’m planning to work on a Carthage 5.10.0 update today.

same problem …

Same problem! 😦

same problem

Same problem! 😦

and me( Fix it please!

Same problem