开发者

#import <YAJLiOS/YAJL.h> No such file or directory

开发者 https://www.devze.com 2023-03-14 22:57 出处:网络
I\'m using xcode 4.02, iOSSDK4.3, YAJL 0.2.24. I copied the YAJL.framework folder over to the iPhoneOS4.3sdk frameworks dir and then added the framework to my xcode project (Build Phases - Link Bina

I'm using xcode 4.02, iOSSDK4.3, YAJL 0.2.24.

  1. I copied the YAJL.framework folder over to the iPhoneOS4.3sdk frameworks dir and then added the framework to my xcode project (Build Phases - Link Binary with Libraries)

  2. Build settings - Other linker flags I added -ObjC -load_all to both Debug and Release.

  3. Under Framework SearchPaths I added YAJLiOS.framework to both Debug and Release.

  4. 开发者_运维百科

I try to compile my project and the header file is not found?

I'm missing something...

whoops.. the Frameworks Search Paths should be set to parent dir of the framework.. for example /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks

0

精彩评论

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

关注公众号