Ionic ios build failed Error code 65 for command: xcodebuild with args: -xcconfig

I’m trying to build ios version of my app (I’m using MacinCloud)
When I run ionic build ios or ionic emulate ios, I get the following errors:


The following build commands failed:

	CompileC build/ LUXA+/Classes/AppDelegate.m normal x86_64 objective-c
	CompileC build/ LUXA+/Classes/MainViewController.m normal x86_64 objective-c
(2 failures)

Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/user126323/desktop/ios/myApp06/platforms/ios/cordova/build-debug.xcconfig,-project,LUXA+.xcodeproj,-target,LUXA+,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,build,CONFIGURATION_BUILD_DIR=/Users/user126323/desktop/ios/myApp06/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/user126323/desktop/ios/myApp06/platforms/ios/build/sharedpch

Running ionic info:

Your system information:

Cordova CLI: 6.3.1 
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
ios-deploy version: 1.9.1 
ios-sim version: 5.0.13 
OS: macOS Sierra
Node Version: v6.9.1
Xcode version: Xcode 8.3.1 Build version 8E1000a

NOTE: I have added all certificates in and signed in into xcode.

1 Like

Did you ever get this worked out?


No I didn’t. I forgot about building with xcode. I built my app with ionic package . It so easy. You can build your app for both development and production release. With production one, you can simply send .ipa file to the app store by Application Loader.