[Solved] exp build:ios failed (Error packaging up the application)

#1

Hi, i have an error with building app on iOS.
Why i try to build, after ± 1 min, there is an error:

stderr] /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/fastlane_core/lib/fastlane_core/ui/interface.rb:163:in `build_failure!': [!] Error packaging up the application (FastlaneCore::Interface::FastlaneBuildFailure)
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/gym/lib/gym/error_handler.rb:112:in `handle_package_error'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/gym/lib/gym/runner.rb:138:in `block in package_app'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/fastlane_core/lib/fastlane_core/command_executor.rb:93:in `execute'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/gym/lib/gym/runner.rb:134:in `package_app'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/gym/lib/gym/runner.rb:27:in `run'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/gym/lib/gym/manager.rb:19:in `work'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/gym/lib/gym/commands_generator.rb:44:in `block (2 levels) in run'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:74:in `run!'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/gym/lib/gym/commands_generator.rb:75:in `run'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/gym/lib/gym/commands_generator.rb:15:in `start'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/fastlane/lib/fastlane/cli_tools_distributor.rb:100:in `take_off'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.99.0/bin/fastlane:20:in `<top (required)>'
[stderr] 	from /usr/local/bin/fastlane:23:in `load'
[stderr] 	from /usr/local/bin/fastlane:23:in `<main>'
Error: Process exited with non-zero code: 1
    at ChildProcess.child.on (/usr/local/turtle-js/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

Can you help please

0 Likes

#2

Hey,
Could you please send us your build id? It would help to resolve the issue.

0 Likes

#3

Thanks for your quick answer
My id is : 2b3fb129-c5bb-4c5d-a544-64563b517c9f

0 Likes

#4

Hi,
Actually, the real error is above what you pasted:

Error Domain=IDECodesignResolverErrorDomain Code=3 “Signing certificate is invalid.” UserInfo={IDEProvisioningError_UserInfoKey_IDEProvisioningErrorAction=5, NSLocalizedRecoverySuggestion=Signing certificate “iPhone Distribution: ****", serial number "”, is not valid for code signing. It may have been revoked or expired.

Please check your certificate and ensure that it is valid.

1 Like

#5

Yep it’s true.
I used exp build:ios -c and generate an other certificate and it’s works.
Thank you !

1 Like

closed #7

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

0 Likes