Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 12-16-2009, 01:02 AM   #1 (permalink)
Will Work for Food!
 
itzdark's Avatar
 
Join Date: Apr 2009
Posts: 579
Send a message via AIM to itzdark Send a message via MSN to itzdark
Default Unofficial Ad Hoc Distribution Guide / Tutorial

If after following this guide you still have problems here is a link that might point you in the right direction. If you come across any other useful links please PM or email me via the contact link in my sig so I can get them added to this guide. Thanks!

Quote:
Originally Posted by kemetokara View Post

1) Add the device UDID to your devices in the program portal
How to get the device UDID


2) Create and download an Ad Hoc Distribution Profile


3) Add an entitlements plist to your application.


__________________

Check out my apps

Developers, check out study buddy. I use it everytime I code. It's great for those late night coding sessions.
Unofficial Ad Hoc Distribution Guide || Join my cooperative ad hoc testing group
iSoothe Promotional Video
Contact Me

Last edited by itzdark; 02-23-2010 at 09:53 PM.
itzdark is offline   Reply With Quote
Old 12-16-2009, 01:03 AM   #2 (permalink)
Will Work for Food!
 
itzdark's Avatar
 
Join Date: Apr 2009
Posts: 579
Send a message via AIM to itzdark Send a message via MSN to itzdark
Default

4) Open the entitlements file and deselect the value


5) Open your project info window and duplicate one of the build configurations for the ad hoc distribution


6) On the build tab set the code signing entitlements to the entitlements file you just created


7) Set the code signing identity to your normal distribution profile
__________________

Check out my apps

Developers, check out study buddy. I use it everytime I code. It's great for those late night coding sessions.
Unofficial Ad Hoc Distribution Guide || Join my cooperative ad hoc testing group
iSoothe Promotional Video
Contact Me
itzdark is offline   Reply With Quote
Old 12-16-2009, 01:03 AM   #3 (permalink)
Will Work for Food!
 
itzdark's Avatar
 
Join Date: Apr 2009
Posts: 579
Send a message via AIM to itzdark Send a message via MSN to itzdark
Default

8) Set the child field of code signing identity to the ad hoc distribution profile you created (if you haven't already, you can add the profile to xcode by double clicking it, xcode will do the rest of the work)


9) Before you build make sure to "Build > Clean all Targets" to ensure it builds properly

10) Send the .app file and the ad hoc distribution profile to the person that will be installing the app.

Installing Ad Hoc Apps

If this does not work for you, I suggest re-downloading all your profiles / certificates and then making sure you are using the most current ones.
__________________

Check out my apps

Developers, check out study buddy. I use it everytime I code. It's great for those late night coding sessions.
Unofficial Ad Hoc Distribution Guide || Join my cooperative ad hoc testing group
iSoothe Promotional Video
Contact Me

Last edited by itzdark; 12-16-2009 at 02:51 AM.
itzdark is offline   Reply With Quote
Old 12-16-2009, 02:21 AM   #4 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

Awesome thanks!
WillSDev is offline   Reply With Quote
Old 12-16-2009, 02:31 AM   #5 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

What do u mean if it does not work? What do I do after building
WillSDev is offline   Reply With Quote
Old 12-16-2009, 02:48 AM   #6 (permalink)
Will Work for Food!
 
itzdark's Avatar
 
Join Date: Apr 2009
Posts: 579
Send a message via AIM to itzdark Send a message via MSN to itzdark
Default

Quote:
Originally Posted by WillSDev View Post
What do u mean if it does not work? What do I do after building
Well the method worked for me but you never know....

After you build it your done. You send the .app and the ad hoc profile to the person thats gonna install it. They drag the two files into the itunes library pane. sync and go

modified the end of the tutorial to include a link for instructions to install the app once its been built
__________________

Check out my apps

Developers, check out study buddy. I use it everytime I code. It's great for those late night coding sessions.
Unofficial Ad Hoc Distribution Guide || Join my cooperative ad hoc testing group
iSoothe Promotional Video
Contact Me

Last edited by itzdark; 12-16-2009 at 02:50 AM.
itzdark is offline   Reply With Quote
Old 12-16-2009, 02:50 AM   #7 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

ok so you drag the .app from the targets into an email? and the provisioning from where?

sorry im very confused by this process
WillSDev is offline   Reply With Quote
Old 12-16-2009, 02:53 AM   #8 (permalink)
Will Work for Food!
 
itzdark's Avatar
 
Join Date: Apr 2009
Posts: 579
Send a message via AIM to itzdark Send a message via MSN to itzdark
Default

Quote:
Originally Posted by WillSDev View Post
ok so you drag the .app from the targets into an email? and the provisioning from where?

sorry im very confused by this process
the ad hoc provisioning profile that you downloaded from the program portal at the begining of the tutorial.

I would just put both those files into a folder, zip and email
__________________

Check out my apps

Developers, check out study buddy. I use it everytime I code. It's great for those late night coding sessions.
Unofficial Ad Hoc Distribution Guide || Join my cooperative ad hoc testing group
iSoothe Promotional Video
Contact Me
itzdark is offline   Reply With Quote
Old 12-16-2009, 02:57 AM   #9 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

From other (confusing) tutorials they talked about how you can only use 1 provisioning per build. What do they mean
WillSDev is offline   Reply With Quote
Old 12-16-2009, 03:00 AM   #10 (permalink)
Will Work for Food!
 
itzdark's Avatar
 
Join Date: Apr 2009
Posts: 579
Send a message via AIM to itzdark Send a message via MSN to itzdark
Default

Not a clue. I would just do what this one says. It worked for me without problems.
__________________

Check out my apps

Developers, check out study buddy. I use it everytime I code. It's great for those late night coding sessions.
Unofficial Ad Hoc Distribution Guide || Join my cooperative ad hoc testing group
iSoothe Promotional Video
Contact Me
itzdark is offline   Reply With Quote
Old 12-17-2009, 08:21 PM   #11 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

Message Withdrawn

Last edited by WillSDev; 01-23-2010 at 12:13 AM.
WillSDev is offline   Reply With Quote
Old 12-17-2009, 08:52 PM   #12 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

Message Withdrawn

Last edited by WillSDev; 01-23-2010 at 12:13 AM.
WillSDev is offline   Reply With Quote
Old 12-17-2009, 11:08 PM   #13 (permalink)
Tutorial Author
 
Steaps's Avatar
 
Join Date: Oct 2008
Location: Ontario, Canada
Posts: 466
Default

Bookmarked, thanks!
Steaps is offline   Reply With Quote
Old 12-18-2009, 06:17 PM   #14 (permalink)
Will Work for Food!
 
itzdark's Avatar
 
Join Date: Apr 2009
Posts: 579
Send a message via AIM to itzdark Send a message via MSN to itzdark
Default

Quote:
Originally Posted by WillSDev View Post
God damnit! I can't deal with all this! None of this crap is working, and I don't want to screw up something I JUST paid 100 dollars to get. im 13 years old and that kind of money is a lot for me. In your tutorial you skipped like 5 steps which I can't figure out and Ive basically completely screwed up my project.
What parts are you unclear on?
__________________

Check out my apps

Developers, check out study buddy. I use it everytime I code. It's great for those late night coding sessions.
Unofficial Ad Hoc Distribution Guide || Join my cooperative ad hoc testing group
iSoothe Promotional Video
Contact Me
itzdark is offline   Reply With Quote
Old 12-20-2009, 09:09 PM   #15 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

The whole certificate setup...
WillSDev is offline   Reply With Quote
Old 12-20-2009, 09:40 PM   #16 (permalink)
Will Work for Food!
 
itzdark's Avatar
 
Join Date: Apr 2009
Posts: 579
Send a message via AIM to itzdark Send a message via MSN to itzdark
Default

Quote:
Originally Posted by WillSDev View Post
The whole certificate setup...
the xcode part or the program portal part?
__________________

Check out my apps

Developers, check out study buddy. I use it everytime I code. It's great for those late night coding sessions.
Unofficial Ad Hoc Distribution Guide || Join my cooperative ad hoc testing group
iSoothe Promotional Video
Contact Me
itzdark is offline   Reply With Quote
Old 12-20-2009, 10:05 PM   #17 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

Both... All over
WillSDev is offline   Reply With Quote
Old 12-20-2009, 10:08 PM   #18 (permalink)
Registered Member
 
Join Date: Dec 2009
Posts: 471
Default

I think my program portal setup and my whole certificate setup is messed up it doesn't look anything like urs
WillSDev is offline   Reply With Quote
Old 02-17-2010, 08:33 PM   #19 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 7
Default

One more issue. I tried for days to get Ad Hoc distribution working with devices other than my own and kept getting the error "entitlements are not valid". I did everything that was recommended on every blog and forum, but, nobody else could install the app on their device but me. I finally found the fix in the comments of a blog. So if all else fails when trying to have others (that are on PCs) try to install it follow these steps after a successful build.

From this site:
iPhone App Ad Hoc Distribution Gotchas JohnnyWorks

"I ONLY get ad-hoc build to work by making a Payload directory, copying my app in there (all in Finder!) and then right-clicking an compressing the payload dir and renaming the file to Something.ipa.
I tried writing scripts to automate this post ad-hoc build but I always had problems with that (signing issues)"

I then proceeded to walk over with a USB drive to the people who needed to test and viola it worked! Hope this keeps someone else from wasting days of their lives on stupid non-issues!
kemetokara is offline   Reply With Quote
Old 02-20-2010, 11:00 PM   #20 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 62
Default Thanks for this

Thanks. How long does the provision remain valid in your experience?
intomo is offline   Reply With Quote
Old 02-22-2010, 12:58 AM   #21 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 7
Default Should last a year

Quote:
Originally Posted by intomo View Post
Thanks. How long does the provision remain valid in your experience?
The distribution provision should last a year. I heard a couple of rumblings about it being changed to 6 months though. I've been working on apps for my company though, so I started out using my account to develop and then switched over to the company account to distribute and get it off my account. So, I've only run into the developer provision expirations which frustratingly happen every 90 days.
kemetokara is offline   Reply With Quote
Old 03-08-2010, 02:47 PM   #22 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 1
Default

Hi guys,

I want to test my app using a self-signed certificate without the Apple Developer Program in a jailbreak iPhone. I'm in the begining of the deployment, and I don't want to pay to Apple now for the program.

How can I do that?

thanks,

asanbr.
asanbr is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 268
18 members and 250 guests
ADY, Alsahir, dacapo, Dani77, Desert Diva, djohnson, Duncan C, F_Bryant, Grinarn, HemiMG, jansan, linkmx, M@realobjects, macquitzon216, prchn4christ, smethorst, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,882
Threads: 89,228
Posts: 380,762
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jansan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:48 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0