super 新手问题。
我需要将 ZipArchive ( https://github.com/mattconnolly/ZipArchive ) 构建到 ZipArchive.a 文件中,以便在另一种技术 (Xamarin) 中使用它
我已经在 Xcode 中打开了 ZipArchive.xcodeproj
如何将其构建为 .a 文件?
我试过在 XCode 中运行它,它说一切顺利,但没有出现 .a 文件。
最佳答案
要在 Xcode 中创建静态脂肪库(.a 文件),您可以引用此链接 Build fat static library (device + simulator) using Xcode and SDK 4+
创建静态库后,您必须在 xamarin 中创建绑定(bind)项目才能访问此 .a 文件。
您可以在 Xcode 项目导航器中的 products 文件夹下找到 .a 文件,只需右键单击它并选择在 finder 中显示。
我已经完成了一个项目,其中我将 xamarin 与 .a 结合使用,如果您有任何疑问,可以告诉我
关于ios - 使用 XCode 构建 "assembly.a"? - 新手,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29312835/