I'm using the Nest Developer https://developer.nest.com/ API to create an iOS app. Does anyone know how to link the Firebase framework into my app? I keep getting linking errors:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FTransactionResult", referenced from:
objc-class-ref in NestThermostatManager.o
"_OBJC_CLASS_$_Firebase", referenced from:
objc-class-ref in NestThermostatManager.o
objc-class-ref in NestStructureManager.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Have you checked the 'Link Binary With Libraries' build phase in Xcode? Make sure the Firebase.framework
is added there. Here's how to add it:
In the project editor, select the target to which you want to add a library or framework.
Click Build Phases at the top of the project editor.
Open the Link Binary With Libraries section.
Click the Add button (+) to add a library or framework.
Click the "Add Other" button below the list.
Search for Firebase.framework
where you downloaded and unzipped it.