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 04-02-2009, 10:57 AM   #1 (permalink)
New Member
 
Join Date: Feb 2009
Location: Houston, TX
Posts: 40
Default Adhoc install error and Keychain weirdness

I posted this at the end of another thread, but that's probably not such a good idea, since it's kind of buried, so I'm re-posting here...

I'm getting the "could not be verified" error when trying to sync from iTunes to the testing Touch.

My Target and App builds are the same, and according to my Touch the adhoc distro profile installed is verified. However, I'm not sure if the keychain setup is correct. On the KeychainScreen1 file you'll see I have both the Developer and Distribution certs, and both SAY they are associated with the private key of my name. However, on the KeychainScreen2 file, under my name private key, only the Developer cert is listed. Huh?

Attached are some screen caps, showing all the settings I can think of which would be relevant (5 here, the rest on the next post). Can anyone spot an issue? I get the same "application was not installed because it could not be verified" message, when trying to adhoc to myself (the Touch is hooked up to an XP machine). The UDID is correct, on the listing of devices associated with this distribution.

Also I noticed in iTunes that the icon for the app is a generic UIB type icon, rather than the one specified in the Info.plist file. The png itself *is* in the .app folder I'm dragging to iTunes for installation, and it's spelled the same (with same case sensitivity) as what's in the plist file, so that's a little odd, as well.

Ideas?

Thanks.
Attached Images
File Type: jpg XcodeScreen1.jpg (89.5 KB, 12 views)
File Type: jpg XcodeScreen2.jpg (90.4 KB, 5 views)
File Type: jpg KeychainScreen2.jpg (39.1 KB, 7 views)
File Type: jpg KeychainScreen1.jpg (46.8 KB, 7 views)
File Type: jpg AdhocProvProfile.jpg (30.0 KB, 7 views)
shaendra is offline   Reply With Quote
Old 04-02-2009, 11:00 AM   #2 (permalink)
New Member
 
Join Date: Feb 2009
Location: Houston, TX
Posts: 40
Default remaining screen caps

Apparently we can only have 5 attachments in a post, heh. Here are the rest. The UDID shown here does match what's in iTunes/on the Touch. I used the AdHoc helper app to get it, as well, so it wasn't hand-typed or anything like that.

I'm kind of a at a loss, and hope it's just something small and simple that's been overlooked. This is now being developed on an Intel mini. I have tried restarting Xcode, and cleaning targets and rebuilding, but still get the same error when I drag the .app folder to iTunes and then try to sync.
Attached Images
File Type: jpg AppID.jpg (38.8 KB, 6 views)
File Type: jpg RegisteredDevice.jpg (23.0 KB, 6 views)
File Type: jpg UDID.jpg (20.9 KB, 6 views)
shaendra is offline   Reply With Quote
Old 04-02-2009, 12:49 PM   #3 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 4
Default

1) when I click on my 'keys' in the keychain access I see a private key associated with each certificate. So I see a private key associated with my developer certificate and a private key associated with my distribution certificate. It seems weird that you have only one private key associated to your developer certificate. You may want to redo that certificate issuing part again.

2) In the Info.plist, check that your Bundle Identifier matches the App ID of your provisioning profile. For example, my Info.plist Bundle Identifier is 'com.zenvita.com.${PRODUCT_NAME:identifier'. My App ID is '6VKUTDF7TL.com.zenvita.com.*'

The * means match to any characters (although I heard you need to use UTF-8).

Quote:
Originally Posted by shaendra View Post
Apparently we can only have 5 attachments in a post, heh. Here are the rest. The UDID shown here does match what's in iTunes/on the Touch. I used the AdHoc helper app to get it, as well, so it wasn't hand-typed or anything like that.

I'm kind of a at a loss, and hope it's just something small and simple that's been overlooked. This is now being developed on an Intel mini. I have tried restarting Xcode, and cleaning targets and rebuilding, but still get the same error when I drag the .app folder to iTunes and then try to sync.
gfxblit is offline   Reply With Quote
Old 04-02-2009, 01:07 PM   #4 (permalink)
New Member
 
Join Date: Feb 2009
Location: Houston, TX
Posts: 40
Default

Quote:
Originally Posted by gfxblit View Post
1) when I click on my 'keys' in the keychain access I see a private key associated with each certificate. So I see a private key associated with my developer certificate and a private key associated with my distribution certificate. It seems weird that you have only one private key associated to your developer certificate. You may want to redo that certificate issuing part again.

2) In the Info.plist, check that your Bundle Identifier matches the App ID of your provisioning profile. For example, my Info.plist Bundle Identifier is 'com.zenvita.com.${PRODUCT_NAME:identifier'. My App ID is '6VKUTDF7TL.com.zenvita.com.*'

The * means match to any characters (although I heard you need to use UTF-8).
Ah-hah, I think that MIGHT be it. Looking at the Info.plist file contents I see:

Code:
        <key>CFBundleIdentifier</key>
        <string>com.yourcompany.TABS</string>
I didn't use the wildcard on the App ID of the provisioning profile, but I sure as heck didn't use "yourcompany" as part of the identifier string, LOL! I'll try correcting that to match the App ID info, and rebuilding when I get home. Hopefully that'll fix the problem.

Thanks
shaendra is offline   Reply With Quote
Old 04-02-2009, 08:57 PM   #5 (permalink)
New Member
 
Join Date: Feb 2009
Location: Houston, TX
Posts: 40
Default That was it

Quote:
Originally Posted by gfxblit View Post
2) In the Info.plist, check that your Bundle Identifier matches the App ID of your provisioning profile. For example, my Info.plist Bundle Identifier is 'com.zenvita.com.${PRODUCT_NAME:identifier'. My App ID is '6VKUTDF7TL.com.zenvita.com.*'
This was the problem! I had left "yourcompany" in the identifier string, rather than replacing it with what I had on the App ID (tappingapps, in this case). Changed that, rebuilt and voila, it installs and syncs. Success! I officially have a Hello World app on my Touch.

Thanks, man!
shaendra 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
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,765
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

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