Compiling Error

ld: warning: ignoring file /Users/AaronBatchelder/Desktop/TabataBand/Test1/Test1/MetaWear.framework/MetaWear, missing required architecture i386 in file /Users/AaronBatchelder/Desktop/TabataBand/Test1/Test1/MetaWear.framework/MetaWear (3 slices)

Undefined symbols for architecture i386:


  "_OBJC_CLASS_$_MBLMetaWearManager", referenced from:

      objc-class-ref in ViewController.o

ld: symbol(s) not found for architecture i386


clang: error: linker command failed with exit code 1 (use -v to see invocation)


I have no idea why, because yesterday everything was working great, though today I can't compile and keep receiving the above error message. Does anyone know how to fix this?



Comments

  • Are you compiling for your iPhone or for the simulator? Can you check this first?
    Also you can try restarting Xcode and plugging your iPhone back in to your machine to make sure it is properly detected.

    Let me know how it goes.
  • Thanks for getting back to me. I made the mistake of trying to run it on the simulator multiple times not thinking. I was doing this at around 3:00am and the previous night and it hit me about a day later that it can only be run on the phone. Anyway, thanks for the help! 
  • No problem aaronmb7!
This discussion has been closed.