How Deploy App to iOS Device with archive file
While developing app for iPhone sometime there are scenario’s where you need to test the app on actual device. Straight forward way, you just plug-in the phone and run the app by pointing to the test device and it’s ready to test.
But there are scenario’s like your iPhone is using latest version of the iOS and Xcode is having previous version so you wouldn’t be able to get the app directly. There is hacky way to deploy the app to such devices. Here are the steps.
- Create “Archive” for the app
- On Archived app, click “Show in finder” and locate “.xcarchive” file you created in step # 1
- Click on the .xcarchive file and select “Show Package Contents”
- In the opened folder, select “Products –> Application” and you will have your application
- Drag the app to your iTunes Apps so it can be installed on the test device
- Connect the test device and install the app by applying the changes
Hope this helps, let me know if any questions.
Originally published at leapforwards.wordpress.com on February 3, 2017.