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

Localization provider on Swift 6 #694

Closed
andrej-jasso opened this issue Dec 18, 2024 · 6 comments
Closed

Localization provider on Swift 6 #694

andrej-jasso opened this issue Dec 18, 2024 · 6 comments

Comments

@andrej-jasso
Copy link

andrej-jasso commented Dec 18, 2024

What did you do?

Screenshot 2024-12-18 at 12 57 08

What did you expect to happen?

I wanted to be able to switch localization provider like it is documented in the readme but I can't do so on an Swift 6 project.

GetStream Environment

GetStream Chat version: Newst GetstreamSwiftUI as of now 4.68.0
GetStream Chat frameworks: StreamChat, StreamChatSwiftUI
iOS version: 18.1
Swift version: 6.0
Xcode version: 16.1
Device: SE 3rd gen simulator

Additional context

@testableapple
Copy link
Contributor

Hi @andrej-jasso, which version of StreamChatSwiftUI do you use?

@andrej-jasso
Copy link
Author

Hi @andrej-jasso, which version of StreamChatSwiftUI do you use?

1.2.2

@andrej-jasso
Copy link
Author

Screenshot 2024-12-18 at 13 13 46
This is the workaround, but it's not ideal to have to use preconcurrency

@testableapple
Copy link
Contributor

@andrej-jasso, you mentioned that it is the newest, but the latest version is 4.68.0 🤔

@andrej-jasso
Copy link
Author

andrej-jasso commented Dec 18, 2024

Screenshot 2024-12-18 at 13 20 09

Sorry typo. I think I looked at the wrong dependency. This is the number. Edited the issue. Now its fitting with the project.

@testableapple
Copy link
Contributor

testableapple commented Dec 18, 2024

@andrej-jasso, unfortunately, we have not fully migrated to Swift 6 yet. So at the moment, using the @preconcurrency annotation is the only option.

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