前几天我创建了静态库(通用)工作正常与Xcode5.0 SDK7
。在更新Xcode5.1
与SDK7.1
不工作,如果我选择模拟器iPhone Retina(4-inch 64-bit)
。然后,我将用Bellow设置更改更新我的库。如何更新用于支持arm64 Build的静态库架构?
我做同样的三个目标: -
对于运动模拟器以及设备我把通用lib和在此我运行脚本这一点: -
在此之后,我再次构建库和使用,因为我之前在我的项目。但仍然得到同样的问题与iPhone Retina(4-inch 64-bit)
Undefined symbols for architecture x86_64:
所以,我的问题是有没有为arm64更新LIB需要任何额外的更改或我在上面的步骤没有任何错误。如果我错了,请通知我。
需要什么样的变化进行更新我的静态库支持64Bit architecture
注:
我要求我自己创建的库更新。我不使用第三方库。 更新
我在用这个lipo -info testingLibImport/libLibNSlog.a
命令到我的终端,它的输出是:
Architectures in the fat file: testingLibImport/libLibNSlog.a are: armv7 armv7s i386 arm64
http://stackoverflow.com/questions/20234623/parse-error-iphone-retina-4-inch-64bit和http://stackoverflow.com/questions/20264574/missing-required-architecture- x86-64-in-file-libcoreplot-cocoatouch-a可能对您的情况有所帮助 – iPatel
请参阅http://stackoverflow.com/questions/22331908/xcode-5-1-missing-required-architecture-arm64/22370729# 22370729 – Mani
请在我的问题中看到我已经完成了此更改,但得到同样的错误。 –