Showing posts with label dylib. Show all posts
Showing posts with label dylib. Show all posts

Wednesday, March 29, 2023

【Xcode】查詢 framework 或 dylib 是否為 universal 架構

由於 macOS 的 CPU 正處於 Intel Architecture 跟 ARM Architecture 的交會時代,導致許多 macOS 的開發人員忙於 x86_64 和 arm64 間轉換,所幸 Apple 提供了 universal 的編譯架構,讓 framework、app、dylib 等,能夠兼容兩種不同架構 CPU 的 macOS。那麼查看檔案是否為 universal 架構就變成一個重要的事情了。

 

熱門文章