This is the code repository for Continuous Delivery for Mobile with Fastlane, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
We already implement regression testing in an automated manner, through continuous integration, so there should be a way of being able to automate the process of packaging our apps, pushing them to TestFlight or the App Store, and dealing with provisioning our apps. Introducing fastlane...
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
export_options(
method: "ad-hoc",
provisioningProfiles: {
"com.doronkatz.firefox": "Provisioning Profile Name"
},
manifest: {
appURL: "https://yourapp.com/yourapp.ipa",
},
thinning: "<thin-for-all-variants>"
)
You are encouraged to follow the examples sequentially, from Chapter 1, Introduction to fastlane and Continuous Delivery, to the final chapter, using the sample project and code. The Chapter 2, Setting Up fastlane and Our Sample Project, covers setting up your environment, installing fastlane, and any other prerequisite tools. You will also need to have an active Apple Developer account, which you can get from developer.apple.com.