Firebase-ios-sdk: Missing frameworks after update from 5.4.0 to 5.6.0

Created on 16 Aug 2018  路  4Comments  路  Source: firebase/firebase-ios-sdk

  • Xcode version: 9.4.1
  • Firebase SDK version: 5.6.0 (updated from 5.4.0)
  • Firebase Component: Messaging
  • Component version:

Missing FirebaseNanoPB and GoogleToolboxForMac, and I'm unable to build the project without those. Everything worked great before updating to 5.6.0

Steps to reproduce:

Simply update dependencies using Carthage.

Carthage

Most helpful comment

In addition to deleting frameworks that no longer exist, the following new frameworks will always need to be added to the Xcode project:

  • GoogleUtilities.framework
  • GoogleAppMeasurement.framework
  • MeasurementNanoPB.framework

All 4 comments

@josemssilva Thanks for the report.

Firebase 5.5.0 reorganized and renamed some of the underlying frameworks. For example, FirebaseNanoPB is now MeasurementNanoPB and GoogleToolboxForMac was replaced by GoogleUtilities for some dependencies.

There are two approaches:

  1. Remove the no longer used frameworks from the Xcode project and copy the new ones in.
  2. Remove all Firebase frameworks and copy everything from Carthage/Build/iOS.

In addition to deleting frameworks that no longer exist, the following new frameworks will always need to be added to the Xcode project:

  • GoogleUtilities.framework
  • GoogleAppMeasurement.framework
  • MeasurementNanoPB.framework

@paulb777 Hello!
When I ran "sudo carthage update --platform iOS"
I get this message:
error: unable to open '*/Carthage/Build/iOS/Protobuf.framework/Protobuf': No such file or directory.
As I can see there is Protobuf.framework in Carthage/Build/iOS.
With 5.4.0 all the fine.

Was this page helpful?
0 / 5 - 0 ratings