eas build failing due to export_method staying blank

I have tried building my app with expo EAS quite a few times, but it keeps failing due to an issue with the Gymfile / export method. Here are the logs. Any idea how to fix?


Thu, 14 Jan 2021 06:51:39 GMT

| xcode_path                                            | /Applications/Xcode.app                                                                                                                     |

255Thu, 14 Jan 2021 06:51:39 GMT

+-------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+

256Thu, 14 Jan 2021 06:51:39 GMT

[22:51:39]: $ set -o pipefail && xcodebuild -workspace ./weebid.xcworkspace -scheme weebid -destination 'generic/platform=iOS' -archivePath /Users/expo/Library/Developer/Xcode/Archives/2021-01-13/App\ 2021-01-13\ 22.51.39.xcarchive clean archive | tee /Users/expo/Library/Logs/gym/weebidapplication-weebid.log > /dev/null

257Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: ▸ ** ARCHIVE FAILED **

258Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: ▸ The following build commands failed:

259Thu, 14 Jan 2021 06:56:14 GMT
[22:56:14]: ▸ 	Check dependencies

260Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: ▸ (1 failure)

261Thu, 14 Jan 2021 06:56:14 GMT

** ARCHIVE FAILED **

262Thu, 14 Jan 2021 06:56:14 GMT



263Thu, 14 Jan 2021 06:56:14 GMT



264Thu, 14 Jan 2021 06:56:14 GMT

The following build commands failed:

265Thu, 14 Jan 2021 06:56:14 GMT

	Check dependencies

266Thu, 14 Jan 2021 06:56:14 GMT

(1 failure)

267Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: Exit status: 65

268Thu, 14 Jan 2021 06:56:14 GMT




269Thu, 14 Jan 2021 06:56:14 GMT

+-------------+-------------------------+

270Thu, 14 Jan 2021 06:56:14 GMT

|           Build environment           |


271Thu, 14 Jan 2021 06:56:14 GMT

+-------------+-------------------------+

272Thu, 14 Jan 2021 06:56:14 GMT

| xcode_path  | /Applications/Xcode.app |

273Thu, 14 Jan 2021 06:56:14 GMT

| gym_version | 2.170.0                 |


274Thu, 14 Jan 2021 06:56:14 GMT

| sdk         | iPhoneOS14.1.sdk        |

275Thu, 14 Jan 2021 06:56:14 GMT

+-------------+-------------------------+

276Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: 

277Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: There seems to be a mismatch between your provided `export_method` in gym

278Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: and the selected provisioning profiles. You passed the following options:

279Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]:   export_method:      

280Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]:   Bundle identifier:  weebid

281Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]:   Profile name:       *[expo] weebid AdHoc 1610598767618

282Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]:   Profile type:       ad-hoc

283Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: Make sure to either change the `export_method` passed from your Fastfile or CLI

284Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: or select the correct provisioning profiles by updating your Xcode project

285Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: or passing the profiles to use by using match or manually via the `export_options` hash

286Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: 

287Thu, 14 Jan 2021 06:56:14 GMT
[22:56:14]: 


288Thu, 14 Jan 2021 06:56:14 GMT


[22:56:14]: Looks like fastlane ran into a build/archive error with your project


289Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: It’s hard to tell what’s causing the error, so we wrote some guides on how


290Thu, 14 Jan 2021 06:56:14 GMT


[22:56:14]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/


291Thu, 14 Jan 2021 06:56:14 GMT


[22:56:14]: Before submitting an issue on GitHub, please follow the guide above and make


292Thu, 14 Jan 2021 06:56:14 GMT


[22:56:14]: sure your project is set up correctly.


293Thu, 14 Jan 2021 06:56:14 GMT

[22:56:14]: fastlane uses `xcodebuild` commands to generate your binary, you can see the


294Thu, 14 Jan 2021 06:56:14 GMT


[22:56:14]: the full commands printed out in yellow in the above log.


295Thu, 14 Jan 2021 06:56:14 GMT


[22:56:14]: Make sure to inspect the output above, as usually you'll find more error information there


296Thu, 14 Jan 2021 06:56:14 GMT


[22:56:14]:


297Thu, 14 Jan 2021 06:56:14 GMT[stderr]


[!] Error building the application - see the log above


298Thu, 14 Jan 2021 06:56:14 GMT


Destroying keychain - /var/folders/97/73j93h690g9gdn54bh_zskm40000gn/T/turtle-v2-79f2f9af-cea3-432a-af7b-81103d1ecf7c.keychain


299Thu, 14 Jan 2021 06:56:17 GMT


Removing provisioning profile


300Thu, 14 Jan 2021 06:56:28 GMT

Build failed: fastlane exited with non-zero code: 1

It looks like the Export_Method in the Gymfile during expo build is blank for some reason. This may cause the issue. I also tried creating my own Gymfile and manually inputting the values, but it looks like EAS is not recognizing that and still writing their own Gymfile for some reason. Any idea what’s going on?

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