How to add .a C static library to Xcode and use it

2019-05-17 16:57发布

This question already has an answer here:

I have a static C library compiled with arm7-gcc and i want to use it in my iOS project. i added it to project but i can't figure out how to use it.

1条回答
闹够了就滚
2楼-- · 2019-05-17 17:21

After adding the library to the project and including the header in your application codeб there is a second step. That step is letting the Xcode project know where the header file/files is/are. You do this by editing the "User Header Search Paths" build setting with the path to the header files.

查看更多
登录 后发表回答