We will now set up the project to build for an iOS device:
- First, be sure to save the scene (File | Save Scenes) and project (File | Save Project). If prompted for a scene name choose what you want, such as PurpleFinch.
- Go into File | Build Settings and make sure the scene is the only one listed in Scenes In Build (press Add Open Scenes).
- In Build Settings Platform, make sure iOS is the target platform (select iOS and press Switch Platform).
- Now go to Player Settings and look at the Inspector on the right.
- Under Other Settings the Package Name must be set to a unique identifier, in the format com.Company.ProductName such as com.PurpleFinch.BusinessCard.
- In the Configuration section, fill in the Camera Usage Description with something like augmented reality to ask the user permission to use the camera.
- Again, Save Scene and Save Project.