Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nest API iOS Errors

Tags:

nest-api

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)
like image 833
Art Gillespie Avatar asked Jun 24 '14 04:06

Art Gillespie


1 Answers

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:

  1. In the project editor, select the target to which you want to add a library or framework.

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

  3. Open the Link Binary With Libraries section.

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

  5. Click the "Add Other" button below the list.

  6. Search for Firebase.framework where you downloaded and unzipped it.

like image 63
Kousha Avatar answered Sep 28 '22 04:09

Kousha