Page 1 of 1

[iOS] Stripping errors in Archive build only

Posted: Tue Mar 11, 2014 2:32 am
by simedj
Everything is finally building and running in my app on both iOS6 and 7 (awesome, thanks everyone!)

I decided to try an adhoc distribution to a spare device but Archiving fails with a message starting like this:
Stripping DerivedData/Simed_iOS/Build/Intermediates/ArchiveIntermediates/CArm/IntermediateBuildFilesPath/UninstalledProducts/libSimedLib.a
cd /Code/simed/trunk/Projects
setenv PATH "/Applications/Xcode"
/Applications/Xcode\ /Code/simed/trunk/Projects/DerivedData/Simed_iOS/Build/Intermediates/ArchiveIntermediates/CArm/IntermediateBuildFilesPath/UninstalledProducts/libSimedLib.a
And then hundreds of entries like this, for many of my individual source files:
/Applications/Xcode symbols referenced by relocation entries that can't be stripped in: /Code/simed/trunk/Projects/DerivedData/Simed_iOS/Build/Intermediates/ArchiveIntermediates/CArm/IntermediateBuildFilesPath/UninstalledProducts/libSimedLib.a(application.o) (for architecture armv7)
FYI SimedLib is a static library target in which I have the bulk of my code, CArm is a small application which links to this.
I build for deployment target iOS6, targeting armv7, armv7s and arm64.

I see a fair few posts on StackOverflow about such things but it seems I need to adjust my settings in my app according to how Ogre is set up. Has anyone had problems of this type, and/or could advise how my XCode project should be configured when linking against Ogre libs?