Build fat static library (device + simulator) using Xcode and SDK 4+

前端 未结 10 1228
独厮守ぢ
独厮守ぢ 2020-11-22 02:21

It appears that we can - theoretically - build a single static library that includes both simulator and iPhone and iPad.

However, Apple has no documentation on this

10条回答
  •  一整个雨季
    2020-11-22 03:01

    I've made this into an Xcode 4 template, in the same vein as Karl's static framework template.

    I found that building static frameworks (instead of plain static libraries) was causing random crashes with LLVM, due to an apparent linker bug - so, I guess static libraries are still useful!

提交回复
热议问题