【iOS】区分.framework是动态还是静态库
程序员文章站
2022-06-14 23:26:07
...
cd到.framework目录之下
cd /Users/用户/Desktop/HelpDeskFramework/HelpDeskLite.framework
file HelpDeskLite
查看库文件
如下:
HelpDeskLite: Mach-O universal binary with 3 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [arm64]
HelpDeskLite (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
HelpDeskLite (for architecture armv7): Mach-O dynamically linked shared library arm_v7
HelpDeskLite (for architecture arm64): Mach-O 64-bit dynamically linked shared library arm64
上述出现了CPU架构,还有dynamically标识着是动态库
- 非动态则为静态库
上一篇: 互联网创业者要有学习的能力
下一篇: 淘宝天猫合并,并不简单