dotnet / dotnet/macios

Possible Localization issues in msbuild errors/warnings

Open
#8,981 1 comment 0 reactions 0 assignees View on GitHub
bug iOS macOS msbuild
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 13h
Merged PRs (30d)
96

Description

This is fresh from xcode 12 branch:

```
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1729,3): warning : The App Extension 'NativeWidget' has a CFBundleVersion (1) that does not match the main app bundle's CFBundleVersion (1.0)
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1729,3): warning :
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1729,3): warning : "The App Extension '{0}' has a CFBundleVersion ({1}) that does not match the main app bundle's CFBundleVersion ({2})
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1729,3): warning : "
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1729,3): warning : System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1729,3): warning : at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x003da] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-12/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/Text/StringBuilder.cs:1637
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1729,3): warning : at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x0000e] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-12/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/String.Manipulation.cs:471
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1729,3): warning : at System.String.Format (System.IFormatProvider provider, System.String format, System.Object[] args) [0x00018] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-12/external/bockbuild/builds/mono-x64/external/corefx/src/Common/src/CoreLib/System/String.Manipulation.cs:463
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(1729,3): warning : at Microsoft.Build.Framework.LazyFormattedBuildEventArgs.FormatString (System.Globalization.CultureInfo culture, System.String unformatted, System.Object[] args) [0x00009] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-12/external/bockbuild/builds/msbuild-15/src/Framework/LazyFormattedBuildEventArgs.cs:258
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(2073,3): error MSB6006: "codesign" exited with code 1.
```
```
Log.LogWarning (MSBStrings.W0071, name, shortVersionString, mainShortVersionString);
The App Extension ‘{0}’ has a CFBundleShortVersionString ({1}) that does not match the main app bundle’s CFBundleShortVersionString ({2})
```

Someone should trigger some msbuild warnings and see if they all do this...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.