2011-12-16 100 views
0

希望只是一個快速的。在XCode中,試圖導入一個名爲cocos2d.h的文件,它位於我的目錄中並被複制,而不僅僅是引用,即它被複制到項目目錄中。但是,當我嘗試#import "cocos2d.h",它說找不到」目錄中的文件無法找到

[[Error in red with the actual header file itself in view on the left directly next to it]] 

'cocos2d.h'文件希望有人知道是怎麼回事!

Error in red with the actual header file itself in view on the left directly next to it

回答

1

所以我工作這麼一走出一天! 所有你需要做的就是在這種情況下指定文件夾

import「cocos2d/cocos2d.h」

希望這可以幫助別人!

相關問題