4 ms·
Yes, which is precisely why you need 64-bit/32-bit fat binaries. I don't recall OSX refusing to run 32-bit binaries when it allowed 64bit computing.
by untog 13y ago
Yes, which is precisely why you need 64-bit/32-bit fat binaries.
I don't recall OSX refusing to run 32-bit binaries when it allowed 64bit computing.
- pdpi 13y agoYou don't need the fat binary to make 32-bit work in 64-bit machines. You need it to make it so that you can take advantage of the 64-bit machine with a build that still works in a 32-bit machine.
- ianstallings 13y agoAlthough you can do both, either 32-bit only or a combined, the preferred way to do it is as you say, a combined binary. I imagine that the differences will be fairly small because of the shared types and the resource sizes not changing. I'll have to experiment and see the results. Just a note on how to build for 32 bit and still target IOS: You have to set the architecture for armv7, armv7s and then set your deployment target to 7. I have yet to deploy an app doing this so your mileage may vary.