codesign error and static libraries?

20 views
Skip to first unread message

jan

unread,
Aug 25, 2009, 8:34:29 AM8/25/09
to phonegap
Hello,

I've been developing my phonegap based app for the iPhone for a few
months now... and its finished! So I wanted to upload the app to the
App Store. I have created a Distribution Provisioning Profile, and
carefully followed Apple's instructions.
But I can't get it signed.... xcode build is succesfull, but the app
is rejected by the application loader and by iTunes connect. I am
starting to get desparate.

Analysing the log of the application loader , I see that the right
code signing identity was used. However:

8/25/09 2:05:31 PM ApplicationLoader[36413] *** Codesign error (please
ignore invalid option comments): got requirements(0x805a00, 579)
....
got entitlements(0x805e00, 322)

According to a post I found on the internet, ( see
http://t-machine.org/index.php/2009/08/11/uploading-iphone-app-to-app-store-fails-with-codesign-validation-error/
) this might mean that PhoneGap is using a static library which is
signed by another developer.

Is that correct? Anyone know how to fix this...?
Thanks in advance for reading this, I hope someone will help me out.

regards,
Jan.

jan

unread,
Aug 26, 2009, 4:50:49 AM8/26/09
to phonegap
Update: found out from looking in the source that PhoneGap indeed uses
a static library. libjson, a library written by Stig Brautaset.
So how is it possible that I read so many messages about successfull
app store submissions here and no other mentions about code signing
problems?

Is this because I compile for Iphone OS 3.0?
Or does the static library not cause code signing problems after all?
I am confused.

tkl

unread,
Aug 27, 2009, 1:17:09 AM8/27/09
to phonegap
Look for the product target settings,
there must be the same signing profile (distribution).
(project settings AND target settings).

When the target setting is like your provising profile and the project
setting has the signing distrubution there ist no warning to the
coder.

Hope this can help - to find your real problem.

best regards
Thorsten
Reply all
Reply to author
Forward
0 new messages