- You need to be an organization owner or admin. A member sees “An organization owner or admin must connect Apple and authorize the upload.”
- You need a saved Newly cloud project, used from a Remote chat. Otherwise the card shows “Publishing requires a saved Newly cloud project.”
- You need an active Apple Developer Program membership.
Option 1: Sign in with your Apple ID
This is the default, and the quickest way to connect.Sign in to Apple
Enter the verification code
Choose your Apple team
Choose the app
- an app name of up to 30 characters
- a bundle ID, such as
com.yourcompany.yourapp
Connect
What Newly creates in your Apple account
When you connect with your Apple ID, Newly sets up everything a TestFlight upload needs:- The app record in App Store Connect, if you chose Create a new app.
- An App Store Connect API key named “Newly” followed by your app name. It has the Admin role, so it can access every app in that Apple team. The card tells you this before you connect. If setup stops before it finishes, Newly tries to delete the key.
- The bundle ID registration, if the bundle ID isn’t registered yet.
- An App Store provisioning profile named “Newly app-store” followed by your bundle ID.
- A distribution certificate. Newly reuses it for all your organization’s apps in the same Apple team, so it doesn’t create a new one for every project.
Option 2: Use an App Store Connect API key
Choose this if you’d rather not sign in with your Apple ID, or your team manages its own keys.- In the card, press Use an API key instead.
- Fill in Bundle ID, Apple team ID, API key ID and Issuer ID. The team ID and key ID are each 10 uppercase letters or digits.
- Press Choose private key (.p8) and pick the key file you downloaded from App Store Connect.
- Press Connect App Store Connect.
- The app must already exist in App Store Connect with the same bundle ID. Newly doesn’t create it for you.
- The key needs permission to create signing certificates and provisioning profiles. Newly checks that the key works and can see your app when you connect. It only finds out whether the key can create certificates and profiles when a release runs, so a key without those permissions fails at that point.
.p8 file shows “Open the cloud publishing card in your browser to select a key.”, open the same chat in the web app at app.newly.app and connect from there. Apple ID sign-in doesn’t ask for a file.How your Apple details are stored
- Your Apple password and verification code are used only for that sign-in.
- The publishing key and signing details are encrypted and used only for publishing.
- None of it is shown to the agent or copied into your project’s code.
- The connection belongs to one project. Another project needs its own connection.
Change the app, bundle ID or team
Open the Ship to TestFlight card for the project and press Change Apple settings. Then connect again with either option. You can’t change Apple settings while a release is running. If you try, Newly shows “Wait for the current release before replacing Apple credentials.” Wait for the release to finish, then try again.Signing certificates
Apple limits how many distribution certificates a team can have. If your team is at the limit, or Apple reports a conflicting certificate, the release fails and the card shows “Too many signing certificates” or “Signing certificate needs attention”. Press Manage signing certificates. You have two ways to fix it.- Import an existing certificate
- Revoke and replace a certificate
.p12 file.- Press Choose signing identity (.p12) and pick the file. It must be under 128 KB and contain one private key for an active distribution certificate in the same Apple team.
- Enter the file’s password, if it has one.
- Press Import signing identity.
- When you see “Signing certificate ready. You can retry publishing.”, press Retry.
Connection errors
"Apple did not return a developer team for signing…"
"Apple did not return a developer team for signing…"
"Apple rejected the email or password."
"Apple rejected the email or password."
"Sign into your Apple Account in a browser and complete any pending account prompts, then retry here."
"Sign into your Apple Account in a browser and complete any pending account prompts, then retry here."
"Apple could not create the app because that app name is already in use."
"Apple could not create the app because that app name is already in use."
"Apple could not register that bundle ID."
"Apple could not register that bundle ID."
"Create this app in App Store Connect first, using the same bundle ID."
"Create this app in App Store Connect first, using the same bundle ID."