【发布时间】:2018-07-31 08:16:49
【问题描述】:
运行ionic cordova build ios会导致如下错误:
Preparing Firebase on iOS
IOS project Code Sign Entitlements now set to: LifeBuddy/Resources/LifeBuddy.entitlements
Entitlements file is in reference section.
Error: ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do 'npm install -g ios-deploy'
[ERROR] An error occurred while running cordova build ios (exit code 1).
运行建议的命令 npm install -g ios-deploy 时,我收到此错误:
The following build commands failed:
Check dependencies
Write auxiliary files
(2 failures)
npm ERR! code ELIFECYCLE
npm ERR! errno 65
npm ERR! ios-deploy@1.9.3 preinstall: `./src/scripts/check_reqs.js && xcodebuild`
npm ERR! Exit status 65
npm ERR!
npm ERR! Failed at the ios-deploy@1.9.3 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/dev-13/.npm/_logs/2018-07-31T08_07_03_860Z-debug.log
【问题讨论】:
-
您在哪台机器上构建您的应用程序? Mac 还是 Windows?
-
@CodeChanger 在 Mac 机器上
标签: ionic-framework ionic2 npm-install