iOS的离子构建失败

iOS的离子构建失败,ios,cordova,ionic-framework,ionic3,Ios,Cordova,Ionic Framework,Ionic3,我正在尝试为ionic应用程序的iOS进行构建,但当我添加平台时,会出现以下错误: ionic cordova platform add ios > cordova platform add ios --save Using cordova-fetch for cordova-ios@~4.5.4 Adding ios project... Creating Cordova project for the iOS platform: Path: platforms/ios

我正在尝试为ionic应用程序的iOS进行构建,但当我添加平台时,会出现以下错误:

ionic cordova platform add ios
> cordova platform add ios --save
Using cordova-fetch for cordova-ios@~4.5.4
Adding ios project...
Creating Cordova project for the iOS platform:
    Path: platforms/ios
    Package: io.enigmatex.lapulga
    Name: Lapulga
iOS project created with cordova-ios@4.5.5
Installing "cordova-plugin-actionsheet" for ios
Installing "cordova-plugin-add-swift-support" for ios
Installing "cordova-plugin-device" for ios
Installing "cordova-plugin-dialogs" for ios
Installing "cordova-plugin-facebook4" for ios
Installing "cordova-plugin-ionic-webview" for ios
Installing "cordova-plugin-nativegeocoder" for ios
Plugin dependency "cordova-plugin-add-swift-support@1.7.1" already fetched, using that version.
Dependent plugin "cordova-plugin-add-swift-support" already installed on ios.
Installing "cordova-plugin-network-information" for ios
Installing "cordova-plugin-splashscreen" for ios
Installing "cordova-plugin-statusbar" for ios
Installing "cordova-plugin-telerik-imagepicker" for ios
Installing "cordova-plugin-uniquedeviceid" for ios
Installing "cordova-plugin-whitelist" for ios
Installing "cordova-sms-plugin" for ios
Installing "ionic-plugin-keyboard" for ios
Installing "mx.ferreyra.callnumber" for ios
Installing "uk.co.workingedge.phonegap.plugin.launchnavigator" for ios
Plugin dependency "cordova-plugin-actionsheet@2.3.3" already fetched, using that version.
Dependent plugin "cordova-plugin-actionsheet" already installed on ios.
Plugin dependency "cordova-plugin-dialogs@2.0.1" already fetched, using that version.
Dependent plugin "cordova-plugin-dialogs" already installed on ios.
Discovered plugin "call-number" in config.xml. Adding it to the project
Plugin "mx.ferreyra.callnumber" already installed on android.
Plugin "mx.ferreyra.callnumber" already installed on ios.
Adding mx.ferreyra.callnumber to package.json
Saved plugin info for "mx.ferreyra.callnumber" to config.xml
--save flag or autosave detected
Saving ios@~4.5.5 into config.xml file ...
Error: Command failed: /Data/Other Projects/Updated Project/lapulga/platforms/android/cordova/version
/bin/sh: /Data/Other: No such file or directory

    at ChildProcess.exithandler (child_process.js:288:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:962:16)
    at Socket.stream.socket.on (internal/child_process.js:381:11)
    at Socket.emit (events.js:182:13)
    at Pipe._handle.close (net.js:599:12)
[ERROR] An error occurred while running subprocess cordova.

        cordova platform add ios --save exited with exit code 1.

        Re-running this command with the --verbose flag may provide more 
        information.

系统信息:

Ionic:

   ionic (Ionic CLI)  : 4.6.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.0

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 7.1.1, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-webview 2.2.5, (and 13 other plugins)

System:

   NodeJS : v10.8.0 (/usr/local/bin/node)
   npm    : 6.5.0
   OS     : macOS Mojave
   Xcode  : Xcode 9.4.1 Build version 9F2000
在开始的时候,它给了我一个谷歌地图的错误和一个信号,然后我删除它们,然后它给了我这个错误

我只想把iOS版本上传到苹果应用商店。在过去的4天里,我一直在做这件事,没有找到任何可行的解决办法


附言:我不是爱奥尼亚开发者,我只需要上传这个和应用程序。

看起来它的路径空间有问题。我会将项目移动到路径中没有空格的目录中,然后重试

谢谢,这很有效!!现在请告诉我如何再次添加谷歌地图和onesignal,我尝试了以下内容,但它给了我错误:cordova插件添加谷歌地图找不到插件“谷歌地图”的plugin.xml。请尝试再次添加。如果成功,您应该接受答案以帮助他人,并且您不应该在评论中提问,但是,您可能缺少谷歌地图插件的API密钥和密码。有关详细信息,请参见github页面: