Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.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 08-06-2008, 10:32 PM   #1 (permalink)
Registered Member
 
Join Date: Aug 2008
Posts: 16
derek13 is on a distinguished road
Default Application failed codesign verification

I am up to a point where I am ready to submit my application to the iTunes store.

When I try uploading my app with the ApplicationLoader, I keep on getting the error message "Application failed codesign verification".

I followed Apple's instructions to use the distribution signing profile and etc. and also went back step by step again created another singing profile to see if it would work, but no luck

Did anyone experience this before or have any ideas that may solve this issue?

Thanks in advance!
derek13 is offline   Reply With Quote
Old 08-06-2008, 11:15 PM   #2 (permalink)
mr.
 
refreshe's Avatar
 
Join Date: Jul 2008
Location: SF, California | Melbourne, Australia
Posts: 346
refreshe is on a distinguished road
Default

make sure you have created Entitlements.plist in the root of the project, with one bool value "get-task-allow" set to false.

then you have to go into the build info window and set the Code Sign Entitlements to Entitlements.plist


that's what fixed it when i had that problem. my outdated guide didn't have it. took me a while to get that answer from someone
refreshe is offline   Reply With Quote
Old 08-07-2008, 06:40 AM   #3 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 91
danzaph is on a distinguished road
Default

It sounds like the Bundle identifier is bad. Eithger it does not match your Provisioning Profile or the app unique portion has an illegal character in it. If you use a Bundle identifier like com.yours.${PRODUCT_NAME} and the app name has an unallowable character in it, like a space then it wont work. Best to use a Bundle identifier like com.yours.myAppName. The com.yours needs to match your Provisioning Profile like com.yours.*.
danzaph is offline   Reply With Quote
Old 08-15-2008, 11:09 PM   #4 (permalink)
Registered Member
 
Join Date: Aug 2008
Posts: 8
benwulf is on a distinguished road
Default

I had the same problem, here was the cause:
at the project level you want to set your code signing identity, BUT LEAVE THE PROVISIONING PROFILE TO DEFAULT.
Then at the target level you have to set both the code signing identity and the provisioning profile.

If you fail to do that the package will be signed but not interpreted correctly by itunes connect.
blog post where I found the fix

Benwulf
benwulf is offline   Reply With Quote
Old 08-16-2008, 12:31 AM   #5 (permalink)
Some guy
 
MattCairns's Avatar
 
Join Date: Jul 2008
Location: Canada
Posts: 103
MattCairns is on a distinguished road
Send a message via AIM to MattCairns
Default

Quote:
Originally Posted by benwulf View Post
I had the same problem, here was the cause:
at the project level you want to set your code signing identity, BUT LEAVE THE PROVISIONING PROFILE TO DEFAULT.
Then at the target level you have to set both the code signing identity and the provisioning profile.

If you fail to do that the package will be signed but not interpreted correctly by itunes connect.
blog post where I found the fix

Benwulf
This worked for me but maybe apple should remove that from the instructions because they tell you to do that lol.
MattCairns is offline   Reply With Quote
Old 08-16-2008, 12:41 AM   #6 (permalink)
Registered Member
 
Join Date: Aug 2008
Posts: 8
benwulf is on a distinguished road
Default

Quote:
Originally Posted by MattCairns View Post
This worked for me but maybe apple should remove that from the instructions because they tell you to do that lol.
I agree, that is what step 4.6 tells you to do
benwulf is offline   Reply With Quote
Old 08-27-2008, 04:45 PM   #7 (permalink)
Registered Member
 
Join Date: Aug 2008
Posts: 2
RS8a is on a distinguished road
Default

Quote:
Originally Posted by danzaph View Post
It sounds like the Bundle identifier is bad. Eithger it does not match your Provisioning Profile or the app unique portion has an illegal character in it. If you use a Bundle identifier like com.yours.${PRODUCT_NAME} and the app name has an unallowable character in it, like a space then it wont work. Best to use a Bundle identifier like com.yours.myAppName. The com.yours needs to match your Provisioning Profile like com.yours.*.
where I look if the Provisioning Profile and com.yours.${PRODUCT_NAME} are the same.


Sorry my bad english but I don't know so much

Pleas contact me in roberto.sandoval@ebsolutions.ws

Last edited by RS8a; 08-28-2008 at 08:51 AM.
RS8a is offline   Reply With Quote
Old 05-28-2009, 09:37 PM   #8 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 142
Sunny Day is on a distinguished road
Default

Whats the end answer on this.

I uploaded just fine with a small app on the itunes connect web page uploaded, but Im trying to upload a new app with the ApplicationLoader, but am getting the "Application failed codesign verification".

I am unsure what I am supoosed to be doing different.
I hear you saying.

Quote:
at the project level you want to set your code signing identity, BUT LEAVE THE PROVISIONING PROFILE TO DEFAULT.
Then at the target level you have to set both the code signing identity and the provisioning profile.
This has got my head spinning here. The only way I know of setting profiles is through the target file and then info. I am not sure what you are doing when you say project level you want to set your code signing identity.

Then you say
Then at the target level you have to set both the code signing identity and the provisioning profile.
Thats what we do normally dont we, under build/codesigning we add provision profile and then properties identifier.

What am I missing here please.
Sunny Day is offline   Reply With Quote
Old 05-28-2009, 10:44 PM   #9 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 91
danzaph is on a distinguished road
Default

Quote:
Originally Posted by Sunny Day View Post
Whats the end answer on this.

The only way I know of setting profiles is through the target file and then info. I am not sure what you are doing when you say project level you want to set your code signing identity.

What am I missing here please.
If you double click the project icon, the very top left icon in the Xcode window you get the ability to set project wide settings.
danzaph is offline   Reply With Quote
Old 05-29-2009, 12:12 PM   #10 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 142
Sunny Day is on a distinguished road
Default

Do you mean fig 1
or Fig 2
we can open fig 2, go to fig 3
that opens showing bottom image.
by default its set to fig 4.
but when I sign apps I go target, info, then I go to fig 5 when i do normal signing for apps. Thats what the apple tutorials say to do.
Sunny Day is offline   Reply With Quote
Old 05-29-2009, 12:41 PM   #11 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 91
danzaph is on a distinguished road
Default

Remove all code signing from the project level (1), put it only in the target (2). It looks like you have the code signing in the project.
Attached Images
File Type: png untitled.png (10.5 KB, 28 views)
danzaph is offline   Reply With Quote
Old 05-29-2009, 01:31 PM   #12 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 142
Sunny Day is on a distinguished road
Default

clicking your thumbnail doesnt work

it gives this

Quote:
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

1. You are not logged in. Fill in the form at the bottom of this page and try again.
2. You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
3. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
even though one is logged in, or logs in again
Id like to see the image as a picture paints a thousand words.

How I do this is just to go target, info, then fill in the details
in the shot you see me open fig 2 and project and edit project settings, I thought you are saying do something with that, I dont normally touch it at all.
Perhaps you are saying go to the project, and where I have fig 4, put dont code sign,
then do what the apple tuts say normally, and you go to target info, and add the code signing.

Is this what you are saying?
Id try imageshack for your image, I think unless posters here are at a certian posting level, they dont get to see images that are hosted through the forums servers, as it gives me an error.

I think it would help if this thread points the way, it comes up high in search engines and it has a lot of views, I think a lot of people have this problem.

Last edited by Sunny Day; 05-29-2009 at 01:38 PM.
Sunny Day is offline   Reply With Quote
Old 05-29-2009, 01:51 PM   #13 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 91
danzaph is on a distinguished road
Default

Quote:
Originally Posted by Sunny Day View Post
clicking your thumbnail doesnt work
Image upload does not work for me, go to this link:
http://zaph.com/target.png
If you haven't figured out that there are two places to make settings go to the Apple Xcode docs: iphone_developer_program_user_guide__standard_prog ram_v2.4.
Attached Images
File Type: gif target.gif (13.0 KB, 7 views)

Last edited by danzaph; 05-29-2009 at 01:55 PM. Reason: Image upload is not working.
danzaph is offline   Reply With Quote
Old 05-29-2009, 02:29 PM   #14 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 142
Sunny Day is on a distinguished road
Default

Didnt Work, perhaps I miss something

in your number 1 I went
to my fig 2 then 3, then put in dont code sign.

then in target and then code signing, I put my fig 5, as I sign all apps with fig 5.

I then used application loader, and it didnt work, does fix it, perhaps I miss a step or I should of vioded something else, I dont now.

Anything I missed here? More steps?

Last edited by Sunny Day; 05-29-2009 at 02:57 PM.
Sunny Day is offline   Reply With Quote
Old 05-29-2009, 03:25 PM   #15 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 91
danzaph is on a distinguished road
Default

Quote:
Originally Posted by Sunny Day View Post
I then used application loader, and it didnt work
I never use the standalone uploader, just the web page.

Best advice: Follow the instructions in the Apple doc I referenced. Match _every_ screenshot _exactly_. This includes a clean build and quit/restart.

Perform the code signing checks outlined in the doc.
danzaph is offline   Reply With Quote
Old 05-29-2009, 03:42 PM   #16 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 142
Sunny Day is on a distinguished road
Default

Quote:
I never use the standalone uploader, just the web page.
Then we are back at stage 1 then, the whole thread is from the OP

When I try uploading my app with the ApplicationLoader, I keep on getting the error message "Application failed codesign verification".

So everything we just discused, the screenshots, thats all a waste of time, I stated, it works when I use the web page, this thread is about the ApplicationLoader
Sunny Day is offline   Reply With Quote
Old 04-03-2010, 05:03 AM   #17 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 1
blueyo is on a distinguished road
Default crazy

It tooks me days - but make sure you use the Distribution Provisioning - it was usefull to follow this advices: Sign in with your Apple ID - Apple Developer
blueyo is offline   Reply With Quote
Old 06-03-2010, 08:24 PM   #18 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 2
sdkgianfry is on a distinguished road
Default Apple Documentation doesn't say so

Apple documentation says you need to create Entitlements.plist only when submitting an App for AD HOC DISTRIBUTION

Entitlements.plist is not necessary for AppStore



Quote:
Originally Posted by refreshe View Post
make sure you have created Entitlements.plist in the root of the project, with one bool value "get-task-allow" set to false.

then you have to go into the build info window and set the Code Sign Entitlements to Entitlements.plist


that's what fixed it when i had that problem. my outdated guide didn't have it. took me a while to get that answer from someone
sdkgianfry is offline   Reply With Quote
Old 06-03-2010, 08:34 PM   #19 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 2
sdkgianfry is on a distinguished road
Default Application failed codesign verification. The signature was invalid, or it was not si

I'm experiencing this error...:
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple subsission certificate (-19011)"


In my keychain everything seems alright, I got all the keys linked with certificates
I got also the WorldWide...Certificate


I tried with a general App Id like this generatedcode.*
and with and explicit App Id like this generatedcode.com.myname.appname
and changed the profile


In Xcode organizer I have both Development and Distribution profiles correctly installed

but when I build all my apps, there's no CODE SIGNING...
and in Build Results I find this:
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple subsission certificate (-19011)"

I sent a mail to Apple support with no useful answer

can anybody help ?
Thanks in advance




Quote:
Originally Posted by sdkgianfry View Post
Apple documentation says you need to create Entitlements.plist only when submitting an App for AD HOC DISTRIBUTION

Entitlements.plist is not necessary for AppStore
sdkgianfry is offline   Reply With Quote
Old 07-21-2010, 06:34 AM   #20 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 9
mavster07 is on a distinguished road
Default

Quote:
Originally Posted by refreshe View Post
make sure you have created Entitlements.plist in the root of the project, with one bool value "get-task-allow" set to false.

then you have to go into the build info window and set the Code Sign Entitlements to Entitlements.plist


that's what fixed it when i had that problem. my outdated guide didn't have it. took me a while to get that answer from someone
Hi

A bit confused on the entitlements.plist file. Do you have a snapshot or contents of the file as to what it contains ?

Mine contains the following (not sure if its correct or has too much info - i generated the default and had to add in get-task-allow and left it unchecked, which is FALSE):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!--- Required entitlements (in most cases shouldn't be changed) --->
<key>application-identifier</key>
<string>$(AppIdentifierPrefix)$(CFBundleIdentifier )</string>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)$(CFBundleIdentifier )</string>
</array>

<!--- Custom entitlements below --->


</dict>
</plist>
mavster07 is offline   Reply With Quote
Old 08-01-2010, 07:03 AM   #21 (permalink)
Registered Member
 
Join Date: Oct 2009
Posts: 1
alexshemesh is on a distinguished road
Default

I had this error too.
When it comes to bureaucracy there is really no one like Apple.Every time i had to submit my application it takes 2 days of work no matter what i do or how close i follow Apple instructions.
Anyway here is some tips.
1.When you build your project XCode gives you warnings , make sure you clear as much warnings that mention plist file or Build signing.
In my case it gave me some weird waring about enabling Validate Build product. in Target into page.
2.Clear all settings about Code Signing and Entitlemens in Projects Info.
3.Clear Code Signing Entitlements line in Target Info page.
4.Set Code Signing Identity to Automatic profile selector for Distribution
5.My biggest mistake was that i tried to modify wrong plist file, check out that you have only one plist file in your project and delete all others plist files.
6. Pray to your personal God as often as you can and ask him to make it work, because in my experience this is only thing that really helps to overcome the problems with application submission to App Store.
alexshemesh is offline   Reply With Quote
Old 09-29-2010, 01:29 PM   #22 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 2
blacknyellow11 is on a distinguished road
Default

Im having this same problem and i've tried everything!!!!!! its driving me crazy any help would be greatly appreciated i have no more ideas on what to try
blacknyellow11 is offline   Reply With Quote
Old 12-29-2010, 01:17 AM   #23 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 7
bniu is on a distinguished road
Default

Quote:
Originally Posted by Sunny Day View Post
Do you mean fig 1
or Fig 2
we can open fig 2, go to fig 3
that opens showing bottom image.
by default its set to fig 4.
but when I sign apps I go target, info, then I go to fig 5 when i do normal signing for apps. Thats what the apple tutorials say to do.
THANK YOU!!! YOU SOLVED MY ISSUE!!! Your pictures are worth 10K words!
bniu is offline   Reply With Quote
Old 12-30-2010, 02:16 AM   #24 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 2
birdkk is on a distinguished road
Default

Create and download your iOS Distribution Provisioning Profile for App Store Distribution

https://developer.apple.com/ios/mana...n/index.action
birdkk is offline   Reply With Quote
Old 03-27-2011, 01:29 AM   #25 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 6
dnaapplab is on a distinguished road
Default

I solved the problem!! my case was i build using simulator rather than the actual devices. i wasted my own time!!!
dnaapplab 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
» Online Users: 331
9 members and 322 guests
chiataytuday, coolman, givensur, ipodphone, jbro, mtl_tech_guy, Punkjumper, vilisei, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,113
Posts: 402,881
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

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