Failed to publish Maui App after adding localization for Info.plist

Ainur Almurzina 0 Reputation points
2024-09-09T10:51:44.03+00:00

Hi,

I followed this documentation https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/localization?view=net-maui-8.0#ios-1 to localize description of permissions for iOS.

What I've done:

  1. InfoPlist.strings files:
    User's image
  2. InfoPlist.string:
    User's image
  3. Info.plist:
    User's image
  4. csproj configurations:
    User's image

After I tried to debug on a real device and everything worked fine. However when I try to publish the app, it fails.

I use:
Visual Studio Community 2022 v17.11.2

dotnet workload:
User's image

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,514 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.