Skip to content

Commit

Permalink
[main] Add Xcode 13.2 Support (#13643)
Browse files Browse the repository at this point in the history
* [Xcode13.2] Bump to Xcode 13.2 RC (#13497)

* [Xcode13.2] Bump to Xcode 13.2 Beta 2

Breaking changes addressed for legacy
* HomeKit
* CallKit
* CoreLocation

* [xcode13.2] Bump to Xcode 13.2 RC and apply feedback

* [AppKit] Fix missing Notifications

* Fix xtro

* [xcode13.2] Bump versions and use stable Xcode 13.2

* [monotouch-tests] Make TestAddingByComponents work on the last day of the year

Happy New Year!!

* NO BOM PLZ!
  • Loading branch information
dalexsoto authored Jan 3, 2022
1 parent 3fe85ef commit dfe6c2b
Show file tree
Hide file tree
Showing 66 changed files with 3,261 additions and 357 deletions.
6 changes: 3 additions & 3 deletions Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ MACCATALYST_NUGET_VERSION_NO_METADATA=$(MACCATALYST_NUGET_VERSION)-$(NUGET_PRERE
MACCATALYST_NUGET_VERSION_FULL=$(MACCATALYST_NUGET_VERSION_NO_METADATA)+$(NUGET_BUILD_METADATA)

# Xcode version should have both a major and a minor version (even if the minor version is 0)
XCODE_VERSION=13.1
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_13.1_Release_Candidate.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_13.1.0-rc.app/Contents/Developer
XCODE_VERSION=13.2
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_13.2.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_13.2.0.app/Contents/Developer
XCODE_PRODUCT_BUILD_VERSION:=$(shell /usr/libexec/PlistBuddy -c 'Print :ProductBuildVersion' $(XCODE_DEVELOPER_ROOT)/../version.plist)

# Mono version embedded in XI/XM (NEEDED_MONO_VERSION/BRANCH) are specified in mk/mono.mk
Expand Down
24 changes: 12 additions & 12 deletions Make.versions
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
# line changed in git).
#

IOS_PACKAGE_VERSION=15.3.0.$(IOS_COMMIT_DISTANCE)
MAC_PACKAGE_VERSION=8.3.0.$(MAC_COMMIT_DISTANCE)
IOS_PACKAGE_VERSION=15.5.0.$(IOS_COMMIT_DISTANCE)
MAC_PACKAGE_VERSION=8.5.0.$(MAC_COMMIT_DISTANCE)

#
# ** NuGet package version numbers **
Expand All @@ -66,11 +66,11 @@ MAC_PACKAGE_VERSION=8.3.0.$(MAC_COMMIT_DISTANCE)
# 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
IOS_NUGET_VERSION=15.2.100
TVOS_NUGET_VERSION=15.2.100
WATCHOS_NUGET_VERSION=8.3.100
MACOS_NUGET_VERSION=12.1.100
MACCATALYST_NUGET_VERSION=15.2.100


# Defines the default platform version if it's not specified in the TFM. The default should not change for a given .NET version:
Expand All @@ -80,8 +80,8 @@ MACCATALYST_NUGET_VERSION=15.0.101
# 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
DEFAULT_TARGET_PLATFORM_VERSION_IOS=15.2
DEFAULT_TARGET_PLATFORM_VERSION_TVOS=15.2
DEFAULT_TARGET_PLATFORM_VERSION_WATCHOS=8.3
DEFAULT_TARGET_PLATFORM_VERSION_MACOS=12.1
DEFAULT_TARGET_PLATFORM_VERSION_MACCATALYST=15.2
6 changes: 6 additions & 0 deletions Versions-ios.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<string>14.4</string>
<string>14.5</string>
<string>15.0</string>
<string>15.2</string>
</array>
<key>tvOS</key>
<array>
Expand Down Expand Up @@ -76,6 +77,7 @@
<string>14.4</string>
<string>14.5</string>
<string>15.0</string>
<string>15.2</string>
</array>
<key>watchOS</key>
<array>
Expand All @@ -102,6 +104,7 @@
<string>7.3</string>
<string>7.4</string>
<string>8.0</string>
<string>8.3</string>
</array>
<key>MacCatalyst</key>
<array>
Expand All @@ -115,6 +118,7 @@
<string>14.4</string>
<string>14.5</string>
<string>15.0</string>
<string>15.2</string>
</array>
</dict>
<key>MacCatalystVersionMap</key>
Expand All @@ -139,6 +143,8 @@
<string>11.3</string>
<key>15.0</key>
<string>12.0</string>
<key>15.2</key>
<string>12.1</string>
</dict>
<key>RecommendedXcodeVersion</key>
<string>@XCODE_VERSION@</string>
Expand Down
1 change: 1 addition & 0 deletions Versions-mac.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<string>11.2</string>
<string>11.3</string>
<string>12.0</string>
<string>12.1</string>
</array>
</dict>
<key>RecommendedXcodeVersion</key>
Expand Down
4 changes: 4 additions & 0 deletions src/AVFoundation/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,10 @@ public enum AVOutputSettingsPreset {
[TV (13,0), NoWatch, Mac (10,15), iOS (13,0)]
[Field ("AVOutputSettingsPresetHEVC3840x2160WithAlpha")]
PresetHevc3840x2160WithAlpha = 14,

[NoTV, NoWatch, Mac (12,1), NoiOS]
[Field ("AVOutputSettingsPresetHEVC7680x4320")]
PresetHevc7680x4320 = 15,
}

[Introduced (PlatformName.MacCatalyst, 14, 0)]
Expand Down
9 changes: 3 additions & 6 deletions src/AppKit/Compat.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if !__MACCATALYST__
#if !NET
using System;
using System.ComponentModel;

Expand All @@ -7,7 +7,7 @@

namespace AppKit {
partial class NSMutableParagraphStyle {
#if !XAMCORE_4_0

[Obsolete ("Use the 'TextBlocks' property instead.", false)]
[EditorBrowsable (EditorBrowsableState.Never)]
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
Expand Down Expand Up @@ -39,16 +39,13 @@ public virtual void SetTextLists (NSTextList[] array)
}
nsa_array.Dispose ();
}
#endif
}

#if !XAMCORE_4_0
public static class NSFileTypeForHFSTypeCode
{
public static readonly string ComputerIcon = "root";
public static readonly string DesktopIcon = "desk";
public static readonly string FinderIcon = "FNDR";
}
#endif
}
#endif // !__MACCATALYST__
#endif // !NET
Loading

3 comments on commit dfe6c2b

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ [CI Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

API Current PR diff

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

Generator diff comments have not been provided.

Packages generated

View packages

Test results

1 tests failed, 234 tests passed.

Failed tests

  • DotNet tests: TimedOut (Execution timed out after 120 minutes.)

Pipeline on Agent XAMBOT-1038.BigSur'
[main] Add Xcode 13.2 Support (#13643)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests iOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[main] Add Xcode 13.2 Support (#13643)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests tvOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent
[main] Add Xcode 13.2 Support (#13643)

Please sign in to comment.