How do I change an existing Xcode target from dynamic to static?

后端 未结 4 1142
予麋鹿
予麋鹿 2021-02-07 10:28

I\'m working with an existing project that produces a dynamic library (Cocoa API).

I\'d rather generate a static library, but if I change the [Linking|Mach-O Type] fiel

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-07 11:20

    I ended up creating a new 'static library' project, and then added all the members. Closing xcode and bringing up the two project files in a text editor let me quickly complete the new project.

提交回复
热议问题