Undefined symbols for architecture xxx

      Third party sdk recently updated version of the test run no problem on the real machine and the simulator pods, but a package will prompt "Undefined symbols for architecture xxx" error. The last finding is not supported by the old sdk update of cpu architecture armv7, compile and run the test app will only support the corresponding real machine or simulator architecture, so there is no problem, but when we need to support the package in the build Setting All architecture configuration, I configured the architecture included armv7, so the package is not successful, then delete the armv7 packaging, success.


2113501-80d3d8f9754147fd.png


2113501-f2d506d3c0d3bd91.png

iPhone models corresponding to each machine architecture:

2018A12 chip arm64e: iphone XS, iphone XS Max, iphoneXR

2017A11 chip arm64: iPhone8, iPhone8Plus, andiPhone X

2016A10 chip arm64: iPhone7,7Plus, iPad (2018)

2015A9 chip arm64: iPhone6S, 6S Plus

2014A8 chip arm64: iPhone6, iPhone6Plus

2013A7芯片arm64: iPhone5Sarmv7s:iPhone5|iPhone5C|iPad4(iPad with Retina Display)armv7:iPhone4|iPhone4S|iPad|iPad2|iPad3(TheNewiPad)|iPad mini|iPod Touch3G|iPod Touch4

Simulator test requires 32-bit i386 architecture processor, the simulator test requires 64-bit processor architecture x86_64, 32-bit processors require real machine ARMv7, or armv7s architecture, the real machine 64 need arm64 processor architecture.

Reproduced in: https: //www.jianshu.com/p/5e3638887637

Guess you like

Origin blog.csdn.net/weixin_34270865/article/details/91118275