I have an app that uses a third party library. There is a bug in the 64 bit version of the library so I had to revert to the 32 bit version of the framework. I would like to t
In Build Settings, change Architectures
to $(ARCHS_STANDARD_32_BIT)
.
Then choose iPhone Retina (4-inch 64-bit)
for the simulator.
It will build a 32 bit version of your app but run it on the 64 bit simulator. Note that the simulator is running on OS X and OS X doesn't support 32 bit anymore, so we have always been running 32 bit apps on 64 bit hardware in the simulator. It works fine, as long as you don't need some types to be 64 bit (eg: CGFloat is accurate to significantly more decimal places when complied for 64 bit).
I have met the similar situation but the opposite side.I use Fastlane to get app screen capture, Fastlane tool only can run on simulators,but I found every time:
Undefined symbol(s) for architecture i386
This is because there is a .a
library only support x86_64
,So I tried to solve the problem according to the above answer.I changed Architectures
to $(ARCHS_STANDARD_64_BIT)
.
So I can run the project on the newer simulators with only 64 bit architecture!