Problems with lipo

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
d000hg
Goblin
Posts: 257
Joined: Tue Sep 02, 2008 9:41 pm
x 1

Problems with lipo

Post by d000hg »

lipo /usr/local/ogre/ogre1.8/build/ios/sdk/lib/Release-iphoneos/libOgreMainStatic.a
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: /usr/local/ogre/ogre1.8/build/ios/sdk/lib/Release-iphoneos/libOgreMainStatic.a and /usr/local/ogre/ogre1.8/build/ios/sdk/lib/Release-iphonesimulator/libOgreMainStatic.a have the same architectures (i386) and can't be in the same fat output file
I suddenly started getting this error listed when building a SDK structure. It's been working nicely before. When I try to change my script to only build one lib, it normally decides to work properly, making the issue hard to diagnose.

My script is viewable here: http://pastebin.com/2fYCZjWB. It's modified from the normal SDK script... ignore the copy/clean/test blocks I am running with no command args.

Is this just a build screwup? In my script, how do I tell xcodebuild to do a clean build?
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: Problems with lipo

Post by masterfalcon »

just add the word clean to the end of your xcodebuild invocation. See xcodebuild -h for more.