Running iOS app on a different Mac / simulator

妖精的绣舞 提交于 2019-12-03 00:50:22

You need to send him the Application folder under the iPhone Simulator folder.

You can find it here:

~/Library/Application Support/iPhone Simulator/<Simulator-Version>/Applications/

Simon Pickup

Building upon this answer by @Midhun, for later versions of Xcode (Xcode 6, Xcode 7 and Xcode 8 in my research), the simulators now live here:

~/Library/Developer/CoreSimulator/Devices

I was actually trying to use an app built on Xcode 8 for iOS8 simulator and get it to run on an ios7 simulator from Xcode 6 on another Mac. I couldn't find out how to simply copy files around but I did manage to copy the Mine.app folder to the other Mac, then install it using

xcrun simctl install 6DC6323C-504C-423F-ACD6-652557B33D48 Mine.app

where you need to replace 6DC6323C-504C-423F-ACD6-652557B33D48 with your simulator device type ID (find using xcrun simctl list devices).

Or you can send just the one app you need from ~/Library/Application\ Support/iPhone\ Simulator/7.0/Applications/GUID-OF-YOUR-APP

Midhun MP answer is good but in case of solution don't work then in emergency sometimes making video and sending it to client would help. This tool provide light weight video creation.

http://www.screencast-o-matic.com/

You can resize it for your simulator.

i have used a similar tool called Simulator Bundler in a recent project with no issues,

https://github.com/landonf/simlaunch/downloads

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!