question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expo Could Not Build iOS Enterprise

See original GitHub issue

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)

Issue Analytics

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

github_iconTop GitHub Comments

6reactions
mrlambchopcommented, Sep 7, 2018

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.

3reactions
shastri9999commented, Sep 5, 2018

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to build:ios enterprise distribution (Reason ... - Expo Forums
Hi all, I'm new to expo and trying to build an ios app. I have two Apple developer accounts, one personal (for AppStore...
Read more >
Building React Native Apps — Expo or not?
With Expo, you will never touch any native iOS or native Android code. This means, you don't need developers to know any native...
Read more >
"Build input file cannot be found" | Apple Developer Forums
I changed my project name in project navigator and right after I tried to simulate it. An error appeared and said "Build input...
Read more >
expo build ipa without developer account - You.com | The AI ...
Actually, I will be having my client make their own Apple account so that I can use it. They are a large company,...
Read more >
react native - Developer menu appears transparent on iOS
I was finally able to solve this problem myself. My problem was not the fault of Expo or Expo Go, but rather the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found