iOS開發-編譯使用動態庫

來源:互聯網
上載者:User

標籤:

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是支援動態庫的!

 

 重要的事情說三遍,網上很多說不支援的言論都是老的,以前是不支援的。

 

參考

編譯過程  http://www.cnblogs.com/loying/p/5190826.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

如何建立一個動態庫的又一個教程 http://www.cocoachina.com/ios/20141126/10322.html

 

iOS開發-編譯使用動態庫

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.