title: Cordova project running on Android and on iPad, but not on iPhone
body: <p>I have a Cordova project, that I can run on my Android phone using <code>ionic run android --device</code> and on my iPad using <code>ionic run ios --device</code>. However, now I connect my iPhone 5, and run the last command again, but get the following error message.</p>
  
  <pre><code>...
  [ 60%] TakingInstallLock
  [ 65%] PreflightingApplication
  [ 65%] InstallingEmbeddedProfile
  [ 70%] VerifyingApplication
  2015-06-24 17:58:48.564 ios-deploy[33436:1048931] [ !! ] Error 0xe8008015: ∑~}ˇ AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
  Error code 253 for command: ios-deploy with args: -d,-b,/path/to/project/App/platforms/ios/build/device/project_name.app
  ERROR running one or more of the platforms: Error: /path/to/project/platforms/ios/cordova/run: Command failed with exit code 2
  You may not have the required environment or OS to run this project
  </code></pre>
  
  <p>Online (also on SO) I find many users facing this issue with an Android device, and then they need to install the Android APK. I also read <a href="http://www.devworkflows.com/posts/you-may-not-have-the-required-environment-or-os-to-run-this-project/" rel="nofollow">here</a> that I have to run the following command first: <code>sudo npm install -g ios-deploy</code>, which I did. It did not help though. </p>
  
  <p>I am using version 5.0.0, and I read <a href="http://www.devworkflows.com/posts/you-may-not-have-the-required-environment-or-os-to-run-this-project/" rel="nofollow">here</a> that I have to downgrade to version 4.3.0. I find this hard to believe though. Is there another cause for this error? How can I check for it, and how can I solve it?</p>