How to test iphone app

hello, how do I test on the iphone device camera function? I have to pay an account in apple store?

If you want to test your camera on a device, you’ll need a developer account first. Its a requirement to setup the correct security profile for your app to be installed.