1
我在離子3應用中添加了面料插件。它在android中工作,但對於iOS,它有一個問題。 當運行ionic build ios --prod
或ionic build ios
我收到以下錯誤:添加科爾多瓦面料插件後,iOS構建失敗
/Users/abc/Library/Developer/Xcode/DerivedData/MyApp-
fgpvbdhjneqliicfyhoiuvrrhbfs/Build/Intermediates/MyApp.build/Debug-
iphonesimulator/MyApp.build/Script-FE794D9BFDB14C30B9E39200.sh: line 2:
/Users/abc/Desktop/NS: No such file or directory
**構建失敗**
下面的構建命令失敗:
PhaseScriptExecution Fabric.io:\ Crashlytics
/Users/abc/Library/Developer/Xcode/DerivedData/MyApp-
fgpvbdhjneqliicfyhoiuvrrhbfs/Build/Intermediates/MyApp.build/Debug-
iphonesimulator/MyApp.build/Script-FE794D9BFDB14C30B9E39200.sh
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -
xcconfig,/Users/abc/Desktop/NS H iOS 2/platforms/ios/cordova/build-
debug.xcconfig,-workspace,MyApp.xcworkspace,-scheme,MyApp,-
configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
Simulator,name=iPhone
5s,build,CONFIGURATION_BUILD_DIR=/Users/abc/Desktop/NS H iOS
2/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/abc/Desktop/NS H
iOS 2/platforms/ios/build/sharedpch
離子信息:
Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: macOS Sierra
Node Version: v6.10.2
Xcode version: Xcode 8.3.1 Build version 8E1000a
請幫忙。
感謝您的回覆。我不想直接從xcode集成,因爲有時我需要刪除平臺iOS,所有更改都將消失,我需要再次執行操作。順便說一句我已經解決了這個問題。這是由於我的根項目文件夾名稱。它包含空格。我刪除了那些&現在工作正常。 –