Ionic Pro: iOS build failed


#1

Hi everyone,

I have been trying to build my IOS app with ionic pro for days now, and i can’t find any solution. I did follow the instructions on that link: https://ionic.zendesk.com/hc/en-us/articles/115012555828-Ionic-Pro-Package-iOS-builds-failing-

First of all, my first test build failed because of the OneSignal Cordova plugin with that error :
Failed to install ‘onesignal-cordova-plugin’: undefined
Failed to restore plugin “onesignal-cordova-plugin” from config.xml. You might need to try adding it again. Error: CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/.

I tried the 2.2.0 version and the 2.1.0 nothing changed.

Next, i commented the line in the config.xml to check if the build really failed because of that plugin, and it did since the building process was going further but i had other errorS :
the first one :
02:41:40]: Exit status: 1
[02:41:40]: Your shell environment is not correctly configured
[02:41:40]: Instead of UTF-8 your shell uses US-ASCII
[02:41:40]: Please add the following to your ‘~/.bashrc’:
[02:41:40]:
[02:41:40]: export LANG=en_US.UTF-8
[02:41:40]: export LANGUAGE=en_US.UTF-8
[02:41:40]: export LC_ALL=en_US.UTF-8
[02:41:40]:
[02:41:40]: You’ll have to restart your shell session after updating the file.
[02:41:40]: If you are using zshell or another shell, make sure to edit the correct bash file.
[02:41:40]: For more information visit this stackoverflow answer:
[02:41:40]: https://stackoverflow.com/a/17031697/445598

then : [02:41:40]: invalid byte sequence in US-ASCII
and finally:
±-----±-----------------------±------------+
| fastlane summary |
±-----±-----------------------±------------+
| Step | Action | Time (in s) |
±-----±-----------------------±------------+
| 1 | default_platform | 0 |
| 2 | create_keychain | 0 |
| 3 | download_certs | 0 |
| 4 | import_certificate | 0 |
| 5 | update_project_codesi | 0 |
| | gning | |
| 6 | update_project_provis | 0 |
| | ioning | |
| 7 | shell command | 0 |
| :boom: | gym <-- red thing | 15 |
| 9 | shell command | 0 |
| 10 | delete_keychain | 0 |
±-----±-----------------------±------------+

[02:41:40]: fastlane finished with errors

Ionic Info :
@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:
cordova (Cordova CLI) : 6.5.0

local packages:
@ionic/app-scripts : 2.0.1
Cordova Platforms : android 6.1.2 ios 4.5.0
Ionic Framework : ionic-angular 3.5.0

System:
Node : v6.10.0
npm : 5.4.2
OS : Windows 7

Misc:
backend : pro

I already ask the ionic support and i’m waiting their answer but in the meantime if any of you have an idea.

Thank you


#2

Ionic Pro is a hosted and closed source service, so there is not much we, the community, can help you with, sorry. Check these:

You can - and should - contact support at http://ionicframework.com/support#support


#3

I have the exact same error. I’m very interested if you find a solution !