Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Unofficial Ad Hoc Distribution Guide

itzdarkitzdark Posts: 579Registered Users
edited March 2010 in iOS SDK Development
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!
kemetokara wrote: »


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

2) Create and download an Ad Hoc Distribution Profile
2.png

3) Add an entitlements plist to your application.
3.png

4.png
Post edited by itzdark on
<div align="center"> <a href="http://itunes.apple.com/us/artist/designedfordevice/id319258705" target="_blank"><br />
Check out my apps<br />
apps.png</a><br />
Developers, check out study buddy. I use it
· ·

Replies

  • itzdarkitzdark Posts: 579Registered Users
    edited December 2009
    4) Open the entitlements file and deselect the value
    5.png

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

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

    7) Set the code signing identity to your normal distribution profile
    8.png
    <div align="center"> <a href="http://itunes.apple.com/us/artist/designedfordevice/id319258705" target="_blank"><br />
    Check out my apps<br />
    apps.png</a><br />
    Developers, check out study buddy. I use it
    · ·
  • itzdarkitzdark Posts: 579Registered Users
    edited December 2009
    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.png

    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.
    <div align="center"> <a href="http://itunes.apple.com/us/artist/designedfordevice/id319258705" target="_blank"><br />
    Check out my apps<br />
    apps.png</a><br />
    Developers, check out study buddy. I use it
    · ·
  • WillSDevWillSDev Posts: 472Registered Users
    edited December 2009
    Awesome thanks!
    <b><font color="Blue">01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000
    · ·
  • WillSDevWillSDev Posts: 472Registered Users
    edited December 2009
    What do u mean if it does not work? What do I do after building
    <b><font color="Blue">01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000
    · ·
  • itzdarkitzdark Posts: 579Registered Users
    edited December 2009
    WillSDev wrote: »
    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
    <div align="center"> <a href="http://itunes.apple.com/us/artist/designedfordevice/id319258705" target="_blank"><br />
    Check out my apps<br />
    apps.png</a><br />
    Developers, check out study buddy. I use it
    · ·
  • WillSDevWillSDev Posts: 472Registered Users
    edited December 2009
    ok so you drag the .app from the targets into an email? and the provisioning from where?

    sorry im very confused by this process
    <b><font color="Blue">01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000
    · ·
  • itzdarkitzdark Posts: 579Registered Users
    edited December 2009
    WillSDev wrote: »
    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
    <div align="center"> <a href="http://itunes.apple.com/us/artist/designedfordevice/id319258705" target="_blank"><br />
    Check out my apps<br />
    apps.png</a><br />
    Developers, check out study buddy. I use it
    · ·
  • WillSDevWillSDev Posts: 472Registered Users
    edited December 2009
    From other (confusing) tutorials they talked about how you can only use 1 provisioning per build. What do they mean
    <b><font color="Blue">01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000
    · ·
  • itzdarkitzdark Posts: 579Registered Users
    edited December 2009
    Not a clue. I would just do what this one says. It worked for me without problems.
    <div align="center"> <a href="http://itunes.apple.com/us/artist/designedfordevice/id319258705" target="_blank"><br />
    Check out my apps<br />
    apps.png</a><br />
    Developers, check out study buddy. I use it
    · ·
  • WillSDevWillSDev Posts: 472Registered Users
    edited December 2009
    Message Withdrawn
    <b><font color="Blue">01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000
    · ·
  • WillSDevWillSDev Posts: 472Registered Users
    edited December 2009
    Message Withdrawn
    <b><font color="Blue">01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000
    · ·
  • SteapsSteaps Posts: 469Tutorial Authors, Registered Users
    edited December 2009
    Bookmarked, thanks!
    <div align="center"><b><a href="http://itunes.com/apps/quickevade" target="_blank">Evade - iPhone Game</a><br />
    <a href="http://itunes.com/apps/itasks" target="_blank">iTasks - Task Manager/Todo List</a><br />
    <a href="http://steaps.techaos.com/" targe
    · ·
  • itzdarkitzdark Posts: 579Registered Users
    edited December 2009
    WillSDev wrote: »
    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?
    <div align="center"> <a href="http://itunes.apple.com/us/artist/designedfordevice/id319258705" target="_blank"><br />
    Check out my apps<br />
    apps.png</a><br />
    Developers, check out study buddy. I use it
    · ·
  • WillSDevWillSDev Posts: 472Registered Users
    edited December 2009
    The whole certificate setup...
    <b><font color="Blue">01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000
    · ·
  • itzdarkitzdark Posts: 579Registered Users
    edited December 2009
    WillSDev wrote: »
    The whole certificate setup...

    the xcode part or the program portal part?
    <div align="center"> <a href="http://itunes.apple.com/us/artist/designedfordevice/id319258705" target="_blank"><br />
    Check out my apps<br />
    apps.png</a><br />
    Developers, check out study buddy. I use it
    · ·
  • WillSDevWillSDev Posts: 472Registered Users
    edited December 2009
    Both... All over
    <b><font color="Blue">01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000
    · ·
  • WillSDevWillSDev Posts: 472Registered Users
    edited December 2009
    I think my program portal setup and my whole certificate setup is messed up it doesn't look anything like urs
    <b><font color="Blue">01010111 01101111 01110111 00101100 00100000 01001010 01110101 01110011 01110100 01101001 01101100 01101100 00110100 00110101 00101100 00100000 01111001 01101111 01110101 01110010 00100000 01110011 01101111 01101111 01101111 00100000
    · ·
  • kemetokarakemetokara Posts: 7New Users
    edited February 2010
    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!
    · ·
  • intomointomo Posts: 62Registered Users
    edited February 2010
    Thanks. How long does the provision remain valid in your experience?
    · ·
  • kemetokarakemetokara Posts: 7New Users
    edited February 2010
    intomo wrote: »
    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.
    · ·
  • asanbrasanbr Posts: 1New Users
    edited March 2010
    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.
    · ·
Sign In or Register to comment.