views:

289

answers:

2

hi i tried to update an iphone app, which lies in an other "itunes connect" profile. i used "application loader" and everything is fine until i try to upload the zip file

i get this strange message and cant figure out whats going wrong

"The CodeResources file must be a symbolic link to _CodeSignature/CodeResources"

i opened the bundle and the folder _CodeSignature is there.

i compiled the app with my distribution profile (no problems)

thanks in advance Alex

+3  A: 

How are you zipping it? I'm betting that FooApp.app/CodeResources is a file, not a symlink.

If you're using command-line "zip", you need to use zip -y -r to preserve the symlink.

tc.
zipped with right click.after deleting the build in the organizer and just plain rebuilding it - it worked.but thanks for the zip tip anyway
Alex Milde
Also, if you're using cp to copy it somewhere before zipping, that can screw up the symlinks. Use cp -R.
chrispix
A: 

try this on command line

cd (to where your project is) ln -s _CodeSignature/CodeResources CodeResources

Jason FB