Build errors on other Macs

Expo CLI 3.13.2 environment info:
   System:
     OS: macOS 10.15.3
     Shell: 5.7.1 - /bin/zsh
   Binaries:
     Node: 13.8.0 - /usr/local/bin/node
     Yarn: 1.22.0 - /usr/local/bin/yarn
     npm: 6.13.7 - /usr/local/bin/npm
     Watchman: 4.9.0 - /usr/local/bin/watchman
   IDEs:
     Android Studio: 3.5 AI-191.8026.42.35.6010548
     Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
   npmPackages:
     expo: ^35.0.0 => 35.0.1 
     react: 16.8.3 => 16.8.3 
     react-native: https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz => 0.59.8 
     react-navigation: 3.11.1 => 3.11.1 
   npmGlobalPackages:
     expo-cli: 3.13.2

Hi! I am using a standalone app built using expo.

This time, I changed my Mac, but the build fails on the new Mac. The strange part is still successful on existing Macs.

Checking if there is a build in progress...


? Do you have access to the Apple Account that owns the app with the bundle identifier com.cj.group.shrdev? Yes

Please enter your Apple Developer Program account credentials. These credentials are needed to manage certificates, keys and provisioning profiles in

your Apple Developer account.

The password is only used to authenticate with Apple and never stored

Learn more here (​https://bit.ly/2VtGWhU​)

? Apple ID: *********************

? Password (for ********************): [hidden]

✔ Authenticated with Apple Developer Portal successfully!

Only 1 team associated with your account, using Apple Team with ID: T**********

Fetching available credentials

✔ App ID found on Apple Developer Portal.

✔ Getting Distribution Certificates from Apple...

✔ Successfully validated Distribution Certificate against Apple Servers

⠧ Getting Push Keys from Apple...Error: Reason: Unexpected response, raw: {"responseId":"722b66fe-29ff-4654-830a-3edec2f6637f","resultCode":1200,"resultString":"You are not allowed to perform this operation.  Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support","userString":"You are not allowed to perform this operation.  Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support","creationTimestamp":"2020-05-19T06:56:45Z","protocolVersion":"QH65B2","userLocale":"en_US","requestUrl":"https://developer.apple.com/services-account/QH65B2/account/auth/key/list","httpCode":200}

    at runAction (/expo-cli@3.13.2/src/appleApi/fastlane.ts:28:17)

    at PushKeyManager.list (/expo-cli@3.13.2/src/appleApi/pushKey.ts:48:22)

    at Object.validatePushKey (/expo-cli@3.13.2/src/credentials/views/IosPushCredentials.ts:549:29)

    at SetupIosPush.open (/expo-cli@3.13.2/src/credentials/views/SetupIosPush.ts:64:21)

    at CredentialsManager.run (/expo-cli@3.13.2/src/credentials/route.ts:42:12)

    at runCredentialsManager (/expo-cli@3.13.2/src/credentials/route.ts:13:10)

    at IOSBuilder.produceCredentials (/expo-cli@3.13.2/src/commands/build/ios/IOSBuilder.ts:164:7)

    at IOSBuilder.prepareCredentials (/expo-cli@3.13.2/src/commands/build/ios/IOSBuilder.ts:120:7)

    at IOSBuilder.run (/expo-cli@3.13.2/src/commands/build/ios/IOSBuilder.ts:46:7)

    at IOSBuilder.command (/expo-cli@3.13.2/src/commands/build/BaseBuilder.ts:29:7) {

  rawDump: {

    responseId: '722b66fe-29ff-4654-830a-3edec2f6637f',

    resultCode: 1200,

    resultString: 'You are not allowed to perform this operation.  Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support',

    userString: 'You are not allowed to perform this operation.  Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support',

    creationTimestamp: '2020-05-19T06:56:45Z',

    protocolVersion: 'QH65B2',

    userLocale: 'en_US',

    requestUrl: 'https://developer.apple.com/services-account/QH65B2/account/auth/key/list',

    httpCode: 200

  }

}

⠏ Getting Push Keys from Apple...Failed to prepare all credentials. 

The next time you build, we will automatically use the following configuration:


Project Credential Configuration:

  Experience: @chanho/************ bundle identifier: **************
    Provisioning profile is missing. It will be generated during the next build
    Apple Team ID: T**********,  Apple Team Name: ---------

  Distribution Certificate - Certificate ID: -----
    Apple Team ID: T**********,  Apple Team Name: ---------
    used by
      @chanho/**********************
  Push Notifications Key - Key ID: ************
    Apple Team ID: T***********,  Apple Team Name: ---------
    used by
      @chanho/*************


Set EXPO_DEBUG=true in your env to view the stack trace.

The information is no different(same account & same certificate information). What happened?

Hi

Update expo-cli to the lastest version

Do you use the same account on both macs?
What versions expo-cli do you use on mac with working builds?
When you run a build on previous mac, does it generate credentials or just starting the build.

Hi. Thanks for the reply.

I use the same account on both macs. and the expo-cli version is…
previous mac: 3.13.1 (It works!)
current mac: 3.13.2 (It fails…)

and last time my previous mac just starting the build. (no input the credentials path. just write apple account. and already login expo account.)
but current mac write the credentials information (It’s like the first log I wrote. --p12 is ok, p8…is fail)

It is good to update expo-cli to the latest version.
Thanks!!!

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