Question

This could be a noob question, but as a new ios "developer" I want to know how to connect my ios device to xcode?

I Need to find out how my new app looks on a device, and if it works!

Do I need to register my device on the apple dev programm? Or I could connect any device?

Sorry if this is a answered question here.

Était-ce utile?

La solution

You need to register the device to apple developer portal (you must be a registered, paid developer to test on a real device). And after that connect the device, open xcode organizer and set the device as developer device (so you can see logs while running your app on it). More info can be found here:

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/TestingYouriOSApp/TestingYouriOSApp.html

Autres conseils

To connect an iDevice you have to be enrolled in Apple's Developer Program. You can then register your iDevice on the dev. portal and will be able to connect it via the Xcode Organizer to your IDE.

You can then select this device on the top left side of your Xcode project to run your build on this device.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top