skip to Main Content

My project can only run on devices and not simulator, it’s an object-recognition app, is it possible to run a single view of my project that doesn’t use any technology and is able to run on simulator? I need to do tests and I’d like not to run the app on the device every time.

2

Answers


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

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search