There must be some way to install an application developed to test on the iOS emulator. In the same method that one can "drag and drop" apk files to an android emulator, there must be a way to do the same with Xcode. I have followed many webpages only to find that the standard
xcrun simctl install <device id> <path to application .ipa or .app> doesn't work no matter the manor the simulator starts. Either GUI or command line, the same error returns :
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
The error message listed above is from a freshly generated build and works on actual iPhones and not the emulator. Doesn't this negate the entire point of having a emulator? Testing the application to see it it works before moving to physical devices?
Now I have searched the internet and have seen many people throw the answers, "You can't." Well you must be able to somewhere because the feature was created for this particular reason and it doesn't work. Does anyone have a solution?
The alternative is to use the iOS simulator on a Mac computer. But, 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 just simply need to manually install the App to your Simulator but the App also needs to be built targeting the iOS simulator. You might be having some problems with installation. Certainly, there are different iOS emulator for MAC which can run any of the apps or games on MAC PC.