简体   繁体   中英

How do I successfully import YAJLiOS JSON Framework in to my iOS project?

I'm trying to use the YAJLiOS framework for JSON in my project as I've been told it's the fastest JSON framework to use.

Anyway I've dragged the folder called YAJLiOS.framework in to the Link Binary With Libraries window and added the -ObjC and -load_all tags to Other Linker Flags under appNameTest in Targets.

I've then done;

#import <YAJLiOS/YAJL.h>

NSString *JSONString = @"[1, 2, 3]";
NSArray *arrayFromString = [JSONString yajl_JSON];

and the second line is throwing "Program received signal: "SIGABRT"

It's driving me crazy, any help appreciated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM