Nest API API Errors

I am using the Nest Developer API https://developer.nest.com/ to create an iOS application. Does anyone know how to associate a Firebase infrastructure with my application? I keep getting binding 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) 
+7
nest-api
source share
1 answer

Have you checked the build phase of Link Binary With Libraries in Xcode? Make sure Firebase.framework added there. Here's how to add it:

  • In the project editor, select the target to which you want to add libraries or structures.

  • Click Build Phases at the top of the project editor.

  • Open the Link Binaries to Libraries section.

  • Click the Add (+) button to add a library or framework.

  • Click the "Add another" button below the list.

  • Find Firebase.framework where you downloaded and unpacked it.

+5
source share

All Articles