Compiling external C++ library for use with iOS project

后端 未结 6 1613
滥情空心
滥情空心 2020-11-29 01:49

I\'m completely new to using C++ libraries, so appreciate this might be a bit specific for my case (let me know and I can provide more details).

I have an external

6条回答
  •  猫巷女王i
    2020-11-29 02:02

    Set your architecture back to default then try the following. 1. In Build Phases->Link Binary With Libraries add libz.dylib and libxml2.dylib libraries to your project. 2. In BuildSettings->Search Paths set Always Search User Paths to Yes, and under Framework Search Paths add the correct path of your framework. Use terminal to get the right path of your framework. 3. Try setting your "Compiler Source As" to C++ or use hit and trial and check with all options. Complier Source As is also under BuildSettings. Use cmd+f to search it.

    Try these and let me know, also tell me about the framework or sdk that you are trying to use in your project.

提交回复
热议问题