My static lib is built with xcodebuild and then a fat lib is created from the simulator and device build result. Here is my xcodebuild command:
xcodebuild OTH