XE8.1:文件是为存档构建的,不是被链接的体系结构(arm64)
XE8.1: file was built for archive which is not the architecture being linked (arm64)
我的开发环境:
Delphi Windows 7 (x64) 上的 Delphi XE8 更新 1 运行。
XCode 6.4 运行 Mac Yosemite 10.10.4。
iOS SDK 已添加到 XE8 中并且适用于 32 bit/64 位目标。
当使用从 http://delphi.radsoft.com.au/2013/11/checking-for-an-internet-connection-on-mobile-devices-with-delphi-xe5 获得的 libReachability.a 的 64 位版本使用 64 位 iOS 目标在 Delphi 中构建 iOS 应用程序时,我得到以下信息编译时错误:
[DCC Error] E2597 NYI lto::isObjectFile
NYI lto::archName
ld: file was built for archive which is not the architecture being linked (arm64): libReachability.a for architecture arm64
如果目标是 iOS 32 位或 iOS 模拟器,则不会出现此错误。在 mac 上,libReachability.a 上用于 64 位 iOS 目标的文件显示:“Architectures in the fat file: libReachability.a are: armv7 arm64”。我觉得还行...
64 位 libReachability.a 文件已复制到程序 Files\Embarcadero\Studio.0\lib\iosDevice64\debug 目录。另一个团队成员可以很好地使用它,但他们在没有更新 1 的 XE8 上。对如何修复此错误有什么想法吗?
检查是否已从项目目录中删除所有 32 位版本的 libReachability。
我的开发环境: Delphi Windows 7 (x64) 上的 Delphi XE8 更新 1 运行。 XCode 6.4 运行 Mac Yosemite 10.10.4。 iOS SDK 已添加到 XE8 中并且适用于 32 bit/64 位目标。
当使用从 http://delphi.radsoft.com.au/2013/11/checking-for-an-internet-connection-on-mobile-devices-with-delphi-xe5 获得的 libReachability.a 的 64 位版本使用 64 位 iOS 目标在 Delphi 中构建 iOS 应用程序时,我得到以下信息编译时错误:
[DCC Error] E2597 NYI lto::isObjectFile
NYI lto::archName
ld: file was built for archive which is not the architecture being linked (arm64): libReachability.a for architecture arm64
如果目标是 iOS 32 位或 iOS 模拟器,则不会出现此错误。在 mac 上,libReachability.a 上用于 64 位 iOS 目标的文件显示:“Architectures in the fat file: libReachability.a are: armv7 arm64”。我觉得还行...
64 位 libReachability.a 文件已复制到程序 Files\Embarcadero\Studio.0\lib\iosDevice64\debug 目录。另一个团队成员可以很好地使用它,但他们在没有更新 1 的 XE8 上。对如何修复此错误有什么想法吗?
检查是否已从项目目录中删除所有 32 位版本的 libReachability。