Have you ever found yourself in a situation where you or a colleague have the need to test an iOS App, but you do not have a physical device? The alternative is to use the iOS simulator on a Mac computer.
The big question is, how do you install the App to your simulator without building it using Xcode and allowing Xcode to install the App for you? Well, as it turns out, the solution is relatively easy. You simply need to manually install the App to your simulator. The steps required are detail below.
The App also needs to be built targeting the iOS simulator. The steps required to build an App targeting the iOS simulator are included at the end in the section entitled “Building the App for iOS Simulator”
2. From Xcode, launch the iOS simulator:
3. Verify that the desired device is selected, in this case I am using the iPhone 7 device as shown below.
4. If the App that you plan to install is already installed, you should delete it. Then proceed with installing the updated release.
5. List available simulators: xcrun simctl list
6. Identify the UID for the simulator that you want to use; note that the iPhone 7 in the above listing and is listed as Booted since the simulator was launched in step 2.
7. The App file that was provided to you should be copied/placed on your desktop for easy access:
8. To install the App, type the following command in the terminal window:
xcrun simctl install 1A258AC5-E93B-4D7F-8788-A6E8A49025DD ~/Desktop/KeychainTouchID.app
9. After executing the install command, the App will be installed on the simulator and is ready to be executed.
10. Now the App is installed to the simulator and you are ready to test. Happy testing!
If you want to generate a build and provide this App to someone to install to an iOS simulator using the above process, you should follow the steps detailed below.
1. The App needs to be built for the iOS simulator by you or the developer.
2. Then the App file can be found in the DerivedData folder, within the desired App’s Products/Debug-iphonesimulator folder, as shown below.
3. The App file can be provided to the users that need to install it to the iOS simulator.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
|cookielawinfo-checbox-analytics||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".|
|cookielawinfo-checbox-functional||11 months||The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".|
|cookielawinfo-checbox-others||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.|
|cookielawinfo-checkbox-necessary||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".|
|cookielawinfo-checkbox-performance||11 months||This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".|
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.