Discussion Forums  >  Uncategorized

Replies: 5    Views: 435

Trafalger
Aspiring developer
Profile
Posts: 14
Reg: Jun 12, 2011
Charlotte
140
06/12/11 05:48 PM (14 years ago)

Create IPA for distro

Hey guys, I know there is an easy answer for this but as a newbie developer I cannot for the life of me find out how to compile my app into an IPA to run on my iphone. I can run it great in the simulator and I have my Dev Cert already installed and my device provisioned. I just need an IPA to click on to add it to my iTunes. Any ideas?
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
06/12/11 06:04 PM (14 years ago)
You'll see a build option in xcode to build on device, have you done that? Once you do that it'll be on your phone for testing etc but not for distribution. It'll not be adding it to iTunes for you like that until release, unless you are one of those JB'ing types and just want your app on your phone. Make sense?
 
Trafalger
Aspiring developer
Profile
Posts: 14
Reg: Jun 12, 2011
Charlotte
140
like
06/12/11 06:16 PM (14 years ago)
When I try to build for the phone it totally craps out, simulator works great tho. I want to put the app on my iphone/ipad and my employees for testing. I thought xcode would generate an IPA for this.
 
Trafalger
Aspiring developer
Profile
Posts: 14
Reg: Jun 12, 2011
Charlotte
140
like
06/12/11 06:17 PM (14 years ago)
Building to device throws this error: CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 5.0'
 
Trafalger
Aspiring developer
Profile
Posts: 14
Reg: Jun 12, 2011
Charlotte
140
like
06/12/11 06:23 PM (14 years ago)
Got it to work, under build settings you have to set the Code Signing properties for your cert.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
06/12/11 06:23 PM (14 years ago)
Sounds like you have to sign the build. Before you build for iPhone select the project in xcode, then in second pane select target then scroll down third window and assign your dev cert. You can assign additional testers later or even go for an adhoc distro once you get it all working. Make sense?
 

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.