When I try to execute ionic cordova run ios
or ionic cordova emulate ios
commands exit with the message:
Error: Error code 1 for command: xcodebuild with args: -xcconfig,/app-path/platforms/ios/cordova/build-debug.xcconfig,-project,MyApp.xcodeproj,ARCHS=i386,-target,MyApp,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/app-path/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/app-path/platforms/ios/build/sharedpch
[ERROR] An error occurred while running subprocess cordova.
Anyone can help me?
Thanks in advance.