views:

117

answers:

1

I am tring to integrate Three20 to my project. I followed the same instructions given in this page

Three20. But I am getting CANNOT FIND #import "Three20/Three20.h" issue.

Header Search path under Project info > Build i have set as ../three20/Build/Products/three20

Please suggest me what can be the problem in my header search path setting?

Thanks
Deepika

A: 

I was pulling my hair out as well since adding three20 correctly to your new iOS4 with really basic instructions listed here: http://github.com/facebook/three20 did not work as well.

Issue: Can compile newly three20 to your iOS project and got this error: Can't find #import "Three20/Three20.h".

Here is the best solution for those have the same issue:
1) Add your three20 to your iphone project path like this:
[yourProjectPath]/[iOSProjectName]/three20/..
2) cd three20 dir
3) run:
python src/scripts/ttmodule.py -p [yourProjectPath]/[iOSProjectName]/[iOSProjectName].xcodeproj Three20 -c Debug -c Release
4) go to XCode and do a build now.

Thanks to jverkoey for adding this in ...man
u save us a lot of headache if u ever read this :- ) kudos bud! :- )
http://github.com/facebook/three20/commit/0814b1c149cbe987557c88a271f999c3f9f3ae64

Please vote this answers if it help u. Thanks :-)

tomtom