开发者

Problems with finding Three20 Header Files for iPhone App

I am trying to create an app using three20 for a photo viewer. When I follow the instructions on their site (which is now simply running a python script) it seems to behave correctly but then when I try to build I get a "No such file or directory" error for using #import <Three开发者_开发百科20/Three20.h>.

I am pretty sure the header search path is correct, but I can't seem to get it working, even when I follow exact tutorials online.

Has anyone seen this problem before and know how to fix it?


Have you checked to make sure you actually have added three20 into your dir. as I remember having a similar problem, when I tried to use three20 which was due to the fact it wasn't in the right place, when I thought it was.


It sounds like you haven't imported the files correctly. Have another look at where you added the files to you project, if you have at all. (If not, you need to drag them into your project first!)

If you try to compile the project without the file added to the project, it will fail. Simply adding a path is not enough.

Problems with finding Three20 Header Files for iPhone App

You need to drag it into Xcode...

Problems with finding Three20 Header Files for iPhone App

Add it to the project...

Problems with finding Three20 Header Files for iPhone App

And then your code should build.

Problems with finding Three20 Header Files for iPhone App

I hope this helps!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜