您的位置:首页 > 移动开发 > IOS开发

iOS开发-编译使用动态库

2016-02-19 19:13 483 查看
bogon:AlipaySDK.framework loyinglin$ lipo -info AlipaySDK

Architectures in the fat file: AlipaySDK are: i386 x86_64 armv7 armv7s arm64

bogon:lib loyinglin$ lipo -info libssl.a

Architectures in the fat file: libssl.a are: armv7 armv7s i386 x86_64 arm64

可以用lipo命令查看动态库支持的类型

注意动态库的编译版本必须不高于使用的版本。

iOS是支持动态库的!

iOS是支持动态库的!

iOS是支持动态库的!

重要的事情说三遍,网上很多说不支持的言论都是老的,以前是不支持的。

参考

编译过程  /article/6164738.html

真机运行找不到动态库 http://blog.csdn.net/xyxjn/article/details/42102259

如何创建一个动态库 http://www.cocoachina.com/industry/20140613/8810.html

创建一个静态库 http://www.360doc.com/content/14/1215/17/19175681_433147141.shtml

三个常见的问题 http://www.360doc.com/content/14/1215/17/19175681_433156184.shtml

Apple官方简单的教程 https://developer.apple.com/library/ios/technotes/iOSStaticLibraries/Articles/creating.html

如何创建一个动态库的又一个教程 /content/330505.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: