r/iOSProgramming • • Sep 22 '18

Question Hi Everyone! How to deploy App onto iPhone from XCode without Developer License? Sorry if it has been asked before

Hi Everyone,

Sorry if this has been asked before, I couldn't find anything similar.

I made an app on XCode and I want to install this app only onto my iPhone. Do I need to purchase the developer license if I just want to install it only on my phone?

0 Upvotes

9 comments sorted by

4

u/therealt00lz Sep 22 '18

You can do it with the free developer license, like to test on your own phone... when you run your program to the simulator you can change it to your own device if it’s plugged in

2

u/casualcups243 Sep 22 '18

Gotcha. And will I be able to test it on my phone without it being plugged into the computer?

2

u/therealt00lz Sep 22 '18

Yes, Once you load the program, you can run it once it’s unplugged.

2

u/casualcups243 Sep 22 '18

Thank you. Do you know if there's an official guide or post that shows a tutorial on how to load the app onto my phone? Thanks again.

2

u/therealt00lz Sep 22 '18

I haven’t seen one, basically you need the free developer account to sign the app. That happens when you start the project in Xcode. Then plug in your phone and at the top of Xcode where you choose the simulator version, you can scroll and choose a connected device. Hit The play button or (cmd r) and it puts it on your phone.

The first time you try to run it on your phone it will tell you to go to settings on your phone and trust your developer account and then you can build and run as much as you like...

It’s really simple, the hard part is learning to build the apps... that’s where I’m at now 😂

3

u/casualcups243 Sep 22 '18

Haha same. I made a simple app and didn't want to pay the high price for an extremely insignificant app. I'm surprised that just running it will completely load the app onto the phone...thought it would've been a much longer progress lol. Thanks for the help though!

1

u/itchy_cat Sep 22 '18

Mind that your app will only run for a week, a limitation of free provision profiles. After that you need to connect to Xcode and reload the app onto your phone, and it will run for another week.

1

u/[deleted] Sep 22 '18

Apple has a great guide, google it... setting up Xcode Apple

Basically once you’ve set Xcode up, plugged your iPad in, set it to trust your computer, you can go to the menu — code - destination - choose your iPad or iPhone in the drop down and compile. You might have to go to your iPad setting and trust your developer certificate. This part is in the setting up Xcode.

You do not need a developer subscription for this anymore.