I have uploaded and linked my Ionic v1 project to my Dashboard account. Deploy build was OK on uploading.
However, cannot get it to package for iOS or Android.
For iOS, errors are:
…
Running command: /Users/ionic/builds/project-0/hooks/after_prepare/010_add_platform_class.js /Users/ionic/builds/project-0
Error: spawn EACCES
±-----±-----------------------------------±------------+
| fastlane summary |
±-----±-----------------------------------±------------+
| Step | Action | Time (in s) |
±-----±-----------------------------------±------------+
| 1 | default_platform | 0 |
| 2 | build_summary | 5 |
| 3 | create_keychain | 0 |
| 4 | download_certs | 1 |
| 5 | import_certificate | 0 |
| 6 | build_pro_app | 13 |
| | cordova platform add ios --nofetch | 8 |
| 8 | upload_logs | 2 |
| 9 | shell command | 0 |
| 10 | delete_keychain | 0 |
±-----±-----------------------------------±------------+
[08:04:54]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane…
/Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane_core/lib/fastlane_core/ui/interface.rb:143:in `shell_error!’: [!] Exit status of command ‘cordova platform add ios --nofetch’ was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
Adding ios project…
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package: com.XXXXX.XXXXX
Name: XXXXXX
iOS project created with cordova-ios@4.5.4
Discovered plugin “cordova-plugin-whitelist” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-whitelist@^1.3.3” via npm
Installing “cordova-plugin-whitelist” for ios
Adding cordova-plugin-whitelist to package.json
Saved plugin info for “cordova-plugin-whitelist” to config.xml
Discovered plugin “cordova-plugin-device” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-device@^2.0.2” via npm
Installing “cordova-plugin-device” for ios
Adding cordova-plugin-device to package.json
Saved plugin info for “cordova-plugin-device” to config.xml
Discovered plugin “cordova-plugin-splashscreen” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-splashscreen@^5.0.2” via npm
Installing “cordova-plugin-splashscreen” for ios
Adding cordova-plugin-splashscreen to package.json
Saved plugin info for “cordova-plugin-splashscreen” to config.xml
Discovered plugin “cordova-plugin-ionic-webview” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-ionic-webview@^1.1.19” via npm
Installing “cordova-plugin-ionic-webview” for ios
Adding cordova-plugin-ionic-webview to package.json
Saved plugin info for “cordova-plugin-ionic-webview” to config.xml
Discovered plugin “cordova-plugin-ionic-keyboard” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-ionic-keyboard@^2.0.5” via npm
Installing “cordova-plugin-ionic-keyboard” for ios
Adding cordova-plugin-ionic-keyboard to package.json
Saved plugin info for “cordova-plugin-ionic-keyboard” to config.xml
Discovered plugin “cordova-plugin-network-information” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-network-information@^2.0.1” via npm
Installing “cordova-plugin-network-information” for ios
Adding cordova-plugin-network-information to package.json
Saved plugin info for “cordova-plugin-network-information” to config.xml
Discovered plugin “cordova-plugin-datepicker” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-datepicker@^0.9.3” via npm
Installing “cordova-plugin-datepicker” for ios
Adding cordova-plugin-datepicker to package.json
Saved plugin info for “cordova-plugin-datepicker” to config.xml
Discovered plugin “cordova-plugin-call-number” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-call-number@^1.0.1” via npm
Installing “cordova-plugin-call-number” for ios
Adding cordova-plugin-call-number to package.json
Saved plugin info for “cordova-plugin-call-number” to config.xml
Discovered plugin “cordova-plugin-file” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-file@^6.0.1” via npm
Installing “cordova-plugin-file” for ios
Adding cordova-plugin-file to package.json
Saved plugin info for “cordova-plugin-file” to config.xml
Discovered plugin “cordova-plugin-file-opener2” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-file-opener2@^2.0.19” via npm
Installing “cordova-plugin-file-opener2” for ios
Adding cordova-plugin-file-opener2 to package.json
Saved plugin info for “cordova-plugin-file-opener2” to config.xml
Discovered plugin “cordova-plugin-sms” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-sms@^1.0.5” via npm
Installing “cordova-plugin-sms” for ios
Adding cordova-plugin-sms to package.json
Saved plugin info for “cordova-plugin-sms” to config.xml
Discovered plugin “cordova-plugin-geolocation” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-geolocation@^4.0.1” via npm
Installing “cordova-plugin-geolocation” for ios
Adding cordova-plugin-geolocation to package.json
Saved plugin info for “cordova-plugin-geolocation” to config.xml
Discovered plugin “cordova-plugin-advanced-geolocation” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-advanced-geolocation@^1.6.2” via npm
Installing “cordova-plugin-advanced-geolocation” for ios
Adding cordova-plugin-advanced-geolocation to package.json
Saved plugin info for “cordova-plugin-advanced-geolocation” to config.xml
Discovered plugin “cordova-plugin-nativegeocoder” in config.xml. Adding it to the project
Fetching plugin “cordova-plugin-nativegeocoder@^3.1.1” via npm
Installing “cordova-plugin-nativegeocoder” for ios
Fetching plugin “cordova-plugin-add-swift-support@1.7.1” via npm
Installing “cordova-plugin-add-swift-support” for ios
Adding cordova-plugin-nativegeocoder to package.json
Saved plugin info for “cordova-plugin-nativegeocoder” to config.xml
Running command: /Users/ionic/builds/project-0/hooks/after_prepare/010_add_platform_class.js /Users/ionic/builds/project-0
Error: spawn EACCES
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane_core/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/helper/sh_helper.rb:56:in `sh_control_output'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/helper/sh_helper.rb:14:in `sh_no_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/fast_file.rb:177:in `block in sh'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/fast_file.rb:176:in `sh'
from Fastfile:27:in `block (2 levels) in parsing_binding'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/lane.rb:33:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/lane.rb:33:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/commands_generator.rb:104:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:64:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/commands_generator.rb:303:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in `take_off'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/bin/fastlane:20:in `'
from /usr/local/bin/fastlane:23:in `load'
from /usr/local/bin/fastlane:23:in `
’
\e[91mFailed to upload ipa to storage please retry your build.\e[0m
Android has similar issues, Seems to be a permissions issue somewhere but I don’t have access to the build environment so can’t tell. Anyone know how to resolve this ?