Critical/Fatal IOS build failure Jun 10


My React Native app built just fine on Androi and iOS only just a few days ago and built just fine again on Android this morning. However, the iOS app build is failing without enough diagnostic information:

Note that, when I finish a (successful) Android build, the iOS bundle builds just fine:
Building iOS bundle
Finished building JavaScript bundle in 11226ms.

However, when I try (exp build:ios) I get:

10:09:31 [exp] Build started, it may take a few minutes to complete.
10:09:31 [exp] You can monitor the build at

 |10:09:31 [exp] Waiting for build to complete. You can press Ctrl+C to exit.
 |10:11:31 [exp] Standalone build failed!

Build logs reveal no discernably useful or actionable information but do mention fastlane and ruby: (excerpt below:)
There is one line that says ‘method missing’ but doesn’t include the name of the missing method, which is not, to any degree, helpful. One other note: I may need to respecify my build credentials, but exp doesn’t seem to have an option to ignore existing credentials and let user respecify them.

Please help! Once again, a project is due almost immediately!

***running gulp task:
[stderr] 2018-06-10 08:10:12.070 ibtoold[47294:12256722] WARNING: Unhandled destination metrics: (null)
(occurs 14 times)

***building and signing IPA

[stderr] /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/fastlane_core/lib/fastlane_core/ui/interface.rb:163:in build_failure!': [!] Error packaging up the application (FastlaneCore::Interface::FastlaneBuildFailure) [stderr] [08:10:40] 'ios:build-and-sign-ipa' errored after 20 s [stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:inmethod_missing’
[stderr] [08:10:40] Error: Process exited with non-zero code: 1
[stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/gym/lib/gym/error_handler.rb:112:in handle_package_error' [stderr] at ChildProcess.child.on (/usr/local/turtle-agent/tools-public/node_modules/@expo/spawn-async/build/spawnAsync.js:39:21) [stderr] at emitTwo (events.js:125:13) [stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/gym/lib/gym/runner.rb:121:inblock in package_app’
[stderr] at ChildProcess.emit (events.js:213:7)
[stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/fastlane_core/lib/fastlane_core/command_executor.rb:93:in execute' [stderr] at maybeClose (internal/child_process.js:927:16) [stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/gym/lib/gym/runner.rb:117:inpackage_app’
[stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/gym/lib/gym/runner.rb:27:in run' [stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/gym/lib/gym/manager.rb:19:inwork’
[stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.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:incall’
[stderr] at (internal/child_process.js:348:11)
[stderr] at emitOne (events.js:115:13)
[stderr] at Socket.emit (events.js:210:7)
[stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run' [stderr] at Pipe._handle.close [as _onclose] (net.js:545:12) [stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:inrun_active_command’
[stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:75:in run!' [stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:inrun!’
[stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/gym/lib/gym/commands_generator.rb:75:in run' [stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.0/gym/lib/gym/commands_generator.rb:15:instart’
[stderr] from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.95.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.95.0/bin/fastlane:20:in<top (required)>’
[stderr] from /usr/local/bin/fastlane:23:in load' [stderr] from /usr/local/bin/fastlane:23:in
unable to build and sign IPA


Pretty important to make the note that if I
exp build:android
expo will still build an ios bundle that I can then execute without problems using expo on my iphone.
However, when I
exp build:ios
I get this build failure via fastlane/ruby

There is no error in my code, this is a configuration/process problem, possibly with the Expo Server.


expo build:ios -c

let’s me respecify credentials, but I receive the same error.

closed #4

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