IOS Build getting failed


#1

I am creating the Android and iOS build in Pro. But IOS build is getting failed.


#2

That can happen is there is a problem with your build artefacts.


#3

Previously it was getting created i am getting this isssue from last some builds


#4

That would indicate that the problem is related to changes that you have recently made.


#5

Running with gitlab-runner 10.2.0~beta.147.gbd1f3fcb (bd1f3fcb) on ip-10-2-50-102 (815cf240) Creating new VM… Running on Mac-9.local via ip-10-2-50-102… Cloning repository… Cloning into ‘builds/project-1’… Warning: Permanently added the ECDSA host key for IP address ‘34.213.44.74’ to the list of known hosts. Checking out ceac93ef as master… Skipping Git submodules setup $ fetch-updates || true Checking for build process updates… $ build-ios Setting up project pipeline… Running build process… ±-------------------------------------------±--------±---------------------------+ | Used plugins | ±-------------------------------------------±--------±---------------------------+ | Plugin | Version | Action | ±-------------------------------------------±--------±---------------------------+ | fastlane-plugin-update_project_codesigning | 0.2.0 | update_project_codesigning | ±-------------------------------------------±--------±---------------------------+ [07:13:49]: You require a gem, if this is a third party gem, please use fastlane_require 'securerandom' to ensure the gem is installed locally [07:13:49]: ------------------------------ [07:13:49]: — Step: default_platform — [07:13:49]: ------------------------------ [07:13:49]: Driving the lane ‘ios package_build’ :rocket: [07:13:49]: --------------------------- [07:13:49]: — Step: build_summary — [07:13:49]: --------------------------- ±--------------------±--------------------+ | Build Summary | ±--------------------±--------------------+ | Job ID | 5581134 | | macOS version | 10.13.2 | | Xcode version | Xcode 9.2 | | | Build version 9C40b | | Node.js version | v8.11.1 | | Cordova CLI version | 7.1.0 | | npm version | 5.6.0 | ±--------------------±--------------------+ [07:13:53]: -------------------------- [07:13:53]: — Step: download_www — [07:13:53]: -------------------------- [07:13:53]: Downloading cached www/ dir… [07:13:57]: Successfully downloaded www/ dir [07:13:57]: ----------------------------- [07:13:57]: — Step: create_keychain — [07:13:57]: ----------------------------- [07:13:57]: $ security list-keychains -d user [07:13:57]: ▸ “/Users/ionic/Library/Keychains/login.keychain-db” [07:13:57]: ---------------------------- [07:13:57]: — Step: download_certs — [07:13:57]: ---------------------------- ±------------------±---------------------------------------------------------+ | Installed Certificate | ±------------------±---------------------------------------------------------+ | User ID | G2N23EKGTH | | Common Name | iPhone Distribution: Interaction Versa Inc. (G2N23EKGTH) | | Organization Unit | G2N23EKGTH | | Organization | Interaction Versa Inc. | | Country | US | ±------------------±---------------------------------------------------------+ [07:13:58]: Installing provisioning profile… [07:13:59]: -------------------------------- [07:13:59]: — Step: import_certificate — [07:13:59]: -------------------------------- [07:13:59]: --------------------------------- [07:13:59]: — Step: npm install --quiet — [07:13:59]: --------------------------------- [07:13:59]: $ npm install --quiet [07:17:45]: ▸ npm WARN notice [SECURITY] stringstream has 1 moderate vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=stringstream&version=0.0.6 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info. [07:22:36]: ▸ npm ERR! cb() never called! [07:22:36]: ▸ npm ERR! This is an error with npm itself. Please report this error at: [07:22:36]: ▸ npm ERR! [07:22:36]: ▸ npm ERR! A complete log of this run can be found in: [07:22:36]: ▸ npm ERR! /Users/ionic/.npm/_logs/2018-05-26T07_22_36_754Z-debug.log [07:22:36]: ------------------------- [07:22:36]: — Step: upload_logs — [07:22:36]: ------------------------- [07:22:38]: --------------------------- [07:22:38]: — Step: shell command — [07:22:38]: --------------------------- [07:22:38]: ----------------------------- [07:22:38]: — Step: delete_keychain — [07:22:38]: ----------------------------- [07:22:38]: Exit status of command ‘npm install --quiet’ was 1 instead of 0. npm WARN notice [SECURITY] stringstream has 1 moderate vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=stringstream&version=0.0.6 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info. npm ERR! cb() never called! npm ERR! This is an error with npm itself. Please report this error at: npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ionic/.npm/_logs/2018-05-26T07_22_36_754Z-debug.log

±------------------------------------±-----------------------------------------------------------------+
| Lane Context |
±------------------------------------±-----------------------------------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios package_build |
| DOWNLOAD_CERTS_CODESIGNING_IDENTITY | iPhone Distribution: Interaction Versa Inc. (G2N23EKGTH) |
| DOWNLOAD_CERTS_TEAM_ID | G2N23EKGTH |
| DOWNLOAD_CERTS_PROJECT_NAME | Appi4 Spire |
| DOWNLOAD_CERTS_CERT_PATH | /Users/ionic/builds/project-1/cert_file.p12 |
| DOWNLOAD_CERTS_PROVISIONING_PATH | /Users/ionic/builds/project-1/provision_file.mobileprovision |
| SIGH_PROFILE_PATHS | ["/Users/ionic/builds/project-1/provision_file.mobileprovision"] |
±------------------------------------±-----------------------------------------------------------------+
[07:22:38]: Exit status of command ‘npm install --quiet’ was 1 instead of 0.
npm WARN notice [SECURITY] stringstream has 1 moderate vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=stringstream&version=0.0.6 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ionic/.npm/_logs/2018-05-26T07_22_36_754Z-debug.log

±-----±--------------------±------------+
| fastlane summary |
±-----±--------------------±------------+
| Step | Action | Time (in s) |
±-----±--------------------±------------+
| 1 | default_platform | 0 |
| 2 | build_summary | 4 |
| 3 | download_www | 4 |
| 4 | create_keychain | 0 |
| 5 | download_certs | 1 |
| 6 | import_certificate | 0 |
| :boom: | npm install --quiet | 517 |
| 8 | upload_logs | 1 |
| 9 | shell command | 0 |
| 10 | delete_keychain | 0 |
±-----±--------------------±------------+

[07:22:38]: fastlane finished with errors
[07:22:38]: Sending crash report…
[07:22:38]: The stack trace is sanitized so no personal information is sent.
[07:22:38]: To see what we are sending, look here: /Users/ionic/.fastlane/latest_crash.json
[07:22:38]: Learn more at https://github.com/fastlane/fastlane#crash-reporting
[07:22:38]: You can disable crash reporting by adding opt_out_crash_reporting at the top of your Fastfile

Looking for related GitHub issues on fastlane/fastlane…

:arrow_right:️ New Stuff
https://github.com/devi-Patsa/Learning_GIt/pull/1 [closed] 0 :speech_balloon:
11 Nov 2017

:arrow_right:️ Prototype version
https://github.com/SIROK-archive/growthanalytics-android/pull/1 [closed] 0 :speech_balloon:
23 Jan 2015

:arrow_right:️ Fix typo
https://github.com/crdroidandroid/android/pull/1 [closed] 0 :speech_balloon:
23 Jan 2015

and 5621310 more at: https://github.com/fastlane/fastlane/search?q=Exit%20status%20of%20command%20’npm%20install%20--quiet’%20was%201%20instead%20of%200.%0Anpm%20WARN%20notice%20[SECURITY]%20stringstream%20has%201%20moderate%20vulnerability.%20Go%20here%20for%20more%20details:%20https://nodesecurity.io/advisories?search=stringstream&version=0.0.6%20-%20Run%20%60npm%20i%20npm@latest%20-g%60%20to%20upgrade%20your%20npm%20version,%20and%20then%20%60npm%20audit%60%20to%20get%20more%20info.%0Anpm%20ERR!%20cb()%20never%20called!%0A%0Anpm%20ERR!%20This%20is%20an%20error%20with%20npm%20itself.%20Please%20report%20this%20error%20at:%0Anpm%20ERR!%20%20%20%20%20%3Chttps://github.com/npm/npm/issues%3E%0A%0Anpm%20ERR!%20A%20complete%20log%20of%20this%20run%20can%20be%20found%20in:%0Anpm%20ERR!%20%20%20%20%20/Users/ionic/.npm/_logs/2018-05-26T07_22_36_754Z-debug.log%0A&type=Issues&utf8=✓

:link: You can ⌘ + double-click on links to open them directly in your browser.
\e[91mFailed to upload ipa to storage please retry your build.\e[0m
MAC Iteration 1
MAC verified OK
PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048
Certificate bag
PKCS7 Data
Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
/Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane_core/lib/fastlane_core/ui/interface.rb:145:in shell_error!': [!] Exit status of command 'npm install --quiet' was 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError) npm WARN notice [SECURITY] stringstream has 1 moderate vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=stringstream&version=0.0.6 - Runnpm i npm@latest -gto upgrade your npm version, and thennpm audit` to get more info.
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ionic/.npm/_logs/2018-05-26T07_22_36_754Z-debug.log

from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane_core/lib/fastlane_core/ui/ui.rb:16:in `method_missing'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/helper/sh_helper.rb:80:in `sh_control_output'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/helper/sh_helper.rb:16:in `sh_no_action'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/fast_file.rb:186:in `block in sh'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/fast_file.rb:185:in `sh'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/fast_file.rb:180:in `sh'
from Fastfile:27:in `block (2 levels) in parsing_binding'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/lane.rb:33:in `call'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/lane.rb:33:in `call'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/command_line_handler.rb:34:in `handle'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/commands_generator.rb:107:in `block (2 levels) in run'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in `call'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in `run'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in `run_active_command'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:75:in `run!'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in `run!'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/commands_generator.rb:336:in `run'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/fastlane/lib/fastlane/cli_tools_distributor.rb:94:in `take_off'
from /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/bin/fastlane:20:in `'
from /Users/ionic/.fastlane/bin/bundle/bin/fastlane:22:in `load'
from /Users/ionic/.fastlane/bin/bundle/bin/fastlane:22:in `


Running after script…
$ clean-up
Cleaning up files…
Successful clean up
ERROR: Job failed: Process exited with: 1. Reason was: ()

type or paste code here

#6

I have posted my log return from dashbaord


#7

I have the exact same problem. All my iOS builds fails (also previously working packages).

[06:58:10]: $ npm install --quiet
[07:02:13]: ▸ npm ERR! cb() never called!
[07:02:13]: ▸ npm ERR! This is an error with npm itself. Please report this error at:
[07:02:13]: ▸ npm ERR!     
[07:02:13]: ▸ npm ERR! A complete log of this run can be found in:
[07:02:13]: ▸ npm ERR!     /Users/ionic/.npm/_logs/2018-05-28T07_02_13_076Z-debug.log

#8

Same here on ionic pro package, build iOS…


#9

It seems to be a cache related problem. https://stackoverflow.com/questions/15393821/npm-err-cb-never-called

But I don’t know how we can clear npm cache in ionic pro package which is completely manage by ionic.

We can contact the support https://ionic.zendesk.com/hc/en-us/requests/new


#10

Me too - same problem.


#11

I post a request to support and they have fixed iOS build! Works for me now!