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:
** BUILD FAILED **
The following build commands failed:
CompileC build/LUXA+.build/Debug-iphonesimulator/LUXA+.build/Objects-normal/x86_64/AppDelegate.o LUXA+/Classes/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/LUXA+.build/Debug-iphonesimulator/LUXA+.build/Objects-normal/x86_64/MainViewController.o LUXA+/Classes/MainViewController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(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 apple.com and signed in into xcode.