1

我正在尝试在我的应用程序中实现聊天模块。我参考了 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
4

1 回答 1

0

You have to use latest QuickBlox iOS SDK version 1.4 or just download from QuickBlox iOS SDK GitHub page

于 2012-12-11T17:50:51.933 回答