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 Binary with Libraries)
Build settings - Other linker flags I added -ObjC -load_all to both Debug and Release.
Under Framework SearchPaths I added YAJLiOS.framework to both Debug and Release.
开发者_运维百科
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
精彩评论