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.
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.
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
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.
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:
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.
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.