2012-12-02 44 views
1

我試圖在我的應用中實現聊天模塊。我引用了QuickBlox API的簡單示例代碼。Quickblox:ASI Http符號和模塊之間的衝突

但是,當我嘗試從我的應用程序註冊用戶時,我得到了下面的鏈接器錯誤。

我的代碼: -

// 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 

回答