【发布时间】:2015-09-17 02:04:07
【问题描述】:
在我将 xcode 更新到最新版本(支持 iOS9)之前,该项目能够构建和运行。
现在我在cordova build ios --verbose 上收到以下信息:
Error code 65 for command: xcodebuild with args: -
xcconfig,/Users/lunchbag/ProjectName/mobile/platforms/ios/cordova/build-debug.xcconfig,-project,ProjectName.xcodeproj,ARCHS=i386,-target,ProjectName,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/lunchbag/ProjectName/mobile/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/lunchbag/ProjectName/mobile/platforms/ios/build/sharedpch
Command finished with error code 2: /Users/lunchbag/ProjectName/mobile/platforms/ios/cordova/build
ERROR building one of the platforms: Error: /Users/lunchbag/ProjectName/mobile/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: /Users/lunchbag/ProjectName/mobile/platforms/ios/cordova/build: Command failed with exit code 2
at ChildProcess.whenDone (/Users/lunchbag/.node/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
我已尝试清理项目并删除并重新添加 ios 平台。有任何想法吗?
【问题讨论】:
标签: cordova ionic phonegap-build