Xcode6: Run two instances of the simulator

后端 未结 7 1090
Happy的楠姐
Happy的楠姐 2020-11-30 16:51

I have two different targets for my iOS app. Is it possible to run simultaneously the two apps on two different instances of the simulator? It\'s ok if it would require not

7条回答
  •  一向
    一向 (楼主)
    2020-11-30 17:31

    You can run multiple instances of simulator for different hardware profiles and debug them. First, you need to run your app from XCode for each hardware type (iPhone 6, iPad etc.) to install it into simulator instances. Then run simulator instances and your app as it is explained above. To debug it, you can attach debugger to running processes from "XCode->Debug->Attach to Process" menu. You can check this blog entry for an example :http://oguzdemir.dualware.com/?p=43

提交回复
热议问题