Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios代码里添加群组成员报错 #19

Open
chuhouyi opened this issue Jan 15, 2024 · 2 comments
Open

ios代码里添加群组成员报错 #19

chuhouyi opened this issue Jan 15, 2024 · 2 comments

Comments

@chuhouyi
Copy link

截屏

FLTTeamService.swift line 653

报错:Heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional

@chuhouyi
Copy link
Author

我Xcode版本13.3ios中cocoapod下载的版本是NIMSDK_LITE (9.13.1)

@netease-george
Copy link
Contributor

可能是 swift 版本的问题,可以显式 指定一下:
let dicMember: [String: Any] = ["id": teamId, "account": memberId, "type": "normal", "isInTeam": false, "isMute": false, "joinTime": 0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants