Exp build:ios times out: "Error: Took too long"


I am trying to use exp to build for iOS, but I am not able to complete the process. It always times out while attempting to generate the provisioning profile. Here is the output with EXPO_DEBUG set to true:

$ EXPO_DEBUG=true exp build:ios -c --revoke-apple-dist-certs --revoke-apple-push-certs --revoke-apple-provisioning-profile
10:38:02 [exp] Checking if current build exists...

10:38:03 [exp] No currently active or previous builds for this project.
10:38:03 [exp] Removed existing credentials from expo servers
10:38:03 [exp] If you get errors about

'Maximum number of certificates generated' or 'duplicate profiles'

then consider using the flags --revoke-apple-dist-certs, --revoke-apple-push-certs,
and --revoke-apple-provisioning-profile or go to developer.apple.com
and revoke those credentials manually

? How would you like to upload your credentials?
 Expo handles all credentials, you can still provide overrides

We need your Apple ID/password to manage certificates and
provisioning profiles from your Apple Developer account.

Note: Expo does not keep your Apple ID or your Apple password.

? What's your Apple ID? <ID HERE>
? Password? [hidden]
10:38:32 [exp] Validating Credentials...
10:41:06 [exp] Only 1 team associated with your account, using Team ID: <TEAM ID>
10:41:06 [exp] ATTENTION: Revoking your Apple Distribution Certificates is permanent
? Which Certs to revoke? <Spaceship::Portal::Certificate::Production id="<redacted>" name="<redacted>" status="Issued" created=2018-04-02 14:10:18 UTC expires=2019-04-02 14:00:18 UTC own
er_type="team" owner_name="<redacted>" owner_id="<redacted>" type_display_id="R58U
K2EWSO" can_download=true>
10:51:30 [exp] Revoked 1 existing certs on developer.apple.com
10:51:30 [exp] ATTENTION: Revoking your Apple Push Certificates is permanent
10:54:03 [exp] No certs on developer.apple.com available to revoke
10:54:04 [exp] ATTENTION: Revoking your Apple Provisioning Profile for <app> is permanent
10:54:07 [exp] Could not revoke provisioning profile: Revoked certificates but could not find provisioning profile by bundle <app> to delete rawDump:{"result":"failure","reason":"Revoked certificates but could not find provisioning profile by bundle <app> to delete"}
? Will you provide your own Distribution Certificate? Let Expo handle the process
? Will you provide your own Push Certificate? Let Expo handle the process
11:06:51 [exp] Error while gathering & validating credentials
11:06:51 [exp] {}
11:06:51 [exp] Took too long (limit is 10 minutes) to execute /usr/local/lib/node_modules/exp/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.4.7-osx/fetch_cert <apple_id> <password> <team_id> false
11:06:51 [exp] Error: Took too long (limit is 10 minutes) to execute /usr/local/lib/node_modules/exp/node_modules/@expo/traveling-fastlane-darwin/traveling-fastlane-1.4.7-osx/fetch_cert <apple_id> <password> <team_id> false
    at Timeout._onTimeout (/Users/ville/Projects/expo/universe/dev/exp/src/commands/build/auth.js:285:31)
    at ontimeout (timers.js:469:11)
    at tryOnTimeout (timers.js:304:5)
    at Timer.listOnTimeout (timers.js:264:5)
$ exp --version


I am still experiencing this issue.



@fson - do you have any ideas here?


closed #4

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