expo: Expo Could Not Build iOS Enterprise

Environment

Environment:
  OS: macOS High Sierra 10.13.4
  Node: 8.9.4
  Yarn: 1.3.2
  npm: 5.6.0
  Watchman: 4.7.0
  Xcode: Xcode 9.3 Build version 9E145
  Android Studio: Not Found

Packages: (wanted => installed)
  expo: ^26.0.0 => 26.0.0
  react: 16.3.0-alpha.1 => 16.3.0-alpha.1
  react-native: https://github.com/expo/react-native/archive/sdk-26.0.0.tar.gz => 0.54.2

Steps to Reproduce

  1. $ EXPO_DEBUG=true exp build:ios -e -c

Expected Behavior

Building Standalone Apps should work.

Actual Behavior

I am a ADP enterprise admin account, but I got a The selected team does not have a program membership that is eligible for this feature. error.

18:11:22 [exp] Making sure project is set up correctly...
18:11:35 [exp] Your project looks good!
18:11:37 [exp] Checking if current build exists...

18:11:39 [exp] No currently active or previous builds for this project.
18:11:40 [exp] Removed existing credentials from expo servers

? 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? xxx@xxx.xxx
? Password? [hidden]
18:11:55 [exp] Validating Credentials...
18:12:02 [exp] Only 1 team associated with your account, using Team ID: XXXXXXXXXX
? Will you provide your own Distribution Certificate? Let Expo handle the process
? Will you provide your own Push Certificate? Let Expo handle the process
18:12:31 [exp] Error while gathering & validating credentials
18:12:31 [exp] {}
18:12:31 [exp] Reason:Unexpected response, raw:{"responseId":"fd35d027-02f0-4884-ad74-34d97010ecfd","resultCode":4100,"resultString":"The selected team does not have a program membership that is eligible for this feature.  If you need assistance, please contact Apple Developer Program Support. https://developer.apple.com/support","userString":"The selected team does not have a program membership that is eligible for this feature.  If you need assistance, please contact Apple Developer Program Support. https://developer.apple.com/support","creationTimestamp":"2018-04-16T10:12:31Z","protocolVersion":"QH65B2","userLocale":"en_US","requestUrl":"https://developer.apple.com/services-account/QH65B2/account/ios/profile/createProvisioningProfile.action","httpCode":200}
18:12:31 [exp] Error: Reason:Unexpected response, raw:{"responseId":"fd35d027-02f0-4884-ad74-34d97010ecfd","resultCode":4100,"resultString":"The selected team does not have a program membership that is eligible for this feature.  If you need assistance, please contact Apple Developer Program Support. https://developer.apple.com/support","userString":"The selected team does not have a program membership that is eligible for this feature.  If you need assistance, please contact Apple Developer Program Support. https://developer.apple.com/support","creationTimestamp":"2018-04-16T10:12:31Z","protocolVersion":"QH65B2","userLocale":"en_US","requestUrl":"https://developer.apple.com/services-account/QH65B2/account/ios/profile/createProvisioningProfile.action","httpCode":200}
    at IOSBuilder._throwIfFailureWithReasonDump (/exp@52.0.3/src/commands/build/IOSBuilder.js:458:13)
    at IOSBuilder._callee5$ (/exp@52.0.3/src/commands/build/IOSBuilder.js:257:10)
    at tryCatch (/Users/amowu/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:62:40)
    at Generator.invoke [as _invoke] (/Users/amowu/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:296:22)
    at Generator.prototype.(anonymous function) [as next] (/Users/amowu/.config/yarn/global/node_modules/regenerator-runtime/runtime.js:114:21)
    at step (/Users/amowu/.config/yarn/global/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
    at /Users/amowu/.config/yarn/global/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 24 (5 by maintainers)

Most upvoted comments

Exactly the same issue here. Tried with all Team Agent and Admin in the enterprise account.

? Will you provide your own Distribution Certificate? Let Expo handle the process ? Will you provide your own Push Certificate? Let Expo handle the process [12:36:49] Error while gathering & validating credentials [12:36:49] Reason:Unexpected response, raw:{“responseId”:“0a074cbb-b247-4234-a53e-7918b7eaf86e”,“resultCode”:4100,“resultString”:“The selected team does not have a program membership that is eligible for this feature. If you need assistance, please contact Apple Developer Program Support. https://developer.apple.com/support",“userString”:"The selected team does not have a program membership that is eligible for this feature. If you need assistance, please contact Apple Developer Program Support. https://developer.apple.com/support",“creationTimestamp”:“2018-09-07T19:36:49Z”,“protocolVersion”:“QH65B2”,“userLocale”:“en_US”,“requestUrl”:“https://developer.apple.com/services-account/QH65B2/account/ios/certificate/submitCertificateRequest.action”,"httpCode”:200} [12:36:49] Set EXPO_DEBUG=true in your env to view the stack trace.

@terribleben

Running exp build:ios -e I still get this error on expo SDK 28.0.0 , exp 57.0.1

[16:18:04] Error while gathering & validating credentials
[16:18:04] Reason:Unexpected response, raw:{"responseId":"2ec4cfc4-710a-4a5a-81f7-60a9ea325b54","resultCode":4100,"resultString":"The selected team does not have a program membership that is eligible for this feature.  If you need assistance, please contact Apple Developer Program Support. https://developer.apple.com/support","userString":"The selected team does not have a program membership that is eligible for this feature.  If you need assistance, please contact Apple Developer Program Support. https://developer.apple.com/support","creationTimestamp":"2018-09-05T10:48:04Z","protocolVersion":"QH65B2","userLocale":"en_US","requestUrl":"https://developer.apple.com/services-account/QH65B2/account/ios/certificate/submitCertificateRequest.action","httpCode":200}
[16:18:04] Set EXPO_DEBUG=true in your env to view the stack trace.

The associated account has admin role in enterprise program