ObjC Tutorial, Xcode: “ld: symbol(s) not found for architecture x86_64”

Hello!

I just received a project from my work to code for the MBients we have.

I wanted to view the ObjC tutorial first, so I loaded up Xcode and followed the appropriate steps for the ObjC Tutorial.

Upon completion, I was given Build Errors that I do not know how to solve.

The errors are as follows:
ld: warning: ignoring file /Users/mangerier/Downloads/Metawear-ObjCStarter-master/Pods/Metawear-iOSAPI/MetaWear.framework/MetaWear, missing required architecture x86_64 in file /Users/mangerier/Downloads/Metawear-ObjCStarter-master/Pods/Metawear-iOSAPI/MetaWear.framework/MetaWear (2 slices)
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_MBLMetaWearManager", referenced from:
      objc-class-ref in MainTableViewController.o
      objc-class-ref in ScanTableViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am not trying to run this code on a simulator, but rather an iPod.

Here are the specs of the iPod, the version of Xcode, and the OS info for my MacBook:
iPod: iOS 9.0.2, newest model iPod (MKH62LL/A)
Xcode: Version 7.1 (7B91b)
Mac: OS X 10.10.5 (14F1912) (Yosemite), MacBookPro11,5

Any assistance would be of great help!

Comments

  • mangerier,

    We have updated all our sample apps to use Xcode 8, so I'm not sure if they will correctly open up in Xcode 7 or not.  Also, we just released a new SDK which does actually support simulator and macOS builds, so maybe try upgrading to that:

    P.S.
    Just tried the project with Xcode 7.3.1 and it built fine, but recieved strange errors when trying to run on a device.  Will probally be best to start a new project from scratch if you need to stay on Xcode 7.

    Thanks!
This discussion has been closed.