如何修复“ cordova build ios错误代码70”

时间:2019-02-08 15:25:55

标签: ios xcode cordova build

cordova build ios 生成以下错误

尝试过:

cordova平台删除ios

cordova平台添加ios

科尔多瓦准备ios :给我同样的错误

科尔多瓦插件:

cordova-plugin-device 2.0.2“设备”

cordova-plugin-firebase 2.0.5“ Google Firebase插件”

cordova-plugin-whitelist 1.3.3“白名单”

cordova-support-google-services 1.1.0“ cordova-support-google-services”

phonegap-plugin-multidex 1.0.0“ Multidex”

phonegap-plugin-push 1.9.1“ PushPlugin”

cordova版本::8.1.2(cordova-lib@8.1.1)

Xcode版本: 9.1(9B55)

CordovaError: Promise rejected with non-error: 'Error code 70 for command: xcodebuild with args: -xcconfig,/Users/seblon/ssdalarm/platforms/ios/cordova/build-debug.xcconfig,-workspace,SSD-Alarm.xcworkspace,-scheme,SSD-Alarm,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/seblon/ssdalarm/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/seblon/ssdalarm/platforms/ios/build/sharedpch'
    at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15)
    at process._tickCallback (internal/process/next_tick.js:68:7)

有人可以帮助我吗?

1 个答案:

答案 0 :(得分:0)

由我自己找到解决方案:

cordova build ios --device