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
To run a specific view on the Xcode simulator, you can use the "Debug View Hierarchy" button in the simulator’s "Debug" menu.
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.