Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4 Strip All symbols error when Archiving

Tags:

I have some static libraries in my Xcode 4 (iOS 4.3 SDK) project. When I archive the project i am getting the following error below when the tool attempts to strip symbols. I have the same settings i used for Xcode 3.2. I have noticed if i change the 'Strip Style' option in build settings from All Symbols to Debugging Symbols then the archive is built successfully.

Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/strip failed with exit code 1

As mentioned above I have not changed this setting from 3.2 so am wondering how to fix this issue?

Thanks

like image 701
tech74 Avatar asked Jun 21 '11 17:06

tech74


1 Answers

I have met the question like this. I used three20 library in my project, when I archived it. "Strip Symbols Error" about the three20 libraries was produced.

I found the three20 library's "iOS Deployment Target" was "iOS 3.0", but xcode 4.6.3 has no iOS 3.0 sdk. I think it's a problem.

When I changed all three20 libraries' "iOS Deployment Target" to "iOS 5.1", these problems solved.

The fixed place is "Target"->"Build Settings"(All)->"Deployment"->"iOS Deployment".

like image 182
passwind Avatar answered Sep 28 '22 08:09

passwind