Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ MACCATALYST_NUGET_VERSION_NO_METADATA=$(MACCATALYST_NUGET_VERSION)$(NUGET_PREREL
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=26.3
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_26.3.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_26.3.0.app/Contents/Developer
XCODE_VERSION=26.4
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_26.4.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_26.4.0.app/Contents/Developer
XCODE_PRODUCT_BUILD_VERSION:=$(shell /usr/libexec/PlistBuddy -c 'Print :ProductBuildVersion' $(XCODE_DEVELOPER_ROOT)/../version.plist 2>/dev/null || echo " $(shell tput setaf 1 2>/dev/null)The required Xcode ($(XCODE_VERSION)) is not installed in $(basename $(basename $(XCODE_DEVELOPER_ROOT)))$(shell tput sgr0 2>/dev/null)" >&2)

# We define stable Xcode as the Xcode app being named like "Xcode_#.#[.#].app"
Expand Down
8 changes: 4 additions & 4 deletions Make.versions
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
# IMPORTANT: There must be *no* managed API differences unless the two first
# numbers (major.minor) changes.

IOS_NUGET_OS_VERSION=26.2
TVOS_NUGET_OS_VERSION=26.2
MACOS_NUGET_OS_VERSION=26.2
MACCATALYST_NUGET_OS_VERSION=26.2
IOS_NUGET_OS_VERSION=26.4
TVOS_NUGET_OS_VERSION=26.4
MACOS_NUGET_OS_VERSION=26.4
MACCATALYST_NUGET_OS_VERSION=26.4

# The following are the OS versions we first supported with the current .NET version.
# These versions must *not* change with minor .NET updates, only major .NET releases.
Expand Down
4 changes: 4 additions & 0 deletions builds/Versions-MacCatalyst.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<string>26.0</string>
<string>26.1</string>
<string>26.2</string>
<string>26.4</string>
</array>
</dict>
<key>SupportedTargetPlatformVersions</key>
Expand Down Expand Up @@ -64,6 +65,7 @@
<string>26.0</string>
<string>26.1</string>
<string>26.2</string>
<string>26.4</string>
</array>
</dict>
<key>MacCatalystVersionMap</key>
Expand Down Expand Up @@ -124,6 +126,8 @@
<string>26.1</string>
<key>26.2</key>
<string>26.2</string>
<key>26.4</key>
<string>26.4</string>
</dict>
<key>RecommendedXcodeVersion</key>
<string>@XCODE_VERSION@</string>
Expand Down
2 changes: 2 additions & 0 deletions builds/Versions-iOS.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<string>26.0</string>
<string>26.1</string>
<string>26.2</string>
<string>26.4</string>
</array>
</dict>
<key>SupportedTargetPlatformVersions</key>
Expand Down Expand Up @@ -100,6 +101,7 @@
<string>26.0</string>
<string>26.1</string>
<string>26.2</string>
<string>26.4</string>
</array>
</dict>
<key>RecommendedXcodeVersion</key>
Expand Down
2 changes: 2 additions & 0 deletions builds/Versions-macOS.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<string>26.0</string>
<string>26.1</string>
<string>26.2</string>
<string>26.4</string>
</array>
</dict>
<key>SupportedTargetPlatformVersions</key>
Expand Down Expand Up @@ -62,6 +63,7 @@
<string>26.0</string>
<string>26.1</string>
<string>26.2</string>
<string>26.4</string>
</array>
</dict>
<key>RecommendedXcodeVersion</key>
Expand Down
2 changes: 2 additions & 0 deletions builds/Versions-tvOS.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<string>26.0</string>
<string>26.1</string>
<string>26.2</string>
<string>26.4</string>
</array>
</dict>
<key>SupportedTargetPlatformVersions</key>
Expand Down Expand Up @@ -90,6 +91,7 @@
<string>26.0</string>
<string>26.1</string>
<string>26.2</string>
<string>26.4</string>
</array>
</dict>
<key>RecommendedXcodeVersion</key>
Expand Down
2,840 changes: 2,840 additions & 0 deletions tests/cecil-tests/Documentation.KnownFailures.txt

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions tests/common/TestRuntime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,16 @@ public static bool CheckXcodeVersion (int major, int minor, int build = 0)
return CheckMacSystemVersion (26, 3);
#else
throw new NotImplementedException ($"Missing platform case for Xcode {major}.{minor}");
#endif
case 4:
#if __TVOS__
return ChecktvOSSystemVersion (26, 4);
#elif __IOS__
return CheckiOSSystemVersion (26, 4);
#elif MONOMAC
return CheckMacSystemVersion (26, 4);
#else
throw new NotImplementedException ($"Missing platform case for Xcode {major}.{minor}");
#endif
default:
throw new NotImplementedException ($"Missing version logic for checking for Xcode {major}.{minor}");
Expand Down
8 changes: 8 additions & 0 deletions tests/dotnet/UnitTests/ProjectTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3097,6 +3097,8 @@ public void AppendRuntimeIdentifierToOutputPath_DisableDirectoryBuildProps (Appl
"/usr/lib/swift/libswiftos.dylib",
"/usr/lib/swift/libswiftOSLog.dylib",
"/usr/lib/swift/libswiftQuartzCore.dylib",
"/usr/lib/swift/libswiftsimd.dylib",
"/usr/lib/swift/libswiftSpatial.dylib",
"/usr/lib/swift/libswiftUIKit.dylib",
"/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib",
"/usr/lib/swift/libswiftXPC.dylib",
Expand Down Expand Up @@ -3223,8 +3225,11 @@ public void AppendRuntimeIdentifierToOutputPath_DisableDirectoryBuildProps (Appl
"/usr/lib/swift/libswiftos.dylib",
"/usr/lib/swift/libswiftOSLog.dylib",
"/usr/lib/swift/libswiftQuartzCore.dylib",
"/usr/lib/swift/libswiftsimd.dylib",
"/usr/lib/swift/libswiftSpatial.dylib",
"/usr/lib/swift/libswiftUIKit.dylib",
"/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib",
"/usr/lib/swift/libswiftXPC.dylib",
];

static string [] expectedFrameworks_tvOS_Full = [
Expand Down Expand Up @@ -3408,6 +3413,7 @@ public void AppendRuntimeIdentifierToOutputPath_DisableDirectoryBuildProps (Appl
"/usr/lib/swift/libswiftOSLog.dylib",
"/usr/lib/swift/libswiftQuartzCore.dylib",
"/usr/lib/swift/libswiftsimd.dylib",
"/usr/lib/swift/libswiftSpatial.dylib",
"/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib",
"/usr/lib/swift/libswiftXPC.dylib",
];
Expand Down Expand Up @@ -3600,6 +3606,8 @@ public void AppendRuntimeIdentifierToOutputPath_DisableDirectoryBuildProps (Appl
"/usr/lib/swift/libswiftos.dylib",
"/usr/lib/swift/libswiftOSLog.dylib",
"/usr/lib/swift/libswiftQuartzCore.dylib",
"/usr/lib/swift/libswiftsimd.dylib",
"/usr/lib/swift/libswiftSpatial.dylib",
"/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib",
"/usr/lib/swift/libswiftXPC.dylib",
];
Expand Down
22 changes: 18 additions & 4 deletions tests/monotouch-test/Security/TrustTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,13 @@ void Trust_FullChain (SecTrust trust, SecPolicy policy, X509CertificateCollectio
trust.SetVerifyDate (new DateTime (2025, 10, 1, 0, 0, 0, DateTimeKind.Utc));

SecTrustResult trust_result = SecTrustResult.Unspecified;
var allow_recoverable_trust_failure = TestRuntime.CheckSystemVersion (TestRuntime.CurrentPlatform, 26, 4);
var result = Evaluate (trust, out var trustError, true);
Assert.That (result, Is.EqualTo (trust_result), $"Evaluate: {trustError}");
if (allow_recoverable_trust_failure) {
Assert.That (result, Is.EqualTo (SecTrustResult.Unspecified).Or.EqualTo (SecTrustResult.RecoverableTrustFailure), $"Evaluate: {trustError}");
} else {
Assert.That (result, Is.EqualTo (trust_result), $"Evaluate: {trustError}");
}

// Evalute must be called prior to Count (Apple documentation)
Assert.That (trust.Count, Is.EqualTo (3), "Count");
Expand All @@ -354,16 +359,25 @@ void Trust_FullChain (SecTrust trust, SecPolicy policy, X509CertificateCollectio
Assert.That (sc3.SubjectSummary, Is.EqualTo ("GTS Root R1"), "SubjectSummary(sc3)");
}

Assert.That (trust.GetTrustResult (), Is.EqualTo (trust_result), "GetTrustResult");
Assert.That (trust.GetTrustResult (), Is.EqualTo (result), "GetTrustResult");

trust.SetAnchorCertificates (certs);
Assert.That (trust.GetCustomAnchorCertificates ().Length, Is.EqualTo (certs.Count), "GetCustomAnchorCertificates");

// since we modified the `trust` instance it's result was invalidated (marked as unspecified on iOS 11)
Assert.That (trust.GetTrustResult (), Is.EqualTo (SecTrustResult.Unspecified), "GetTrustResult-2");

Assert.True (trust.Evaluate (out var error), $"Evaluate: {error}");
Assert.Null (error, "error");
if (result == SecTrustResult.Unspecified) {
Assert.True (trust.Evaluate (out var error), $"Evaluate: {error}");
Assert.Null (error, "error");
} else if (result == SecTrustResult.RecoverableTrustFailure) {
if (trust.Evaluate (out var error))
Assert.Null (error, "error");
else
Assert.NotNull (error, "error");
} else {
Assert.Fail ($"Unexpected trust result: {result}");
}
}

[Test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,21 @@
!missing-selector! +AVCaptureDevice::isEdgeLightActive not bound
!missing-selector! +AVCaptureDevice::isEdgeLightEnabled not bound
!missing-selector! AVCaptureDeviceFormat::isEdgeLightSupported not bound
!missing-field! AVPlayerInterstitialEventMonitorScheduleRequestCompletedNotification not bound
!missing-field! AVPlayerInterstitialEventMonitorScheduleRequestErrorKey not bound
!missing-field! AVPlayerInterstitialEventMonitorScheduleRequestIdentifierKey not bound
!missing-field! AVPlayerInterstitialEventMonitorScheduleRequestResponseKey not bound
!missing-field! AVPlayerRateDidChangeReasonPlayheadReachedLiveEdge not bound
!missing-field! AVPlayerRateDidChangeReasonReversePlaybackReachedStartOfSeekableRange not bound
!missing-selector! +AVCaptionRenderer::captionPreviewForProfileID:extendedLanguageTag:renderSize: not bound
!missing-selector! AVAssetDownloadConfiguration::downloadsInterstitialAssets not bound
!missing-selector! AVAssetDownloadConfiguration::setDownloadsInterstitialAssets: not bound
!missing-selector! AVCaptureDeviceInput::isAudioZoomEnabled not bound
!missing-selector! AVCaptureDeviceInput::isAudioZoomSupported not bound
!missing-selector! AVCaptureDeviceInput::setAudioZoomEnabled: not bound
!missing-selector! AVPlayer::allowsCaptureOfClearKeyVideo not bound
!missing-selector! AVPlayer::setAllowsCaptureOfClearKeyVideo: not bound
!missing-selector! AVPlayerInterstitialEvent::scheduleIdentifier not bound
!missing-selector! AVPlayerItem::interstitialEventIdentifier not bound
!missing-selector! AVPlayerLayer::setCaptionPreviewProfileID:position:text: not bound
!missing-selector! AVPlayerLayer::stopShowingCaptionPreview not bound
11 changes: 11 additions & 0 deletions tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-AVKit.todo
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
!missing-enum! AVLegibleMediaOptionsMenuContents not bound
!missing-enum! AVLegibleMediaOptionsMenuStateChangeReason not bound
!missing-protocol! AVLegibleMediaOptionsMenuControllerDelegate not bound
!missing-selector! AVLegibleMediaOptionsMenuController::delegate not bound
!missing-selector! AVLegibleMediaOptionsMenuController::initWithPlayer: not bound
!missing-selector! AVLegibleMediaOptionsMenuController::menuState not bound
!missing-selector! AVLegibleMediaOptionsMenuController::menuWithContents: not bound
!missing-selector! AVLegibleMediaOptionsMenuController::player not bound
!missing-selector! AVLegibleMediaOptionsMenuController::setDelegate: not bound
!missing-selector! AVLegibleMediaOptionsMenuController::setPlayer: not bound
!missing-type! AVLegibleMediaOptionsMenuController not bound
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
!missing-field! AXShowBordersEnabledStatusDidChangeNotification not bound
!missing-pinvoke! AXPrefersActionSliderAlternative is not bound
!missing-pinvoke! AXShowBordersEnabled is not bound
!missing-enum-value! AXSettingsFeature native value AXSettingsFeatureCaptionStyles = 6 not bound
!missing-field! AXReduceHighlightingEffectsEnabledDidChangeNotification not bound
!missing-pinvoke! AXOpenSettingsFeatureIsSupported is not bound
!missing-pinvoke! AXReduceHighlightingEffectsEnabled is not bound
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@
!missing-type! ASGeneratedPassword not bound
!missing-type! ASGeneratePasswordsRequest not bound
!missing-type! ASSavePasswordRequest not bound
!missing-selector! ASAuthorizationSecurityKeyPublicKeyCredentialAssertion::prf not bound
!missing-selector! ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest::prf not bound
!missing-selector! ASAuthorizationSecurityKeyPublicKeyCredentialAssertionRequest::setPrf: not bound
!missing-selector! ASAuthorizationSecurityKeyPublicKeyCredentialRegistration::prf not bound
!missing-selector! ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest::prf not bound
!missing-selector! ASAuthorizationSecurityKeyPublicKeyCredentialRegistrationRequest::setPrf: not bound
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
!deprecated-attribute-missing! BAAssetPackManager::getStatusOfAssetPackWithIdentifier:completionHandler: missing a [Deprecated] attribute
!missing-selector! BAAssetPackManager::assetPackIsAvailableLocallyWithIdentifier: not bound
!missing-selector! BAAssetPackManager::ensureLocalAvailabilityOfAssetPack:requireLatestVersion:completionHandler: not bound
!missing-selector! BAAssetPackManager::getLocalStatusOfAssetPackWithIdentifier:completionHandler: not bound
!missing-selector! BAAssetPackManager::getStatusRelativeToAssetPack:completionHandler: not bound
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,6 @@
!missing-selector! CPTravelEstimates::distanceRemaining not bound
!missing-selector! CPTravelEstimates::initWithDistanceRemaining:timeRemaining: not bound
!missing-selector! CPTravelEstimates::timeRemaining not bound
!missing-selector! CPTrip::destination not bound
!missing-selector! CPTrip::initWithOrigin:destination:routeChoices: not bound
!missing-selector! CPTrip::origin not bound
!missing-selector! CPTrip::routeChoices not bound
!missing-selector! CPTrip::setUserInfo: not bound
!missing-selector! CPTrip::userInfo not bound
Expand Down
Loading
Loading