xamarin-macios/Make.versions

88 строки
3.9 KiB
Plaintext
Исходник Обычный вид История

#
# A release branch requires updating the following six variables at the bottom of this file:
#
# IOS_PACKAGE_VERSION (major/minor/revision #)
# MAC_PACKAGE_VERSION (major/minor/revision #)
#
# IOS_NUGET_VERSION (major/minor/patch #)
# TVOS_NUGET_VERSION (major/minor/patch #)
# WATCHOS_NUGET_VERSION (major/minor/patch #)
# MACOS_NUGET_VERSION (major/minor/patch #)
#
# Update version numbers on main as well, to the next version
#
#
# ** Version numbers **
#
# Versions are defined as: Major.Minor.Revison.Build
#
# Major/minor (first/second numbers - max 2 digits each):
# - Bump for major/minor releases.
#
# Revision (third number - max 2 digits):
# - Reset to 0 after a major or minor bump (do not use 99 for Xcode preview
# branches (use 0 instead), because otherwise we can't bump it further if
# needed).
# - Bump for service releases and previews.
# - Bump if commit distance becomes > 999.
# - Can also be bumped for other reasons (in particular there's no correlation
# between Preview/Service Release #X and Revision #Y).
# - Bumping revision to a high enough number to make it clear that there's
# no correlation is a valid reason to bump.
# - The revision must be bumped at the same time for both iOS and Mac
# (otherwise the commit distance will differ).
# - Also bump if the [IOS|MAC]_PACKAGE_VERSION lines change for any other
# reason (otherwise we end up with repeating version numbers, since the
# commit distance would restart at 0, while the other numbers wouldn't
# change).
# - Any other problem can also usually be solved by bumping the revision.
# - Do not refactor the revision to a separate variable, because the reason
# bumping the revision is a general solution for many problems is that it
# also resets the commit distance (which wouldn't happen if the revision was
# refactored to a separate variable).
#
# Build (fourth number - max 3 digits):
# - Automatically calculated as the number of commits since the last time any
# of the other three numbers changed (technically since the corresponding
# line changed in git).
#
Bump to Xcode 13 beta 1. (#11861) * Bump maccore. New commits in xamarin/maccore: * xamarin/maccore@9acbbed1f6 [mlaunch] Add support for Xcode 13 beta 1. (#2452) * xamarin/maccore@e48f75c0b6 [Xamarin.Hosting] Fix the --stdout arg not being forwarded to DeviceLaunchConfig (#2435) * xamarin/maccore@109c695b1b [Xamarin.Hosting] Fix help string for launchdev argument (#2429) Diff: https://github.com/xamarin/maccore/compare/cddbd1915dcb27d8bf2d9b3b9cc4aeb22785698e..9acbbed1f60788349c60437dba11531a866777a8 * [xtro] Fix generation of .pch files * [xtro] Fix deprecated check to handle (anonymous) declarations and enable latest C# syntax in project * [xtro] Fix _sanity_ checks * [xtro] Update todo for beta 1 * [Siminstaller] Force siminstaller to use the xcode 12.5 url Related issue: https://github.com/xamarin/xamarin-macios/issues/11881 * Fix introspection failures (due to [breaking] changes) * [tests][intro] Fix hang for tvOS Creating an instance of `NSMetadataQuery` hangs the simulator. Even after (xharness) timeout the simulator is not in a good state to run further tests and every new (tvOS) test will also hang... * [tests][intro] Same hang for watchOS except that further test execution does not seem affected (like tvOS) ``` CoreSimulator 772.1 - Device: Apple Watch Series 3 - 38mm (watchOS 8.0) - created by XHarness (42262867-E060-40C0-803E-6DA676AF50CC) - Runtime: watchOS 8.0 (19R5266p) - DeviceType: Apple Watch Series 3 - 38mm Thread 0 Crashed:: tid_103 Dispatch queue: com.apple.main-thread 0 com.apple.Foundation 0x00007fff21470bd0 -[NSMetadataQuery dealloc] + 432 1 libobjc.A.dylib 0x00007fff200d11f7 objc_object::sidetable_release(bool, bool) + 177 2 com.apple.Foundation 0x00007fff21470a03 -[NSMetadataQuery init] + 64 3 com.xamarin.introspection_watch.watchkitapp.watchkitextension 0x0000000107efc139 xamarin_dyn_objc_msgSend + 217 (trampolines-x86_64-objc_msgSend.s:15) 4 ??? 0x000000010c76d4f6 0 + 4504081654 5 com.xamarin.introspection_watch.watchkitapp.watchkitextension 0x0000000107cffc85 mono_jit_runtime_invoke + 1621 (mini-runtime.c:3197) 6 com.xamarin.introspection_watch.watchkitapp.watchkitextension 0x0000000107e177d8 do_runtime_invoke + 54 (object.c:3052) [inlined] 7 com.xamarin.introspection_watch.watchkitapp.watchkitextension 0x0000000107e177d8 mono_runtime_invoke_checked + 136 (object.c:3220) 8 com.xamarin.introspection_watch.watchkitapp.watchkitextension 0x0000000107e1e3c5 mono_runtime_try_invoke_array + 2101 (object.c:5601) 9 com.xamarin.introspection_watch.watchkitapp.watchkitextension 0x0000000107daf977 ves_icall_InternalInvoke + 871 (icall.c:3927) 10 com.xamarin.introspection_watch.watchkitapp.watchkitextension 0x0000000107dc0167 ves_icall_InternalInvoke_raw + 103 (icall-def.h:667) 11 ??? 0x000000010a232799 0 + 4465043353 12 ??? 0x000000010c76e08b 0 + 4504084619 ``` * [tests][monotouch-test] Fix failures with xcode 13 beta 1 * [tests][mmptest] Use a FAT framework that's build with x86_64 and arm64 Co-authored-by: Alex Soto <alex@alexsoto.me> Co-authored-by: Sebastien Pouliot <sebastien.pouliot@microsoft.com> Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2021-06-11 03:07:20 +03:00
IOS_PACKAGE_VERSION=14.99.0.$(IOS_COMMIT_DISTANCE)
MAC_PACKAGE_VERSION=7.99.0.$(MAC_COMMIT_DISTANCE)
#
# ** NuGet package version numbers **
#
# See dotnet/VERSIONS.md.
#
# Rules:
# * The first two numbers represent the major and minor version of the corresponding OS.
# * Reset patch version (third number) to 100 every time either major or minor version is bumped.
# * Bump last two digits of the patch version for service releases.
# * Bump first digit of the patch version for feature releases (and reset the first two digits to 0)
#
# WARNING: Do **not** use versions higher than the available Xcode SDK or else we will have issues with mtouch (See https://github.com/xamarin/xamarin-macios/issues/7705)
# When bumping the major macOS version in MACOS_NUGET_VERSION also update the macOS version where we execute on bots in jenkins/Jenkinsfile (in the 'node' element)
IOS_NUGET_VERSION=15.0.101
TVOS_NUGET_VERSION=15.0.101
WATCHOS_NUGET_VERSION=8.0.101
MACOS_NUGET_VERSION=12.0.101
MACCATALYST_NUGET_VERSION=15.0.101
# Defines the default platform version if it's not specified in the TFM. The default should not change for a given .NET version:
# * We release support for iOS 14.5 with .NET 6
# * Apple releases iOS 15.0, we're still using .NET 6. This default continues to be iOS 14.5
# * .NET 7 is shipped, and at this point we bump the default to iOS 15.0
# Basically: this should be the last OS version of the platform in question when the current major .NET version is first released to stable.
# Ref: https://github.com/dotnet/designs/blob/8e6394406d44f75f30ea2259a425cb9e38d75b69/accepted/2020/net5/net5.md#os-versions
DEFAULT_TARGET_PLATFORM_VERSION_IOS=15.0
DEFAULT_TARGET_PLATFORM_VERSION_TVOS=15.0
DEFAULT_TARGET_PLATFORM_VERSION_WATCHOS=8.0
DEFAULT_TARGET_PLATFORM_VERSION_MACOS=12.0
DEFAULT_TARGET_PLATFORM_VERSION_MACCATALYST=15.0