简体   繁体   English

如何将YAJLiOS JSON框架成功导入到我的iOS项目中?

[英]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.

相关问题 iOS导入自定义框架到项目中 - iOS import custom framework into project 如何在iPhone中成功导入Appkit Framework? - How to successfully import Appkit Framework in iPhone? 如何创建特定于我的需求的新iOS框架? - How do I create a new iOS framework specific to my needs? 如何在代码中获取我的 iOS 项目的当前版本? - How do I get the current version of my iOS project in code? 如何将 firefox-ios 导入到我的 obj-C 项目中 - How can I import firefox-ios to my obj-C project 无法通过YAJLiOS解析json数据 - Can't parse json Data via YAJLiOS 如何在我的项目中创建第二个目标来为 iOS 创建预填充的数据库 - How do I create second target in my project to create a pre-populated database for iOS 如何以编程方式将证书导入我的iOS应用程序的钥匙串,并在需要时将身份传递给服务器? - How do I programmatically import a certificate into my iOS app's keychain and pass the identity to a server when needed? iPhone:如何将我的项目从iOS 3.0更新到包含MessageWebLayer的iOS 4.3(或iOS 5.0)? - iPhone : How do I update my project from iOS 3.0 to iOS 4.3 (or iOS 5.0) which includes MessageWebLayer? 如何将openCV导入iOS 8项目 - How to import openCV into iOS 8 project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM