diff --git a/eng/testing/tests.android.targets b/eng/testing/tests.android.targets index 2624ccc1c02e8e..7b20463c9e9330 100644 --- a/eng/testing/tests.android.targets +++ b/eng/testing/tests.android.targets @@ -26,7 +26,6 @@ true - <_UseNativeLibPrefix>true <_SuppressNativeLibEventSourceWarning>true diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets index e758f681c3c0ee..d3a40486db65b2 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets @@ -29,6 +29,7 @@ The .NET Foundation licenses this file to you under the MIT license. true false $(TreatWarningsAsErrors) + true <_IsiOSLikePlatform Condition="'$(_targetOS)' == 'maccatalyst' or $(_targetOS.StartsWith('ios')) or $(_targetOS.StartsWith('tvos'))">true <_IsApplePlatform Condition="'$(_targetOS)' == 'osx' or '$(_IsiOSLikePlatform)' == 'true'">true @@ -71,7 +72,7 @@ The .NET Foundation licenses this file to you under the MIT license. .lib .a - lib + lib .dSYM .pdb