Upload your binaries to App Store Connect using Apple's Application Loader. You can upload iOS, macOS, or Apple TV apps with the Step. The Step does not upload metadata, screenshots, nor does it submit your app for review. For that, use the Deploy to App Store Connect with Deliver Step.
This Step, however, does NOT build your binary: to create an IPA or PKG file, you need the right version of the Xcode Archive Step, or any other Step that is capable of building a binary file.
Configuring the Step
Before you start using this Step, you need to do a couple of things:
- Register an app on the My Apps page of App Store Connect. Click on the plus sign and select the New App option. This requires an admin account.
- This Step requires an app signed with App Store Distibution provisioning profile. Make sure that you use the correct code signing files and the correct export method with the Step that builds your binary.
- Every build that you want to push to the App Store Connect must have a unique build and version number pair. Increment either or both before a new deploy to the App Store Connect.
To deploy your app with the Step:
- Make sure that either the IPA path or the PKG path input has a valid value. The default value is perfect for most cases: it points to the output generated by the Xcode Archive Step.
- Set up your connection depending on which authentication method you wish to use:
- Use a previously configured Bitrise Apple Developer connection: Set the Bitrise Apple Developer Connection to
automatic (this is the default setting), api_key or apple_id.
- Provide manual Step inputs: Add authentication data depending on which authentication method you wish to use, either Apple ID or API key authentication. Set the Bitrise Apple Developer Connection to
off. Use only one of the authentication methods.
- For API key: Provide your API Key: URL (for example, https://URL/TO/AuthKey_something.p8 or file:///PATH/TO/AuthKey_something.p8) and the API Key: Issuer ID inputs.
- For Apple ID: Use the Apple Developer connection based on Apple ID authentication. If no app-specific password has been added to the used connection, the Apple ID: App-specific password Step input will be used. Other authentication-related Step inputs are ignored.
Troubleshooting
Use only one of the authentication methods, if you add both the Apple ID and the API key inputs the step will fail.
Make sure your Apple ID credentials are correct. Be aware that if you use two-factor authentication, you need to set up a connection with Apple ID.
Always make sure that Platform input is set to the correct value.
The Step can also fail if the Xcode Archive Step - or any other Step that builds your binary - did not generate an IPA or PKG with a app-store export method.
Useful links
Related Steps