简体   繁体   中英

Testing app project on iphone device

I want to know if it's possible to test your app proj on a apple device without submitting the app. Something like plugging in your iPhone with USB cable and run the test app there.

I want to try testing out UIImagePicker camera function but I read that it will require a device that have a camera and that the simulator will not work.

I tried google for alternative way, but I cant seem to find any solution. Can anyone guide me to the right direction of how I should approach this method? Any help would be greatly appreciated.

Certainly you can, and in fact must, test on actual iOS devices before submitting your app to the app store. There are a few issues that can crop up in development (although substantially less nowadays) that you don't see in the simulator. Occasionally you'll also find a bug that only shows up on one kind of device (3GS) and not another (4S)

You need to provision your device for development mode. This will require paying $99/year to apple for the iOS Developer Program. There is plenty of documentation for how to do this within the developer site:

https://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/YourFirstAppStoreSubmission/TestYourApponManyDevicesandiOSVersions/TestYourApponManyDevicesandiOSVersions.html

You can do so if you purchase an app developer license. Then you can build and push as many apps as you can store to your device. It costs $99/year for an individual license

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM