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

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

Open
Mats-Hjalmar opened this issue Apr 30, 2024 · 3 comments
Assignees
Labels
bug Something isn't working ios resources wait for reply Further information is requested

Comments

@Mats-Hjalmar
Copy link

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

Affected platforms

  • iOS

Versions

  • Kotlin version*: 1.9.23
  • Compose Multiplatform version*: 1.6.10-dev1608
  • OS version(s)* (required for Desktop and iOS issues): 17.4
  • OS architecture (x86 or arm64): arm64
  • Device (model or simulator for iOS issues): IPhone 14 Pro, IPhone 13 Pro

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.

@Mats-Hjalmar Mats-Hjalmar added bug Something isn't working submitted labels Apr 30, 2024
@igordmn
Copy link
Collaborator

igordmn commented May 1, 2024

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?

@igordmn igordmn added wait for reply Further information is requested ios resources and removed submitted labels May 1, 2024
@Mats-Hjalmar
Copy link
Author

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 igordmn removed the wait for reply Further information is requested label May 1, 2024
@igordmn
Copy link
Collaborator

igordmn commented May 3, 2024

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.

@igordmn igordmn added the wait for reply Further information is requested label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ios resources wait for reply Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants