iosiphonexcodesimulatorxcuitest

How to install ipa file on simulator or real device?


I have ipa file and I can extract the app file if I dragged and drop the app file to simulator it's crashing in the landing page, Whenever I'm dragging the ipa file to device and simulator manager I'm unable to install it for both simulator and real ios

However, when I am using same ipa file with BrowserStack it's installing the ipa without any problem and its working fine.

I am not sure what I'm missing

What is the correct follow of installing the ipa/app file for both emulator and simulator?


Solution

  • To install the app on iOS Simulator:

    xcrun simctl install <Simulator ID> <Path to .ipa>