firebase-ios-sdk: Firebase iOS 6.16.0 manual linking missing symbol
[REQUIRED] Step 1: Describe your environment
- Xcode version: 11.3.1
- Firebase SDK version: 6.16.0
- Firebase Component: Analytics
- Installation method:Zip file
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
-
Manually install firebase from the zip.
-
Build it.
Output:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FIRHeartbeatInfo", referenced from:
objc-class-ref in FirebaseInstallations(FIRInstallationsAPIService.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 18 (5 by maintainers)
@nidegen Could you please double check that you have
FirebaseCore.frameworkversion from 6.16.0 in your project?FIRHeartbeatInfois a relatively new class but it was introduced inFirebaseCorebefore 6.14.0. The class was not used by Analytics or its dependencies before 6.15.0, that can explain why you don’t have the issue on 6.14.0.yep tried at 6.17 and it works fine. Didn’t investigate what was the
missing linkyep, my repro case does fork after 4819 fix (while also linking to sqlite3). I’ll doublecheck on the heartbeatinfo
oh, sorry I had assumed it was already public. done.