Xcode 8.1 Undefined symbols for architecture x86_64 Error

杀马特。学长 韩版系。学妹 提交于 2019-12-06 00:31:39

Your library does not support simulator. Run this command line to see which architecture that it supports:

lipo -info libTZBeaconSDK.a

the result is: Architectures in the fat file: libTZBeaconSDK.a are: armv7 arm64

So, you have to test in a device, not in simulator!

dlbuckley

Typically you get that error in the simulator if the architecture of the framework is built for the device. You need to use a version of the framework that is built for the simulator to run it on the simulator. This is something that should be provided by the framework vendor.

If they don't provide one then look into only including that framework when building to the device and not to the simulator. There is another SO answer here to point you in the right direction: How to only include a framework when building for device, not iOS Simulator?

Simple trick here: Go -> Go To Folder "/Library/Developer/Xcode" delete Derived data next clean your project then Run .

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!