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

Crash on devices only when the method i18Next.t(key, variables: parameterMap!) is being used on Xcode 15 #11

Open
JamesChirinosNCR opened this issue Feb 1, 2024 · 3 comments

Comments

@JamesChirinosNCR
Copy link

JamesChirinosNCR commented Feb 1, 2024

🐛 Bug Report

Crash on devices only when the method i18Next.t(key, variables: parameterMap!) is being used on Xcode 15. On simulators, it works fine.
For devices, I refer to when we debug using Xcode 15 on a device, and when we upload the app and use it from Testflight on a device.

The error in Crashlytics appears like EXC_BAD_ACCESS(KERN_INVALID_ADDRESS)

To Reproduce

When this method is called the app crashes.

i18Next.t(key, variables: parameterMap!)

Expected behavior

The app to continue working.

Your Environment

  • Xcode 15
  • i18next (1.0.2)
  • Swift 5.0
@amanda-shlee
Copy link

I have the same problem, is there a workaround for this 😭

@JamesChirinosNCR
Copy link
Author

@amanda-shlee This fork has the code that fixes the issue.

master...waterman76:i18next:master

@amanda-shlee
Copy link

it works!! thank you so much @JamesChirinosNCR 💯 🥇

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