thanks phuongle, it really works ...
... but with a twist ...
... as Omer Wakas Khan noted, there may be a case where you can see an error message (while lipo-ing): both libraries cannot have the same structure .
Of course, I went to WTF ... itโs lipo, whatโs wrong with you ... they have a different structure ... I BUILT THEM THAT WAY ...
But then I decided to double check this:
- I went to the folder where I had arm64_merged lib and ...
lipo -info lib's_name.a
Both types of armv7 and arm64 were reported to exist. Puzzled, I then ...
lipo -info *.a
... all libraries (72 of them) reported type arm64, with the exception of 2 ...
libisac_fix.a libisac_neon.a
For some reason they were armv7. Earlier that day, I used the clone "webrtc thingy", consisting of several days. Then I remember that I always received only 70 libraries. But then, for other reasons, I decided
gclient sync
After that, I ran out of 72 ... as such, I just removed the meaningless libisac. Now 2 fat_libs were of different types, and I could successfully lipo.
source share