Can I install an app to the simulator without the source code?

后端 未结 4 2052
面向向阳花
面向向阳花 2020-12-08 15:23

I have a client who wants to just drag and drop the binary to run it in the simulator.

I want to build the simulator app and email it to them.

What can the

4条回答
  •  生来不讨喜
    2020-12-08 15:40

    You can, by executing the command below in the Terminal app.

    xcrun simctl install {simulator_udid} {path of .app file}

    It will install the .app file in the referenced simulator.

    Note: Make sure that the .app file is built for the simulator (i.e. i386 or x86_64).

提交回复
热议问题