1

我正在尝试使用 Tapku,我完全按照官方说明进行操作,但是每当我导入 .h 文件时,Xcode 都会说找不到它?

这有什么可能的原因吗

https://github.com/devinross/tapkulibrary/wiki/Adding-tapku-to-your-project-in-xcode-4

4

2 回答 2

2

确保其头文件的路径位于 Xcode 中目标的“头文件搜索路径”中。

于 2012-05-16T18:12:41.757 回答
2

Check your folder name. When you put $(SRCROOT) in the Header Search Paths, it will show you the actual path.

And if there is any space in the folder name, it will cause the problem.

I was almost giving up to add the library, then I tried this method and it worked like charm. :) In my case, my project was under iPhone Apps folder, and I had to change it to iPhoneApps by removing the space.

于 2012-10-29T05:13:38.497 回答