Pregunta

I'd like to add DTCoreText to my project. I followed the instructions (starting at the DTCoreTExt GitHub page) to setup the project using CocoaPods. Finally I've created a "libPod.a" library file.

I've added the library file to my project (by copying the file in to a project sub-folder and added the file to the "Linked Frameworks and Libraries".

Finally I've tried to run the "Smoke test" as defined in the "DTCoreText Programming Guide".

Without success. XCode can't find the DTCoreText.h file (or any other file of this lib).

Have I missed something? Please help! :o)

¿Fue útil?

Solución

Did you check the Header Search Paths in the Build Settings to ensure the path is correct?

Otros consejos

Thanks to @Michael and @eharo2, you pointed into the right direction.

I wasn't aware that it's necessary to copy ALL header files together with the library file.

Btw. the relevant path is defined in the Build Settings under Search Paths in Library Search Paths

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top