繁体   English   中英

iOS的离子构建失败

[英]Ionic build failed for iOS

我正在尝试为离子应用程序的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

一开始它给我一个谷歌地图错误和一个信号,然后我将其删除,然后它给了我这个错误

我只是想拥有要上传到Apple应用商店的iOS版本。 在过去的4天中,我一直坚持这一点,但没有找到任何可行的解决方案。

PS:我不是离子开发人员,我只需要上传此内容和应用即可。

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

暂无
暂无

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM