简体   繁体   English

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

[英]How to fix “cordova build ios error code 70”

cordova build ios generates the error below cordova build ios生成以下错误

Tried: 尝试:

cordova platform remove ios 科尔多瓦平台删除iOS

cordova platform add ios 科尔多瓦平台添加ios

cordova prepare ios : Gives me same error 科尔多瓦准备iOS :给我同样的错误

Cordova-Plugins: 科尔多瓦-插件:

cordova-plugin-device 2.0.2 "Device" cordova-plugin-device 2.0.2“设备”

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

cordova-plugin-whitelist 1.3.3 "Whitelist" cordova-plugin-whitelist 1.3.3“白名单”

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

phonegap-plugin-multidex 1.0.0 "Multidex" phonegap-plugin-multidex 1.0.0“ Multidex”

phonegap-plugin-push 1.9.1 "PushPlugin" phonegap-plugin-push 1.9.1“ PushPlugin”

cordova version: 8.1.2 (cordova-lib@8.1.1) 科尔多瓦版本: 8.1.2(cordova-lib@8.1.1)

Xcode version: 9.1 (9B55) 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)

Can anyone help me? 谁能帮我?

Found solution by myself: 自己找到解决方案:

cordova build ios --device 科尔多瓦建立ios --device

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在 iOS 错误代码 70 上构建项目,如何解决? - Can't build project on iOS Error code 70, how to fix it? Cordova Phonegap“导出失败”错误代码70在构建ios时 - Cordova Phonegap “Export Failed” error code 70 While building ios 如何解决此错误:生成EACCES-离子Cordova构建iOS - How to fix this Error: spawn EACCES - ionic cordova build ios `cordova build ios`-抛出错误,如何解决? - `cordova build ios` - throw error, how to solve this? 在Cordova iOS软件包中找不到`OBJROOT =“ $ OBJROOT”`以尝试修复Build错误:xcodebuild:命令失败,退出代码为65 - Can't find `OBJROOT=“$OBJROOT”` in the Cordova iOS package to attempt to fix Build Error: xcodebuild: Command failed with exit code 65 Cordova 6.1.1 iOS构建失败,错误代码为65 - Cordova 6.1.1 iOS build fail with error code 65 在Cordova构建ios期间,代码签名错误未找到团队ID - Code Sign Error not finding team ID during Cordova build ios 如何修复 iOS 的 Opentok Cordova 插件中的发布者错误? - How to fix Publisher error in Opentok Cordova Plugin for iOS? 离子生成/运行ios失败,错误代码为65。如何解决? - Ionic build/run ios fails with error code 65. How to fix? 升级到 xcode 9 后,cordova 应用程序无法构建,错误 70,需要配置文件 - After upgrading to xcode 9, cordova app won't build, error 70, requires provisioning profile
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM