[英]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. 我试图在我的项目中将YAJLiOS框架用于JSON,因为有人告诉我这是使用最快的JSON框架。
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. 无论如何,我已经将名为YAJLiOS.framework的文件夹拖到“使用库链接二进制文件”窗口中,并将-ObjC和-load_all标签添加到Targets中appNameTest下的其他链接器标志中。
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" 第二行抛出“程序接收到的信号:“ SIGABRT”
It's driving me crazy, any help appreciated. 这让我发疯,任何帮助表示赞赏。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.