Home > Blockchain >  How to run specific views on Xcode simulator?
How to run specific views on Xcode simulator?

Time:08-16

If i have an app that can run only on devices and not simulator, like an object-recognition app or another one that uses CoreMotion, is it possible to run specific views of my project that don't use this type of technologies? I need to do tests and I'd like not to run the app on the device every time

CodePudding user response:

To run a specific view on the Xcode simulator, you can use the "Debug View Hierarchy" button in the simulator's "Debug" menu.

CodePudding user response:

Create a new target for your project. then only add specific views and relevant source file to the current new target. remember to change the active scheme before run.

  • Related