Sunday 12 June 2016

How to Extract .App file from .ipa file & Install .App file to the IOS Simulator.

Keywords :  Xcode, IOS Simularors, SDKs, Appium, .App File, .ipa File, Mac OS X.

1. How to Extract .app file from .ipa file.


During Testing i faced some problems like "how can i install my .ipa file in the simulator" then after some research i got to know that if you want to install an App then you first have to convert or Extract your app file from your ipa file.


Follow these steps to achieve results : 

1. Download the app you want to store in your simulator from App store. 

2. Convert the Extension of the file from .ipa to .zip.

3. Extract all the contents of the .zip file. 

4. After extraction you will get Payload folder in which you can find your .app file and its Info.plist      file.

2. Install .App file to the IOS Simulator.


Now if you want to install the app in the simulator then you have to follow these simple steps to get the desired results.

1. Launch Xcode. 

2.Go to Xcode > Open Developer Options > IOS Simulator.

3. See all the apps in the simulator . 

4. Go to terminal and write " open  /Applications/Xcode/Contents/Developer/Platforms /iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications.

5.In this window you can see all the applications that are installed in the simulator.

6. Paste your .app file here and exit.

7. Relaunch your IOS Simulator . 

8. You can see you app in the Simulator. 




********************Looking for your Feedbacks*************************

*******************Enjoy Coding, Enjoy Automation********************** 



Related :  How to Run safari on real device

4 comments:

  1. Thanks! I've been searching around for a while and this did the trick.

    ReplyDelete
  2. But does this work with real apps, or just ones compiled for the simulator?

    ReplyDelete
  3. But does this work with real apps, or just ones compiled for the simulator?

    ReplyDelete