ChatKit创建对话失败

error提示信息为
Error Domain=com.LeanCloud.ErrorDomain Code=1 "client not opened." UserInfo={NSLocalizedFailureReason=client not opened.}

[[LCChatKit sharedInstance].client createConversationWithName:@"clientId" clientIds:@[@"4"] attributes:attributes options:AVIMConversationOptionUnique callback:^(AVIMConversation * _Nullable conversation, NSError * _Nullable error) {
        __strong typeof(weakSelf) strongSelf = weakSelf;
        if (!error) {
            NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
        }
    }];

你好,client 要先 open:

 [[LCChatKit sharedInstance].client openWithCallback:^(BOOL succeeded, NSError * _Nullable error) {
    //创建会话等
}];

好的,感谢!