Now we’re ready to test! First we’ll make sure the app builds on our computer, if all goes well, the simulator will open and the app will display. Since the simulator does not have access to a camera, and the app relies on the camera to test the classifier, we will also deploy the app to an iPhone (in the next step).
Select the Core ML Vision Custom scheme and choose a phone option from the dropdown.
Click on the Build and run icon at the top left to test the application in the simulator.