title: cordova run with ios error .. Error code 65 for command: xcodebuild with args:
body: <p>This <strong>error occur only</strong> when I try to <code>cordova run ios --device</code></p>
  
  <p>Even after <code>cordova build ios</code> command executed, non error is reported.</p>
  
  <p>Whats I do wrong? And how to debug cordova projects on my iPhone (need this because need to test a Camera feature)</p>
  
  <pre><code>WITH CONFIGURATION Debug ===
  
  Check dependencies
  Code Sign error: No provisioning profiles found: No non–expired provisioning profiles were found.
  
  ** BUILD FAILED **
  
  
  The following build commands failed:
          Check dependencies
  (1 failure)
  Error code 65 for command: xcodebuild with args: -xcconfig,/Users/ridermansb/Projects/jdapp/platforms/ios/cordova/build-debug.xcconfig,-project,CorrijaMe.xcodeproj,ARCHS=armv7 armv7s arm64,-target,CorrijaMe,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=/Users/ridermansb/Projects/jdapp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/ridermansb/Projects/jdapp/platforms/ios/build/sharedpch
  ERROR running one or more of the platforms: Error: /Users/ridermansb/Projects/jdapp/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>