title: ionic app build fails with error 'linker command failed with exit code 1 (use -v to see invocation)'
body: <p>When attempting to build using <code>ionic run ios -lc</code> I am seeing the following error in terminal:</p>
  
  <pre><code>** BUILD FAILED **
  
  
  The following build commands failed:
      Ld build/emulator/xXxXxXx.app/xXxXxXx normal i386
  (1 failure)
  Error code 65 for command: xcodebuild with args: -xcconfig,/Users/xXxXxXx/Projects/xXxXxXx/platforms/ios/cordova/build-debug.xcconfig,-project,xXxXxXx.xcodeproj,ARCHS=i386,-target,xXxXxXx,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/xXxXxXx/Projects/xXxXxXx/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/xXxXxXx/Projects/xXxXxXx/platforms/ios/build/sharedpch
  Error: /Users/xXxXxXx/Projects/xXxXxXx/platforms/ios/cordova/run: Command failed with exit code 2
      at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
      at ChildProcess.emit (events.js:110:17)
      at maybeClose (child_process.js:1015:16)
      at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
  </code></pre>
  
  <p>When attempting to build the same app in xCode I am seeing the error <code>linker command failed with exit code 1 (use -v to see invocation)</code></p>
  
  <ul>
  <li>I've removed and added the ios platform</li>
  <li>I've updated ios-deploy</li>
  <li>I've updated ios-sim</li>
  <li>I've restarted Xcode</li>
  <li>I've restarted my machine Xcode is up to date</li>
  <li>I can build other projects successfully</li>
  </ul>