JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
14.85k stars 1.08k forks source link

Compose generated string resources does not appear on testflight installed apps #4736

Open Mats-Hjalmar opened 2 weeks ago

Mats-Hjalmar commented 2 weeks ago

Describe the bug If you use a string compose resource it does not work in a testflight downloaded version of you app.

Affected platforms

Versions

To Reproduce Add a string to en/strings.xml resource folder. Use this string in in an iOS targeted app. Upload this app to testflight. Run it.

Expected behavior The resource should be found

Additional context Once downloaded from testflight i cant install the app locally without clearing caches.

igordmn commented 2 weeks ago

i cant install the app locally without clearing caches.

Does it mean that the issue reproduces only when you try to update the application? If so, then from which Compose version update happens? Does it reproduce with clean install?

Mats-Hjalmar commented 2 weeks ago

No, it does not only reproduce on update. It reproduces on clean install.

  1. Deleting the app and installing via xcode is still broken (even if this same build is working on a simluator (or any unafected device).
  2. Removing this string resource -> Upload to testflight -> download it to the same phone -> Works.
igordmn commented 2 weeks ago

We didn't able reproduce the issue - an app installed via TestFlight can access resources successfully.

We would appreciate a sample project with the issue, and the detailed steps how you build and upload the application.