Skip navigation
This discussion is archived

[iphone] ad hoc distrib

40159 Views 62 Replies Latest reply: Apr 27, 2009 2:37 PM by Cathryn Mataga RSS
  • kingsoul8 Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jul 14, 2008 2:27 PM (in response to alindsay)
    I gave it the weekend. Went back today and started from scratch but still no go.

    alindsay,
    please tell us how you did it. Is there something you did that isn't in the pdf?

    Thanks,
    Sam
    iMac 2.16 GHz Intel Core 2 Dou, Mac OS X (10.5.3)
  • trwarren239 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 14, 2008 5:13 PM (in response to kingsoul8)
    there is an updated pdf on installing multiple apps (link is on the main iphone dev page after you login). It now says to remove the code sign string on the project info page and leave the profile there as the default string; then, on the target info page enter the iphone distribution: companyname string for code sign and the corresponding provisioning file in the profile string area. However, I did all that and still get the E8000001 error, so not sure if its accurate yet (although I don't have a company name, so just entered my first and last name - which corresponds to the certificate.

    good luck
    Mac OS X (10.5.4)
  • whosyourtator Calculating status...
    Currently Being Moderated
    Jul 14, 2008 6:17 PM (in response to johne-dm)
    No go for me. I tried the instructions as well and all I get is the 0xE8000001 on my wife's phone which is not provisioned for development.
    Macbook Pro, Mac OS X (10.5.4), 2.4 GHz
  • Chris Born Calculating status...
    Currently Being Moderated
    Jul 14, 2008 7:24 PM (in response to johne-dm)
    I am getting rather annoyed by this whole process. Now with 3 device in my home, I can not get Ad Hoc to work on anything. I have an app in the store, and it works, great. The only way I can put apps on devices for testing is with development profiles. I really need to be able to send outside testers the apps for pounding.

    The directions re pretty straight forward, but iTunes fails every time to install it. There has got to be a better way of verifying and doing this.
  • dstewartms Calculating status...
    Currently Being Moderated
    Jul 14, 2008 7:50 PM (in response to Chris Born)
    Another "me too" but I've submitted this issue to Apple's bug reporting as issue #6075508.

    I'll let everyone on this thread know if I get a resolution!
    MacBook Pro, Mac OS X (10.5.4), iPhone 2.0
  • kingsoul8 Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jul 17, 2008 2:31 PM (in response to dstewartms)
    I have been out for a couple of days.

    Did this issue get resolved?
    iMac 2.16 GHz Intel Core 2 Dou, Mac OS X (10.5.3)
  • dstewartms Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jul 17, 2008 10:42 PM (in response to kingsoul8)
    Not resolved yet, I wish! However, this morning, Apple did ask me for more information, as unfortunately I didn't copy my entire log over, and they were looking for a specific line in the error output, which was:

    Thu Jul 17 09:20:48 unknown mobileinstallationproxy[2558] <Error>: entitlement 'get-task-allow' has value not permitted by provisioning profile

    Not sure what that means, but they were specifically looking for that.
    MacBook Pro, Mac OS X (10.5.4), iPhone 2.0
  • Lite beam Calculating status...
    Currently Being Moderated
    Jul 17, 2008 11:45 PM (in response to johne-dm)
    A Terminal one-liner to get the iPhone/iPod identifier:

    $ system_profiler SPUSBDataType | grep 'Serial Number'


    An easier way to get the iPhone/iPod identifier:

    1. About this Mac in the Apple menu
    2. Click more info
    3. Click USB under Hardware
    4. Select iPod under USB High-Speed Bus
    5. Copy the string after Serial Number: ,that is the identifier
    iPod, Mac OS X (10.5.4), Developer XCode Organizer iTunes invisible
  • dstewartms Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jul 19, 2008 4:58 PM (in response to dstewartms)
    SOLVED.

    First, look at your ad-hoc provisioning file in text edit (just view it, don't overwrite it!)

    If it does NOT contain a line that says "<key>get-task-allow</key>" then you need to go to the program portal and get a NEW ad-hoc provisioning profile. There is a workaround where you can use the provisioning profile without this key, but Apple apparently has added this key to the ad-hoc provisions, and you might as well have the latest.

    However, that is not the final fix.

    The next thing you have to do is add a new file to the root of your project ... file, new file, iphone, code signing, entitlements. Call it "dist.plist" ...

    Open that file, and it will say "get-task-allow" with a checkmark for "true" -- this needs to be FALSE. Uncheck the checkbox, or if in text mode, type in "false"

    OK, almost there!!!

    Open the target build info window and where it says "Code Signing Entitlements" add "dist.plist"

    +*CLEAN THE BUILD*+

    BUILD AND GO

    ENJOY.
    MacBook Pro, Mac OS X (10.5.4), iPhone 2.0
  • blazespinnaker Level 1 Level 1 (55 points)
    Currently Being Moderated
    Jul 19, 2008 6:20 PM (in response to dstewartms)
    No luck. Tried on both itunes and xcode. Got a new file which had the above tag (the previous didn't), and created dist.plist, unchecked the option, and set it as entitlements in my release file.

    Still getting a signing error.

    Haven't restarted the computer yet. If others are going to try this, and it doesn't want to work, maybe try restarting everything .. computer / iPhone / xcode / etc.
    blazespinnaker, Mac OS X (10.5.4)
  • MrThulin Calculating status...
    Currently Being Moderated
    Jul 19, 2008 7:26 PM (in response to dstewartms)
    I got it to work on my phone. Trying it on a buddy's right now. Will report back.
    MacBook Pro, Mac OS X (10.5.4), iPhone 3G
  • MrThulin Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 19, 2008 8:05 PM (in response to MrThulin)
    Ad-hoc seemed to work for my buddy too. Glad to see it working!
    MacBook Pro, Mac OS X (10.5.4), iPhone 3G
  • dstewartms Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jul 19, 2008 8:27 PM (in response to blazespinnaker)
    Blazespinnaker: What's the output in your XCode Organizer's console window when you deploy in xcode? There are other entitlements that it may be complaining about (you might have the old "forgetting the * in the app id" problem instead.
    MacBook Pro, Mac OS X (10.5.4), iPhone 2.0
  • RainPacket Level 1 Level 1 (40 points)
    Currently Being Moderated
    Jul 19, 2008 8:45 PM (in response to MrThulin)
    Was this with or without binding to specific devices in the Ad Hoc mobileprovision file?
    MacBook Pro, Mac OS X (10.5.3)
  • philippe furlan Calculating status...
    Currently Being Moderated
    Jul 19, 2008 8:50 PM (in response to dstewartms)
    dstewartms, it works following your explaination!

    BRAVO

    How did you get this information? It is ok if you do not want to say. At least you find the Solution for ADHoc distribution, I will be able to start beta testing my app

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.