Linking a static library to an iOS project in Xcode 4

后端 未结 6 1835
醉酒成梦
醉酒成梦 2020-11-28 02:16

I have a project (AQGridView) that compiles to a static library, but I can\'t seem to add it to my project.

Dragging in the project to my project create

6条回答
  •  余生分开走
    2020-11-28 02:48

    Xcode menu > View > Utilities > File Inspector

    Select the static library file, and then set 'File Type' as 'Mach-O object code' in 'Identity and Type'.

提交回复
热议问题