Skip to content

[iOS] Resource localization fails if the project is inside a folder named OS #3157

Closed

Description

@jeremiethibeault

Current behavior

Assuming your project is inside a folder named OS (e.g. C:\P\OS\MyProject...), the resource localization will fail on iOS because the .lproj files will not be generated except an empty one named OS.lproj

Expected behavior

The resource generation shouldn't fail.

How to reproduce it (as minimally and precisely as possible)

  • Create a new Uno App inside a folder named OS.
  • Start your app with localized strings.
  • Observe that any localized strings won't show up.
  • Open the generated .app and you will see that it's missing the localized strings inside the lproj files.

Environment

Nuget Package: Uno.UI

Package Version(s): 2.1.37

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Windows
  • Build tasks
  • Solution Templates

Visual Studio:

  • 2017 (version: )
  • 2019 (version: )
  • for Mac (version: )

Activity

  1. added
    kind/bug
    triage/untriaged
    on May 14, 2020
  2. removed
    triage/untriaged
    on May 15, 2020
  3. added
    project/resources 🈷️
    on Sep 21, 2020
  4. added
    platform/ios 🍎
    on Nov 11, 2020
  5. added
    difficulty/tbd
    on Feb 15, 2021
  6. added
    difficulty/medium 🤔
    and removed
    difficulty/tbd
    on Jun 1, 2021
  7. github-actions commented on Jul 25, 2025

    @github-actions
    Contributor

    Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.

  8. added
    stale
    on Jul 25, 2025
  9. removed
    stale
    on Jul 25, 2025
  10. MartinZikmund commented on Apr 7, 2026

    @MartinZikmund
    Member

    Repro generator

    This issue was classified as not reproducible with a code sample or test.

    Reason: This is an iOS build system bug where .lproj localization files are not generated correctly when the project is inside a folder named OS. This is a build/MSBuild task issue that requires an iOS build environment and a specific folder structure — it cannot be demonstrated with a self-contained runtime test.

  11. added a commit that references this issue on Aug 3, 2026
    358e4ad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

difficulty/medium 🤔kind/bugno-reproplatform/ios 🍎project/resources 🈷️

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions