我已经安装了FirebaseX插件,从那时起,我无法编译我的项目。它一直崩溃。 如果我删除该插件,则可以完美编译。
我一直关注着Ionic网站上的文档,却一无所获。请帮助
> cordova run ios
[cordova] ** BUILD FAILED **
[cordova]
[cordova]
[cordova] The following build commands failed:
[cordova] PhaseScriptExecution [CP]\ Copy\ Pods\ Resources /Users/wd/Library/Developer/Xcode/DerivedData/myApp-gftvmmnfqwbuwvcufrjakxcubeym/Build/Intermediates.noindex/myApp.build/Debug-iphonesimulator/myApp.build/Script-0B21D8ADE62B0FDBDC4B0B25.sh
[cordova] (1 failure)
[cordova] xcodebuild: Command failed with exit code 65
[ERROR] An error occurred while running subprocess cordova.
cordova run ios exited with exit code 65.
Re-running this command with the --verbose flag may provide more information.
这是我的离子信息:
Ionic:
Ionic CLI : 6.9.0 (/Users/wd/.nvm/versions/node/v12.11.1/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.1.0
@angular-devkit/build-angular : 0.803.26
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.2.0
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, browser 6.0.0, ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 17 other plugins)
Utility:
cordova-res (update available: 0.14.0) : 0.8.1
native-run (update available: 1.0.0) : 0.3.0
System:
ios-deploy : 1.10.0
ios-sim : 8.0.2
NodeJS : v12.11.1 (/Users/wd/.nvm/versions/node/v12.11.1/bin/node)
npm : 6.14.4
OS : macOS Catalina
Xcode : Xcode 11.4.1 Build version 11E503a
答案 0 :(得分:0)
很抱歉,您的回答很晚。因此,我遇到了同样的问题,解决方案是:
ionic cordova plugin rm cordova-plugin-firebasex && ionic cordova plugin add cordova-plugin-firebasex@latest-cli
在那之后做
ionic cordova prepare ios --confirm --no-build
最后尝试:
ionic cordova build ios
希望它可以帮助遇到此问题的任何人。