自己用swift写的framework调用Splunk MINT SDK,报错Undefined symbols for architecture arm64
_挨踢_ 2017-03-16 04:52:11 如题,将Splunk MINT官方提供的framework,按照官方文档的步骤加入到自己的framework工程里,使用模拟器编译运够通过,使用Generic iOS Device编译运行,报错如下,
Undefined symbols for architecture arm64:
"__mh_execute_header", referenced from:
-[DeviceInfo executableUUID] in SplunkMint(DeviceInfo.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我以为是不支持,用命令行查看了一下:
Architectures in the fat file:SplunkMint are: armv7 i386 x86_64 arm64 armv7s
stackoverflow上的一些方法都试了试,没有好使的。
大神们有时间帮我看一下,用swift创建一个framework,在framework调用一下里面的接口。
Splunk MINT的官网在这:
http://docs.splunk.com/Documentation/MintIOSSDK/5.2.x/DevGuide/Requirementsandinstallation