Error creating archives

I am using Xcode 4.2 and I will add AviarySDK 2.4.4 to my project. The application works fine in Simulator 5.0 and 4.3. I am also testing it on a device having ios 4.1. So I want to generate an .ipa file for my client. But for some reason he cannot create Archives. It gives the following error:

"/ usr / bin / strip -S / Applications / Projects / AppName / AppName / AviarySDK / Resources / AviarySDKResources.bundle / AviarySDKResources -o / Users / User / Library / Developer / Xcode / DerivedData / WDYWT-avjpbcnwjylobvgevipvsqTeroptdtopwsqttnoptdwdqtntopqdnoptwtopqdntopqs InstallationBuildProductsLocation / Applications / WDYWT.app / AviarySDKResources.bundle / AviarySDKResources

/ usr / bin / strip: for architecture armv7 object: /Applications/Projects/AppName/AppName/AviarySDK/Resources/AviarySDKResources.bundle/AviarySDKResources corrupted object (unknown load command 10)

error: strip / Applications / Projects / AppName / AppName / AviarySDK / Resources / AviarySDKResources.bundle / AviarySDKResources: / usr / bin / strip completed with 1 "

Any help is really great. Thank you very much in advance.

+2
source share
1 answer

Strip errors are usually caused if debug symbols are duplicated in your project. Just try the following:

First method:

  • Go to the build settings of your project.
  • Enter Stripin the search bar.
  • In Strip Debug Symbols During Copyyou will find Debug, and under it you will find Any SDK.
  • NO Any SDK, YES Debug YES Strip Debug Symbols During Copy.
  • Use Separate Strip. YES .
  • , Strip Style All Symbols [ , ].

:

, . . , , Google .

. Mac Mini MacAir [ ]. , , .

, , - , .

PS:

MacMini: Xcode 4.5
MacAir: Xcode 4.2

,

+1

All Articles