How to transfer your App from one Xcode Simulator to another
Here is how the story began! I was asked by product team to run the app under development on their machines. Not all the members own the physical iOS device which obviously aren't cheap :D. As a developer I think everyone will agree with me that product teams in the company are always eager to get their hands on the project status in a tangible manner. And when it comes to a mobile app, eagerness is even more as everyone has a smart device in their pocket.
This was an interesting requirement so I set out to explore solutions. Since this would be used by non-developers my goal was to:
- Find a simplest solution which doesn't involve too much technicality
- Come up with an automated way to minimize the developer time in training and maintaining it.
Here are some options I found:
- Basic understanding of version control - Usually product teams are not used to version control that devs use for code management. For eg, in order to make sure they are up to date they need to make sure they keep pulling the latest code. So there is a learning curve involved here which might not make sense for someone who is not a developer.
- Dependency Changes - Every iOS project uses dependency manager, for eg. pod to manage external libraries. Anytime new dependency is added, a dependency update is needed to be run on the machine itself. Basically our user needs to learn how to build the app from existing code. Again an overkill for the expected outcome.
Here is how I set this up:
Please note - In the above screenshot, depending on your version of Xcode, you should see the simulator option if not everything else.
- Unzip the file transferred from other machine
- Drag and drop the file as shown below