fastlane docs Home GETTING STARTED iOS Setup Authentication Running Tests Screenshots Beta Deployment App Store Deployment Building your app Submitting your app Best Practices Swift Android Setup Running Tests Screenshots Beta Deployment Release Deployment Cross Platform React Native Flutter NativeScript ACTIONS Available Actions Create Your Own Action APPLE Using App Store Connect API Uploading App Privacy Details FAQS FAQs CODESIGNING Getting Started Xcode Project Troubleshooting Common Issues PLUGINS Available Plugins Use Plugins Create Your Own Plugin Plugins Troubleshooting BEST PRACTICES Source Control Continuous Integration CI Integrations Appcircle Azure DevOps Bamboo Bitrise CircleCI Codemagic GitHub Actions GitLab CI Jenkins Semaphore Travis Keys ADVANCED fastlane Fastfile Appfile Lanes Actions Other Docs » iOS » Getting Started » App Store Deployment Edit on GitHub New to fastlane? Click here to open the installation & setup instructions first iOS App Store deployment using fastlane Building your app fastlane takes care of building your app using an action called build_app, just add the following to your Fastfile: lane :release do build_app(scheme: "MyApp") end Additionally you can specify more options for building your app, for example lane :release do build_app(scheme: "MyApp", workspace: "Example.xcworkspace", include_bitcode: true) end Try running the lane using fastlane release If everything works, you should have a [ProductName].ipa file in the current directory. To get a list of all available parameters for build_app, run fastlane action build_app. Codesigning Chances are that something went wrong because of code signing at the previous step. We prepared our own Code Signing Guide that helps you setting up the right code signing approach for your project. Submitting your app Generating screenshots To find out more about how to automatically generate screenshots for the App Store, check out fastlane screenshots for iOS and tvOS. Upload the binary and app metadata After building your app, it's ready to be uploaded to the App Store. If you've already followed iOS Beta deployment using fastlane, the following code might look similar already. lane :release do capture_screenshots # generate new screenshots for the App Store sync_code_signing(type: "appstore") # see code signing guide for more information build_app(scheme: "MyApp") upload_to_app_store # upload your app to App Store Connect slack(message: "Successfully uploaded a new App Store build") end fastlane automatically passes on information about the generated screenshots and the binary to the upload_to_app_store action of your Fastfile. For a list of all options for each of the steps run fastlane action [action_name]. More details For more details on how upload_to_app_store works, how you can define more options, check out upload_to_app_store. Best Practices Push Notifications Incrementing the build number Built with MkDocs using a theme provided by Read the Docs - Copyright © 2021 fastlane