Include not found compile error in Xcode 4.2

前端 未结 4 962
深忆病人
深忆病人 2020-12-16 13:38

I\'m getting include not found compile error in XCode. I have an iOS app project that i use Objective-c and c++ as mix.

Initially, i created one .h file and one .c

4条回答
  •  青春惊慌失措
    2020-12-16 14:09

    i believe you need to include the whole path to the library. similarly to say "foundation" & "uiview" frameworks.

    #import 
    

    or

    #import 
    

    and yes, make sure you add the library to your target.

提交回复
热议问题