Zurich
Code is Art
Profile
Posts: 4
Reg: Feb 04, 2013
Zurich, Switzer...
240
03/06/13 10:55 AM (12 years ago)

Provisioning tips?

I've gotten my first app compiled and running in the simulator. Could someone help me by pointing out the latest instructions for compiling it and testing it on my iPhone? (starting from step 0). I've seen various discussions but some people pointed out that some of them were out of date. I have an iOS university team developer account. Thanks! Bobby
 
Frogman
Aspiring developer
Profile
Posts: 264
Reg: Jan 05, 2013
Bratislava
11,190
like
03/06/13 12:11 PM (12 years ago)
Hey Bobby, I cannot reproduce it by heart, but you need to go to the apple developer account, set up certificates, register your device and then choose your device in Xcode as target. I did it about a month ago intuitively, it was not difficult, I remember that when I was logged in it even offered me if I want to register my iPhone 4. This part can be done quite without excessive pain. Of course when loading an app into your test device you need to code sign in Xcode with your developer certificate. The real fun is the provisioning portal code signing process for AppStore. Fortunately there is a great tutorial by GoNorthWest in the How To's (right next to Forums). One thing that is not covered too much is that you need to obtain a certificate for every single app... so read the provisioning portal documentation, they simply want you to read it. It is quite illogical and the purpose is that you must read a lot of Apple documents. Good luck. Frogman
 
Zurich
Code is Art
Profile
Posts: 4
Reg: Feb 04, 2013
Zurich, Switzer...
240
like
03/06/13 02:02 PM (12 years ago)
Thanks for the tips. I think I got through the certificate steps, but then had a code-signing error. Is there a good tutorial about this step?
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
03/06/13 02:05 PM (12 years ago)
you need to assign your certs under the build settings in Xcode. So click on your project name (left had side of Xcode, right at the top above all of your project folders. then in the middle of the screen, click on the targets, then you should see build settings tab, where you can scroll down to the code signing section
 
Frogman
Aspiring developer
Profile
Posts: 264
Reg: Jan 05, 2013
Bratislava
11,190
like
03/06/13 02:26 PM (12 years ago)
In the code signing section sign it as iPhone developer. Hit build and you should be ready to go. It takes about a minute until you see your app in the phone. Let us know how did it go! Cheers, Frogman
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
03/06/13 03:07 PM (12 years ago)
Not an uncommon issue that people run into! If you have all your Certificates sorted it should be plain sailing. - Add you device/s in the provisioning portal. - Go to 'Development'and download a profile - ensure the box is checked that correlates to your device/s - Drag the profile into xcode and it should assign to the device. - Go to 'Build Settings' target and change the profile to the one assigned to your device. Build and run and you should be in business :)
 
Zurich
Code is Art
Profile
Posts: 4
Reg: Feb 04, 2013
Zurich, Switzer...
240
like
03/06/13 03:13 PM (12 years ago)
Thanks, I'll give it a try in a little while! I thought it would be smart to ask here first because I saw several other threads that went on for pages about code signing. Did the process get easier since then?
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
03/06/13 03:16 PM (12 years ago)
What i've explained is for development. When you are ready to upload to Apple there is another process, basically the same as Development but for distribution. It can be more tricky for adding things like push notifications but there is always a helping hand here.
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
03/06/13 04:56 PM (12 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.