Skip to content

Commit

Permalink
[Xcode13] Bump xcode 13 to beta 3. (#12137)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque authored Jul 19, 2021
1 parent a96421f commit 7ea2524
Show file tree
Hide file tree
Showing 68 changed files with 3,200 additions and 2,342 deletions.
4 changes: 2 additions & 2 deletions Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ MACCATALYST_NUGET_VERSION_FULL=$(MACCATALYST_NUGET_VERSION_NO_METADATA)+$(NUGET_

# Xcode version should have both a major and a minor version (even if the minor version is 0)
XCODE_VERSION=13.0
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_13_beta_2.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_13.0.0-beta2.app/Contents/Developer
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_13_beta_3.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_13.0.0-beta3.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
6 changes: 0 additions & 6 deletions src/automaticassessmentconfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,6 @@ interface AEAssessmentApplication : NSCopying

[Export ("requiresSignatureValidation")]
bool RequiresSignatureValidation { get; set; }

[Export ("initWithBundleIdentifier:")]
IntPtr Constructor (string bundleIdentifier);

[Export ("initWithBundleIdentifier:teamIdentifier:")]
IntPtr Constructor (string bundleIdentifier, [NullAllowed] string teamIdentifier);
}

[Mac (12,0), iOS (15,0), MacCatalyst (15,0)]
Expand Down
4 changes: 0 additions & 4 deletions src/coremotion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,6 @@ interface CMAltimeter {
[Export ("isAbsoluteAltitudeAvailable")]
bool IsAbsoluteAltitudeAvailable { get; }

[Watch (8,0), NoTV, NoMac, iOS (15, 0), MacCatalyst (15,0)]
[Export ("absoluteAltitudeUpdateInterval")]
double AbsoluteAltitudeUpdateInterval { get; set; }

[Watch (8,0), NoTV, NoMac, iOS (15,0), MacCatalyst (15,0)]
[Export ("startAbsoluteAltitudeUpdatesToQueue:withHandler:")]
void StartAbsoluteAltitudeUpdates (NSOperationQueue queue, Action<CMAbsoluteAltitudeData, NSError> handler);
Expand Down
2 changes: 1 addition & 1 deletion src/uikit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19749,7 +19749,7 @@ interface UISceneActivationConditions : NSSecureCoding {

[iOS (13,0), TV (13,0), NoWatch]
[BaseType (typeof (NSObject))]
interface UISceneActivationRequestOptions {
interface UISceneActivationRequestOptions : NSCopying {

[NullAllowed, Export ("requestingScene", ArgumentSemantic.Strong)]
UIScene RequestingScene { get; set; }
Expand Down
2 changes: 2 additions & 0 deletions tests/introspection/ApiSelectorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ protected virtual bool Skip (Type type, string selectorName)
// iOS 10 beta 2
case "GKBehavior":
case "MDLTransform":
// UISceneActivationRequestOptions started conforming to NSCopying oin Xcode 13
case "UISceneActivationRequestOptions":
switch (selectorName) {
case "copyWithZone:":
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ public void InvalidStatusCode ()
// "Operation not permitted" (might be localized so we just check non-null)
Assert.NotNull (s, "1");
s = StatusCodeError.GetErrorDescription ((StatusCode) Int32.MinValue);
Assert.Null (s, "MinValue");
// in previous version of xcode, if the error was not known you would get a null ptr, in Xcode 13 and later you
// get a message stating that the error is not knwon.
if (TestRuntime.CheckXcodeVersion (13, 0, 0)) {
Assert.NotNull (s, "MinValue null");
Assert.True (s.StartsWith ("Unknown error:"), "MinValue value");
} else {
Assert.Null (s, "MinValue");
}
}
}
}
Expand Down
258 changes: 129 additions & 129 deletions tests/xtro-sharpie/MacCatalyst-AVFoundation.todo

Large diffs are not rendered by default.

956 changes: 479 additions & 477 deletions tests/xtro-sharpie/MacCatalyst-AppKit.todo

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/MacCatalyst-CHIP.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,10 @@
!missing-selector! CHIPSetupPayload::getAllOptionalVendorData: not bound
!missing-selector! CHIPSetupPayload::productID not bound
!missing-selector! CHIPSetupPayload::rendezvousInformation not bound
!missing-selector! CHIPSetupPayload::requiresCustomFlow not bound
!missing-selector! CHIPSetupPayload::serialNumber not bound
!missing-selector! CHIPSetupPayload::setDiscriminator: not bound
!missing-selector! CHIPSetupPayload::setProductID: not bound
!missing-selector! CHIPSetupPayload::setRendezvousInformation: not bound
!missing-selector! CHIPSetupPayload::setRequiresCustomFlow: not bound
!missing-selector! CHIPSetupPayload::setSerialNumber: not bound
!missing-selector! CHIPSetupPayload::setSetUpPINCode: not bound
!missing-selector! CHIPSetupPayload::setUpPINCode not bound
Expand Down
150 changes: 150 additions & 0 deletions tests/xtro-sharpie/MacCatalyst-CHIP.todo
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
!missing-enum! CHIPCommissioningFlow not bound
!missing-selector! CHIPAccountLogin::getSetupPIN:responseHandler: not bound
!missing-selector! CHIPAccountLogin::login:setupPIN:responseHandler: not bound
!missing-selector! CHIPAccountLogin::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPApplicationLauncher::launchApp:catalogVendorId:applicationId:responseHandler: not bound
!missing-selector! CHIPApplicationLauncher::readAttributeApplicationLauncherListWithResponseHandler: not bound
!missing-selector! CHIPApplicationLauncher::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPAudioOutput::readAttributeAudioOutputListWithResponseHandler: not bound
!missing-selector! CHIPAudioOutput::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPAudioOutput::renameOutput:name:responseHandler: not bound
!missing-selector! CHIPAudioOutput::selectOutput:responseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::configureAttributePresentValueWithMinInterval:maxInterval:responseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::configureAttributeStatusFlagsWithMinInterval:maxInterval:responseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::readAttributeOutOfServiceWithResponseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::readAttributePresentValueWithResponseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::readAttributeStatusFlagsWithResponseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::reportAttributePresentValueWithResponseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::reportAttributeStatusFlagsWithResponseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::writeAttributeOutOfServiceWithValue:responseHandler: not bound
!missing-selector! CHIPBinaryInputBasic::writeAttributePresentValueWithValue:responseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeHardwareVersionStringWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeHardwareVersionWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeManufacturingDateWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributePartNumberWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeProductLabelWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeProductNameWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeProductURLWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeReachableWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeSerialNumberWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeSoftwareVersionStringWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeSoftwareVersionWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeUserLabelWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeVendorIDWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::readAttributeVendorNameWithResponseHandler: not bound
!missing-selector! CHIPBridgedDeviceBasic::writeAttributeUserLabelWithValue:responseHandler: not bound
!missing-selector! CHIPContentLaunch::launchContent:data:responseHandler: not bound
!missing-selector! CHIPContentLaunch::launchURL:displayString:responseHandler: not bound
!missing-selector! CHIPContentLaunch::readAttributeAcceptsHeaderListWithResponseHandler: not bound
!missing-selector! CHIPContentLaunch::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPContentLaunch::readAttributeSupportedStreamingTypesWithResponseHandler: not bound
!missing-selector! CHIPEthernetNetworkDiagnostics::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPEthernetNetworkDiagnostics::readAttributeCollisionCountWithResponseHandler: not bound
!missing-selector! CHIPEthernetNetworkDiagnostics::readAttributeOverrunCountWithResponseHandler: not bound
!missing-selector! CHIPEthernetNetworkDiagnostics::readAttributePacketRxCountWithResponseHandler: not bound
!missing-selector! CHIPEthernetNetworkDiagnostics::readAttributePacketTxCountWithResponseHandler: not bound
!missing-selector! CHIPEthernetNetworkDiagnostics::readAttributeTxErrCountWithResponseHandler: not bound
!missing-selector! CHIPEthernetNetworkDiagnostics::resetCounts: not bound
!missing-selector! CHIPFixedLabel::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPFixedLabel::readAttributeLabelListWithResponseHandler: not bound
!missing-selector! CHIPGeneralDiagnostics::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPGeneralDiagnostics::readAttributeNetworkInterfacesWithResponseHandler: not bound
!missing-selector! CHIPGeneralDiagnostics::readAttributeRebootCountWithResponseHandler: not bound
!missing-selector! CHIPKeypadInput::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPKeypadInput::sendKey:responseHandler: not bound
!missing-selector! CHIPMediaInput::hideInputStatus: not bound
!missing-selector! CHIPMediaInput::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPMediaInput::readAttributeMediaInputListWithResponseHandler: not bound
!missing-selector! CHIPMediaInput::renameInput:name:responseHandler: not bound
!missing-selector! CHIPMediaInput::selectInput:responseHandler: not bound
!missing-selector! CHIPMediaInput::showInputStatus: not bound
!missing-selector! CHIPMediaPlayback::mediaFastForward: not bound
!missing-selector! CHIPMediaPlayback::mediaNext: not bound
!missing-selector! CHIPMediaPlayback::mediaPause: not bound
!missing-selector! CHIPMediaPlayback::mediaPlay: not bound
!missing-selector! CHIPMediaPlayback::mediaPrevious: not bound
!missing-selector! CHIPMediaPlayback::mediaRewind: not bound
!missing-selector! CHIPMediaPlayback::mediaSkipBackward:responseHandler: not bound
!missing-selector! CHIPMediaPlayback::mediaSkipForward:responseHandler: not bound
!missing-selector! CHIPMediaPlayback::mediaSkipSeek:responseHandler: not bound
!missing-selector! CHIPMediaPlayback::mediaStartOver: not bound
!missing-selector! CHIPMediaPlayback::mediaStop: not bound
!missing-selector! CHIPMediaPlayback::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPOperationalCredentials::addOpCert:iCACertificate:iPKValue:caseAdminNode:adminVendorId:responseHandler: not bound
!missing-selector! CHIPOperationalCredentials::opCSRRequest:responseHandler: not bound
!missing-selector! CHIPRelativeHumidityMeasurement::configureAttributeMeasuredValueWithMinInterval:maxInterval:change:responseHandler: not bound
!missing-selector! CHIPRelativeHumidityMeasurement::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPRelativeHumidityMeasurement::readAttributeMaxMeasuredValueWithResponseHandler: not bound
!missing-selector! CHIPRelativeHumidityMeasurement::readAttributeMeasuredValueWithResponseHandler: not bound
!missing-selector! CHIPRelativeHumidityMeasurement::readAttributeMinMeasuredValueWithResponseHandler: not bound
!missing-selector! CHIPRelativeHumidityMeasurement::reportAttributeMeasuredValueWithResponseHandler: not bound
!missing-selector! CHIPSetupPayload::commissioningFlow not bound
!missing-selector! CHIPSetupPayload::setCommissioningFlow: not bound
!missing-selector! CHIPSoftwareDiagnostics::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPSoftwareDiagnostics::readAttributeCurrentHeapHighWatermarkWithResponseHandler: not bound
!missing-selector! CHIPSoftwareDiagnostics::resetWatermarks: not bound
!missing-selector! CHIPTargetNavigator::navigateTarget:data:responseHandler: not bound
!missing-selector! CHIPTargetNavigator::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPTargetNavigator::readAttributeTargetNavigatorListWithResponseHandler: not bound
!missing-selector! CHIPTestCluster::readAttributeListOctetStringWithResponseHandler: not bound
!missing-selector! CHIPTestCluster::readAttributeListStructOctetStringWithResponseHandler: not bound
!missing-selector! CHIPTestCluster::testUnknownCommand: not bound
!missing-selector! CHIPTrustedRootCertificates::addTrustedRootCertificate:responseHandler: not bound
!missing-selector! CHIPTrustedRootCertificates::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPTrustedRootCertificates::removeTrustedRootCertificate:responseHandler: not bound
!missing-selector! CHIPTvChannel::changeChannel:responseHandler: not bound
!missing-selector! CHIPTvChannel::changeChannelByNumber:minorNumber:responseHandler: not bound
!missing-selector! CHIPTvChannel::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPTvChannel::readAttributeCurrentTvChannelWithResponseHandler: not bound
!missing-selector! CHIPTvChannel::readAttributeTvChannelLineupWithResponseHandler: not bound
!missing-selector! CHIPTvChannel::readAttributeTvChannelListWithResponseHandler: not bound
!missing-selector! CHIPTvChannel::skipChannel:responseHandler: not bound
!missing-selector! CHIPWakeOnLan::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPWakeOnLan::readAttributeWakeOnLanMacAddressWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::configureAttributeConfigStatusWithMinInterval:maxInterval:responseHandler: not bound
!missing-selector! CHIPWindowCovering::configureAttributeCurrentPositionLiftWithMinInterval:maxInterval:change:responseHandler: not bound
!missing-selector! CHIPWindowCovering::configureAttributeCurrentPositionTiltWithMinInterval:maxInterval:change:responseHandler: not bound
!missing-selector! CHIPWindowCovering::configureAttributeWindowCoveringTypeWithMinInterval:maxInterval:responseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeClusterRevisionWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeConfigStatusWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeCurrentPositionLiftWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeCurrentPositionTiltWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeInstalledClosedLimitLiftWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeInstalledClosedLimitTiltWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeInstalledOpenLimitLiftWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeInstalledOpenLimitTiltWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeModeWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::readAttributeWindowCoveringTypeWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::reportAttributeConfigStatusWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::reportAttributeCurrentPositionLiftWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::reportAttributeCurrentPositionTiltWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::reportAttributeWindowCoveringTypeWithResponseHandler: not bound
!missing-selector! CHIPWindowCovering::windowCoveringDownClose: not bound
!missing-selector! CHIPWindowCovering::windowCoveringGoToLiftPercentage:responseHandler: not bound
!missing-selector! CHIPWindowCovering::windowCoveringGoToLiftValue:responseHandler: not bound
!missing-selector! CHIPWindowCovering::windowCoveringGoToTiltPercentage:responseHandler: not bound
!missing-selector! CHIPWindowCovering::windowCoveringGoToTiltValue:responseHandler: not bound
!missing-selector! CHIPWindowCovering::windowCoveringStop: not bound
!missing-selector! CHIPWindowCovering::windowCoveringUpOpen: not bound
!missing-selector! CHIPWindowCovering::writeAttributeModeWithValue:responseHandler: not bound
!missing-type! CHIPAccountLogin not bound
!missing-type! CHIPApplicationLauncher not bound
!missing-type! CHIPAudioOutput not bound
!missing-type! CHIPBinaryInputBasic not bound
!missing-type! CHIPBridgedDeviceBasic not bound
!missing-type! CHIPContentLaunch not bound
!missing-type! CHIPEthernetNetworkDiagnostics not bound
!missing-type! CHIPFixedLabel not bound
!missing-type! CHIPGeneralDiagnostics not bound
!missing-type! CHIPKeypadInput not bound
!missing-type! CHIPMediaInput not bound
!missing-type! CHIPMediaPlayback not bound
!missing-type! CHIPRelativeHumidityMeasurement not bound
!missing-type! CHIPSoftwareDiagnostics not bound
!missing-type! CHIPTargetNavigator not bound
!missing-type! CHIPTrustedRootCertificates not bound
!missing-type! CHIPTvChannel not bound
!missing-type! CHIPWakeOnLan not bound
!missing-type! CHIPWindowCovering not bound
Loading

8 comments on commit 7ea2524

@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

Packages generated

View packages

Test results

1 tests failed, 220 tests passed.

Failed tests

  • monotouch-test/iOS Unified 64-bits - simulator/Debug: Failed

Pipeline on Agent XAMBOT-1037.BigSur'
[Xcode13] Bump xcode 13 to beta 3. (#12137)

@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 failed catastrophically on VSTS: device tests tvOS 🔥

Not enough free space in the host.

Pipeline on Agent
[Xcode13] Bump xcode 13 to beta 3. (#12137)

@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
[Xcode13] Bump xcode 13 to beta 3. (#12137)

@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 passed on macOS Mac Catalina (10.15) ✅

Tests passed

All tests on macOS X Mac Catalina (10.15) passed.

Pipeline on Agent
[Xcode13] Bump xcode 13 to beta 3. (#12137)

@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 passed on macOS Mac Mojave (10.14) ✅

Tests passed

All tests on macOS X Mac Mojave (10.14) passed.

Pipeline on Agent
[Xcode13] Bump xcode 13 to beta 3. (#12137)

@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 passed on macOS Mac High Sierra (10.13) ✅

Tests passed

All tests on macOS X Mac High Sierra (10.13) passed.

Pipeline on Agent
[Xcode13] Bump xcode 13 to beta 3. (#12137)

@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
[Xcode13] Bump xcode 13 to beta 3. (#12137)

@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 iOS32b). ⚠️

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

Pipeline on Agent
[Xcode13] Bump xcode 13 to beta 3. (#12137)

Please sign in to comment.