Standalone iOS build failed

I’m trying my first standalone build for an expo app I’ve been developing and am currently receiving an error from the build service. I can’t seem to find any reports of similar issues or any way that this is related to my project. Build log link is below. Interpreting the stack trace, the most relevant line appears to be this.

Workspace file not found at path '/usr/local/turtle-js/workingdir/ios/sdk33/shellAppWorkspaces/ios/default/ExpoKitApp.xcworkspace'

Not sure where to go from here. Afaik the workspace file should be entirely managed by expo. Would really appreciate any assistance.

https://expo.io/builds/89d7fdc7-cade-42b8-ae45-0d7ea24c8be7

5 Likes

We have started experiencing the same issue which has started within the last 24 hours, re running builds that previously passed are now failing, so does not appear to be a project specific issue.

Error setting value '/usr/local/turtle-js/workingdir/ios/sdk33/shellAppWorkspaces/ios/default/ExpoKitApp.xcworkspace' for option 'workspace'

https://expo.io/builds/9592715d-61e6-4a98-a096-805d5f0dbafd

2 Likes

Same experience over here for iOS builds only. Publishing works fine but the standalone build failed in “building and signing ipa…” step. Identical builds worked 72 hours ago.

building and signing IPA
saved provisioning profile to temporary path
provisioning profile copied to home directory
done retrieving provisioning profile data
checking if teamID is present in keychain and that certificate is valid...
ensured certificate is valid
validating provisioning profile...
provisioning profile is valid
writing export-options.plist file...
created export-options.plist file
generating IPA...
[21:22:22]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
ERROR [2019-07-25 21:22:23.03]: Error setting value '/usr/local/turtle-js/workingdir/ios/sdk33/shellAppWorkspaces/ios/default/ExpoKitApp.xcworkspace' for option 'workspace'

[stderr]

/usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/config_item.rb:223:in `rescue in valid?': [!] Workspace file not found at path '/usr/local/turtle-js/workingdir/ios/sdk33/shellAppWorkspaces/ios/default/ExpoKitApp.xcworkspace' (FastlaneCore::Interface::FastlaneError

[stderr]

)

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/config_item.rb:219:in `valid?'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/config_item.rb:181:in `verify!'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:87:in `block in verify_value_exists'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:82:in `each'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:82:in `verify_value_exists'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:66:in `initialize'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:36:in `new'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:36:in `create'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/gym/lib/gym/commands_generator.rb:42: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.116.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76: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.116.1/gym/lib/gym/commands_generator.rb:75:in `run'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/gym/lib/gym/commands_generator.rb:15:in `start'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in `take_off'

[stderr]

	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/bin/fastlane:23:in `<top (required)>'

[stderr]

	from /usr/local/bin/fastlane:23:in `load'

[stderr]

	from /usr/local/bin/fastlane:23:in `<main>'
removed provisioning profile from the home directory
Error: fastlane exited with non-zero code: 1
    at ChildProcess.completionListener (/usr/local/turtle-js/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:915:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
    ...
    at spawnAsync (/usr/local/turtle-js/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
    at spawnAsyncThrowError (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/ExponentTools.js:169:43)
    at runFastlane (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/IosCodeSigning.js:314:49)
    at Object.buildIPA (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/IosCodeSigning.js:193:11)
    at Object.build (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/IosIPABuilder.js:100:28)
    at <anonymous>
1 Like

I’m having the exact same issue. Happy to give app.json expo cli version number or any other data that may prove helpful.

Same issue here – cannot run expo build:ios same errors:

building and signing IPA
saved provisioning profile to temporary path
provisioning profile copied to home directory
done retrieving provisioning profile data
checking if teamID is present in keychain and that certificate is valid...
ensured certificate is valid
validating provisioning profile...
provisioning profile is valid
writing export-options.plist file...
created export-options.plist file
generating IPA...
[22:06:00]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
ERROR [2019-07-25 22:06:00.92]: Error setting value '/usr/local/turtle-js/workingdir/ios/sdk33/shellAppWorkspaces/ios/default/ExpoKitApp.xcworkspace' for option 'workspace'
[stderr] /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/config_item.rb:223:in `rescue in valid?': [!] Workspace file not found at path '/usr/local/turtle-js/workingdir/ios/sdk33/shellAppWorkspaces/ios/default/ExpoKitApp.xcworkspace'
[stderr]  (FastlaneCore::Interface::FastlaneError)
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/config_item.rb:219:in `valid?'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/config_item.rb:181:in `verify!'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:87:in `block in verify_value_exists'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:82:in `each'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:82:in `verify_value_exists'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:66:in `initialize'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:36:in `new'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane_core/lib/fastlane_core/configuration/configuration.rb:36:in `create'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/gym/lib/gym/commands_generator.rb:42: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.116.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76: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.116.1/gym/lib/gym/commands_generator.rb:75:in `run'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/gym/lib/gym/commands_generator.rb:15:in `start'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in `take_off'
[stderr] 	from /usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.116.1/bin/fastlane:23:in `<top (required)>'
[stderr] 	from /usr/local/bin/fastlane:23:in `load'
[stderr] 	from /usr/local/bin/fastlane:23:in `<main>'
removed provisioning profile from the home directory
Error: fastlane exited with non-zero code: 1
    at ChildProcess.completionListener (/usr/local/turtle-js/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:915:16)
    at Socket.stream.socket.on (internal/child_process.js:336:11)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:561:12)
    ...
    at spawnAsync (/usr/local/turtle-js/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
    at spawnAsyncThrowError (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/ExponentTools.js:169:43)
    at runFastlane (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/IosCodeSigning.js:314:49)
    at Object.buildIPA (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/IosCodeSigning.js:193:11)
    at Object.build (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/IosIPABuilder.js:100:28)
    at <anonymous>

Hey guys, thanks for submitting the reports, we have identified the problem and will fix it soon. You can track the progress at https://status.expo.io/ :slightly_smiling_face:

1 Like

Appreciate the update. I wasn’t aware of the status page so thanks for linking that. I was initially brought to the forum by the messaging underneath the build log. It may be worthwhile adding a link to the status page there as well.

Thanks for a great product!

1 Like

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