简体   繁体   English

Xcode将.a库文件转换为支持arm64的.a文件

[英]Xcode Convert .a library file to arm64 arch supportive .a file

我的项目中有不支持64位体系结构的旧库。我没有这些库的源代码。我只有这些库的.a文件。有什么办法可以将这些库转换为支持64位的库?

You need to recompile the project on 64 bit architecture. 您需要在64位体系结构上重新编译项目。 Since you don't have the source code, unfortunately it's NOT possible to convert the library to support 64 bit architecture. 由于您没有源代码,因此很遗憾, 无法将库转换为支持64位体系结构。

Probably the only thing you can do is searching the web for other versions of this library. 您可能唯一要做的就是在网上搜索该库的其他版本。 If you find anything, you can use this terminal command to check what architectures it is supporting: 如果发现任何内容,可以使用此终端命令来检查其支持的体系结构:

 lipo -info LIB_NAME.a

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 XCode:无法使用-arch arm64指定-Q - XCode: can't specifiy -Q with -arch arm64 xcode5构建ios arm64静态库,构建程序集文件时出错 - xcode5 build ios arm64 static library, error when building the assembly file Xcode 7文件中缺少必需的体系结构arm64 - Xcode 7 missing required architecture arm64 in file Xcode:MagTek iOS库中缺少arm64符号 - Xcode: Missing arm64 Symbols from MagTek iOS Library 由于缺少arm64的拱门,使用cocoapods的XCode项目突然中断 - XCode project using cocoapods suddenly broke due to missing arch for arm64 链接到 Xcode 上的 arm64 库时出现链接器错误 - linker error while linking to arm64 library on Xcode 在iOS 7设备中运行时,“ Xcode 6 beta”在文件中缺少“所需的架构arm64 ...” - “Missing required architecture arm64 in file…”Xcode 6 beta when running in ios 7 device Xcode 9.2:文件/.../libPaymentsSDK.a中丢失了所需的架构arm64(2个切片) - Xcode 9.2: missing required architecture arm64 in file /…/libPaymentsSDK.a (2 slices) Xcode11 存档失败:没有这样的文件或目录 Objects-normal/arm64/UniversalSDK.SwiftFileList - Xcode11 Archive fails: no such file or directory Objects-normal/arm64/UniversalSDK.SwiftFileList Xcode 为 iOS 模拟器构建,但链接到为 iOS 构建的 object 文件,用于体系结构“arm64” - Xcode building for iOS Simulator, but linking in an object file built for iOS, for architecture 'arm64'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM