I need your help. I am running ionic on OSX Yosemite 10.10.2 and after I installed ios-deploy and tried to run ionic run ios --device I got this error:
** BUILD FAILED **
The following build commands failed:
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/Chris/Documents/Projects/WOTMI/platforms/ios/cordova/build-debug.xcconfig,-project,wotemai.xcodeproj,ARCHS=armv7 armv7s arm64,-target,wotemai,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=/Users/Chris/Documents/Projects/WOTMI/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/Chris/Documents/Projects/WOTMI/platforms/ios/build/sharedpch
ERROR running one or more of the platforms: Error: /Users/Chris/Documents/Projects/WOTMI/platforms/ios/cordova/run: Command failed with exit code 2
You may not have the required environment or OS to run this project
Does anyone had such an error and managed to debug it?
I have basically reinstalled it all and still same error message.
I also have problem running ionic on the simulator. I have no such problems with the Android one. Completely out of ideas? The device I try to run the app to is an iPhone 6 -> A1549. Even tried the Windows solution: restarting the system :). Xcode version: 6.1.1. I am also trying to deploy on a non original cable, but as the emulator gives me the same error, I think it is not hardware related.
Did you do something to your device before you started deploying? Anything like enable them for dev or something? I am a frontend dev, so I haven’t looked that deep into the iphone’s specifics.