title: Apple Mach O Linker Errors trying to build Unity App for the iPhone Simulator
body: <p>So I have this Unity App that I'm trying to test in the iOS Simulator. I selected the simulator sdk in Unity before building. I already have the android version of the app released in the play store.</p>
  
  <p>Anyway, I can't get it to build in Xcode. I keep getting these 3 build errors:</p>
  
  <pre><code>ld: warning: ignoring file /Users/myaccount/Desktop/untitled 
  folder/Libraries/libChartboost.a, missing required architecture i386 in file
   /Users/danmelamed/Desktop/untitled folder/Libraries/libChartboost.a (2 slices)
  ld: warning: ignoring file /Users/myaccount/Desktop/untitled 
  folder/Libraries/libSoomlaIOSStore.a, missing required architecture i386 in file 
  /Users/myaccount/Desktop/untitled folder/Libraries/libSoomlaIOSStore.a (2 slices)
  Undefined symbols for architecture i386:
    "_OBJC_CLASS_$_CBAnalytics", referenced from:
        objc-class-ref in ChartBoostBinding.o
    "_OBJC_CLASS_$_Chartboost", referenced from:
        objc-class-ref in ChartBoostBinding.o
        objc-class-ref in ChartBoostManager.o
  ld: symbol(s) not found for architecture i386
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  
    "_OBJC_CLASS_$_CBAnalytics", referenced from:
  
        objc-class-ref in ChartBoostBinding.o
  
    "_OBJC_CLASS_$_Chartboost", referenced from:
  
        objc-class-ref in ChartBoostBinding.o
  
        objc-class-ref in ChartBoostManager.o
  
  ld: symbol(s) not found for architecture i386
  </code></pre>
  
  <p>How would I get chartboost to run in the simulator architecture? or if not, how can I disable chartboost so that I could test my app without it? I don't own any iOS devices. So I can only test on simulator. </p>
  
  <p>I also tried to get the regular sdk build in Unity running in Xcode and I got different errors that I would need to deal with as well. I got 12 errors of Apple Mach O Linkers:</p>
  
  <pre><code>Undefined symbols for architecture armv7:
    "_iosLogin", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosLogout", referenced from:
       RegisterMonoModules() in RegisterMonoModules.o
    "_iosInit", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosSetShareDialogMode", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFeedRequest", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosAppRequest", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFBSettingsPublishInstall", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFBAppEventsSetLimitEventUsage", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosGetDeepLink", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFBAppEventsLogPurchase", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
    "_iosFBAppEventsLogEvent", referenced from:
        RegisterMonoModules() in RegisterMonoModules.o
  ld: symbol(s) not found for architecture armv7
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>What could it be?</p>