I created an App that reads QR Codes, but I can't test it in the simulator because you can't use the camera in the simulator.
I know I should try it on a device, but should I buy the license to do so? Is there another way to test it? Otherwise I can't go ahead with the proje开发者_StackOverflow社区ct.
You have to subscribe to the apple developer program, in order to test on device. There are no other ways (AFAIK) to test against the device's camera.
However, you could import an image, into your app's bundle, and get your code to process that image rather than the camera input. This isn't a good way to test though, as it doesn't test your code against the real-world situation of a constantly changing camera input.
I'm editing my answer after seeing your comment that this is a university project that doesn't need to go into the app store.
The reality is that in the end, if this project needs to be deployed onto a device for any reason (whether for you to test, or for some lecturer to review your project etc), the application will need to be signed with the credentials from an actual paid account.
Guess the only question is how and who will create that account. E.g. if its a funded project or something, you could try including this cost in the plan.
Hope it all works out!
精彩评论