Invalid xcode archive in organizer

I get a message while checking the archive. I tried most of the solutions from other questions. but still failed. (This is normal when I send it last time in xcode 4.02, then I deviate. I edited some images and the .m file (not the project settings).

my project Build settings: Architecture-> standard (armv7) - $ (ARCH_STANDARD_32_BIT) Base sdk-> Latest ios (ios 5.0)
 Valid Armv6 architectures armv7 arvm7f armv7k
 Create only active architecture → no
 Purpose of deployment ios: ios3.0

  • I tried reinstalling xcode and making sure unix was checked 5 times.
  • I tried installing back in xcode 4.02, but the same message as xcode 4.2
  • I tried reinstalling cocos2d
  • I tried to install llvm / gcc only for gcc

warning 1: Project refinement Obsolete settings fixed. when i click. one of them is to install gcc on llve-gcc, the other is on "Enable compiler warning for missing function prototypes." I clicked cancel

warning 2:

Check dependencies

[BWARN]warning: iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "4.1", ARCHS = "armv7").

warning 3:

Validate /Users/lifesucks/Library/Developer/Xcode/DerivedData/FishvsBirdsLite-frctqlpldaogcjebgvxkvvmsehie/ArchiveIntermediates/FishvsBirdsLite/InstallationBuildProductsLocation/Applications/FishvsBirdsLite.app
cd "/Users/lifesucks/my app/Fish vs Birds/FishvsBirdsLite"
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PRODUCT_TYPE com.apple.product-type.application
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/lifesucks/Library/Developer/Xcode/DerivedData/FishvsBirdsLite-frctqlpldaogcjebgvxkvvmsehie/ArchiveIntermediates/FishvsBirdsLite/InstallationBuildProductsLocation/Applications/FishvsBirdsLite.app

2011-06-14 01:30:10.948 Validation[8609:607] *** Warning: Defaulting to the standard codesign tool
warning: iPhone/iPod Touch: application executable is missing a required architecture.  At least one of the following architecture(s) must be present: armv6 (-19033)
Unable to validate your application. - (null)

warning: There is no codesign_wrapper executable. Please reinstall the Xcode developer tools. (-19058)
Unable to validate your application. - (null)

error message in organizer:

Invalid archive. / var / folders / H 5 /.../ app.ipa does not exist.

+3
source share
3 answers

, . xcode 4.0.2. , . , - "- > (armv7)", xcode 4.0.2 armv6/armv7, , - cocos2d , . , , - ( "" " armv7".) , .

+3

, Xcode 4.2. -Beta Xcode, . , Xcode, :

sudo /Developer/Library/uninstall-devtools –mode=all

. , -Beta Xcode (4.0.2 ), RESTART . .

+2

Remove iphoneossimulator from the supported platforms to configure your distribution / release build. That is, if you have it. You cannot have this for distribution, it is only for your debug configurations.

Check the image below for distribution configuration (ignore release configuration).

enter image description here

0
source

All Articles