Closed adolby closed 6 years ago
Hi,
Could you please confirm you are following these steps (also listed in the readme file):
You should then be able to compile and run the Firebase Analytics C++ testapp. Please reply and let me know if this works or if you continue to have issues.
Thanks!
Jon
Thank you for your help, Jon.
Using firebase.framework and firebase_analytics.framework allowed me to successfully build the quickstart analytics example.
I was trying to link against the static libraries in firebase_cpp_sdk/libs/ios/universal instead of the frameworks in firebase_cpp_sdk/frameworks/ios/universal.
The pod previously had the dependencies to link in this way, but now I can only find these in the Firebase-4.0.4.zip from https://firebase.google.com/download/ios.
I'll report back the results of trying to link the project I'm working on with the frameworks in firebase_cpp_sdk/frameworks/ios/universal.
I'll close this issue for now since your problem is resolved, but if you have any issues linking the universal frameworks in your own project, please feel free to re-open it.
Operating system: iOS Operating system version: 10.3
What steps will reproduce the problem:
What is the expected result? A successful build.
What happens instead of that?
Receiving these link errors from Xcode:
directory not found for option '-L/Users/andrew/Library/Developer/Xcode/DerivedData/testapp-hgkipipkgriqnvgtfxrgsayxbsga/Build/Products/Debug-iphoneos/GoogleToolboxForMac'
ld: library not found for -lGoogleToolboxForMac
In the Firebase iOS download zip, a framework for GoogleToolboxForMac is present in the Analytics folder. However, the CocoaPods subproject does not include this framework. This also seems to be the case for FirebaseNanoPb.framework, nanopb.framework, and Protobuf.framework for the Messaging and Remote config modules.