CodeSign build/Distribution-iphoneos/MyLucy.app
cd "/Users/johanlund/dev/xcode projects/Lucy_empty"
setenv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign -f -s "iPhone Distribution: Johan Lund" "--resource-rules=/Users/johanlund/dev/xcode projects/Lucy_empty/build/Distribution-iphoneos/MyLucy.app/ResourceRules.plist" --entitlements "/Users/johanlund/dev/xcode projects/Lucy_empty/build/TableTest3.build/Distribution-iphoneos/TableTest3.build/MyLucy.xcent" "/Users/johanlund/dev/xcode projects/Lucy_empty/build/Distribution-iphoneos/MyLucy.app"
Any ideas as to what is going wrong here?