Include framework in Xcode static library?

前端 未结 2 636
执念已碎
执念已碎 2021-02-12 15:32

In short:

Is there a way to create a static library in Xcode such that when clients link with that library, they also link with the frameworks upon which that library

2条回答
  •  北海茫月
    2021-02-12 15:53

    In short: no, a static library is just a bunch of .o files

    A solution would be to refactor your common code into "static frameworks", see there for a possible solution.

提交回复
热议问题