I built a framework as generic iOS device and imported it on Xcode. Everything works fine when I select my physical iPhone 7 as device, however, when I choose simulator, the classes are not find and I cannot compile the framework (even auto complete doesn't work).
Do you have any ideas why?
(btw: the framework I'm using is chart-ios. I did a tiny change to it and wanted to compile it again).
simulator runs on i386 architecture. If you compile your static libraries for i386 as well you will be able to use them on the simulator.
Try adding "i386" to the "Valid Architectures"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With