Quickblox:ASI Http符号和模块之间的冲突

时间:2012-12-02 10:50:39

标签: ios5 asihttprequest quickblox

我正在尝试在我的应用中实现聊天模块。我已经提到了QuickBlox API的简单示例代码。

但是当我尝试从我的应用程序注册用户时,我得到了链接器的错误。

我的代码: -

// Create QuickBlox User entity
 QBUUser *user = [QBUUser user];
 user.password = _textPassword.text;
 user.login = [DicResponse valueForKey:@"User name"];

 // create User
 [QBUsers signUp:user delegate:self];

在我的应用中,我已经在使用ASIHTTP库了。如果我对此行[QBUsers signUp:user delegate:self];发表评论,那么它会成功编译。

如何解决这些冲突?

duplicate symbol _isDismissing in:
    /Users/abc/Library/Developer/Xcode/DerivedData/app-dtliqcvxngqgfwgzpbvmtupglcjd/Build/Intermediates/app.build/Debug-iphonesimulator/app.build/Objects-normal/i386/ASIAuthenticationDialog.o
    /Projects/abc/Quickblox.framework/Quickblox(QBASIAuthenticationDialog.o)

duplicate symbol _NetworkRequestErrorDomain in:
    /Users/abc/Library/Developer/Xcode/DerivedData/app-dtliqcvxngqgfwgzpbvmtupglcjd/Build/Intermediates/app.build/Debug-iphonesimulator/app.build/Objects-normal/i386/ASIHTTPRequest.o
    /Projects/LockMEIfYouCan/Quickblox.framework/Quickblox(QBASIHTTPRequest.o)

duplicate symbol _RedirectionLimit in:
    /Users/abc/Library/Developer/Xcode/DerivedData/app-dtliqcvxngqgfwgzpbvmtupglcjd/Build/Intermediates/app.build/Debug-iphonesimulator/app.build/Objects-normal/i386/ASIHTTPRequest.o

    /Projects/app/Quickblox.framework/Quickblox(QBASIHTTPRequest.o)
ld: 3 duplicate symbols for architecture i386

1 个答案:

答案 0 :(得分:0)

您必须使用最新的QuickBlox iOS SDK version 1.4或从QuickBlox iOS SDK GitHub page

下载