[iOS] Stripping errors in Archive build only

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
simedj
Goblin
Posts: 262
Joined: Fri Nov 18, 2011 6:50 pm

[iOS] Stripping errors in Archive build only

Post by simedj » Tue Mar 11, 2014 2:32 am

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 5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode 5.0.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode\ 5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /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 5.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: 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?
0 x
Looking to find experienced Ogre & shader developers/artists. PM me with a contact email address if interested.

Post Reply