Reputation: 5306
I recently add quite a lot of code to my iOS static library project. I always create universal binary that support all platforms (from iPhone4S to the current iPhone7) but after addition of the codes (which increase the .a size) results in:
CreateUniversalBinary failed: file too large to create as a fat file because size filed in struct fat_arch is only 32-bits and size of architecture armv7 exceeds that
I do a lot of googling but not a lot of people are creating large static libraries (2Gb in size). There is only one bug report on Apple's site that is relevant so far: Lipo max input file size is limited
But I don't understand how the OP patched lipo
to output in 100Mb increment. lipo -help
and the docs doesn't reveal much info.
Here're my settings:
Does anybody ever encounter the same problem and/or know how to deal/workaround it?
Any direction are most welcomed..
Thanks in advance
Upvotes: 2
Views: 1472