Add documentation for deploying review apps to iOS
Problem to solve
Review apps currently do not tie in nicely to mobile apps. @ftab has written a blog to explain how to connect review apps for an iOS app to a physical device that other customers can benefit from.
Further details
Copied from: &769 (comment 166127477)
made a review environment that doesn't need to go through TestFlight--if your device is on the same network as the runner, and you set the build up with xcodebuild, the review stage can use ios-deploy to install the app on the device. This cuts it down from umpteen minutes to about 10 seconds to deploy after building (about 15 seconds to build flappy in this example)
Check my blog post here for details: https://radiosound.com/blog/engineering/2019/05/01/gitlab-ios-app-deployment.html
The video up at the top: https://youtu.be/FphHLnW8WTU
You'll see that I used the review stage to deploy to a specific device (and moved TestFlight to its own manual step since I still need this if I'm outside the network). And I can use the environments page to push production back to the device, or drill down into an environment to roll back to specific iterations of an environment (either different versions of a MR/review/production app, or the history of any versions previously deployed to that device)
I would love to know a better way than dynamic environments for each device because once I have more than 3 of these, I'm gonna lose track
This could carry over to embedded systems as well (automotive infotainment systems, IoT devices, etc) which would be immediately useful to me. I'd be happy to work on it, if we could come up with a way to do it
Proposal
Add instructions to our review apps documentation on deploying to iOS physical device