Run .app file in iOS 8 simulator

后端 未结 4 1542
半阙折子戏
半阙折子戏 2021-02-06 01:21

I have a .app file shared from a developer which i would like to run in iOS 8 simulator. I have seen similar questions which has solutions for older versions of iOS which is no

4条回答
  •  后悔当初
    2021-02-06 01:49

    For developers looking to provide a simulator build to theirs testers, these are the steps that I followed to create and test a build -

    1. Add i386 in valid architectures section of build settings.

    2. Open terminal and navigate to your project folder. Then execute the command -

      xcodebuild -arch i386 -sdk iphonesimulator8.1

    (This will build the application)

    1. To install the application on simulator, run the command mentioned in the above answer i.e -

      xcrun simctl install booted /path/to/Your.app

    Now you should be able to run the app by clicking on the installed application in the simulator.

提交回复
热议问题