alan
alan

Reputation: 187

iPhone App Ad Hoc Distribution Issue - "Failed to sync"

Just getting back into iPhone dev after almost two years off (last dev'd on iOS3) and I'm getting grief while trying to do an ad hoc distribution.

I:

Knowing that this was likely an issue with the profile I started from scratch and:

I'm not 100% sure of my target and build settings. Here are screen shots of the relevant sections in case it helps:

Target Code Signing (the correct profile is selected): Target Code Signing

Project Configuration:
Project Configuration

I've been advised in another post to refer to the documentation but I have been unable to locate specific information on these settings. I still have doco on how to do it in Xcode 3.x but it doesn't sdeem to be doing me much good here.

Thanks in advance,

Alan.

Upvotes: 1

Views: 2294

Answers (2)

alan
alan

Reputation: 187

A big thanks to you Sebastian. Your post didn't directly answer my issue but switching to using the Organiser got me one step further and finally led me to a post that pointed out the critical detail:

Can be debugged must be set to NO for ad hoc distributions in Entitlements.plist

That was my problem and I have now successfully installed after making the change.

Upvotes: 1

Seb T.
Seb T.

Reputation: 1124

See a previous post of mine related to AdHoc application deploy.

I guess the way to do it properly, is to use the Organizer and not iTunes Sync.

Note about your screenshots : The only issue I noticed is the Code Signing Identity in Debug should use debug provisioning profile and not distribution one.

Hope this helps.

Upvotes: 1

Related Questions