Skip to content

Commit

Permalink
[Xcode13] Bump to beta 5. (#12413)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque committed Aug 13, 2021
1 parent d173db1 commit bd7e5c2
Show file tree
Hide file tree
Showing 57 changed files with 386 additions and 318 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_4.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_13.0.0-beta4.app/Contents/Developer
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_13_beta_5.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_13.0.0-beta5.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
12 changes: 0 additions & 12 deletions src/carplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -598,10 +598,6 @@ interface CPListTemplate : CPBarButtonProviding {
[Export ("initWithTitle:sections:")]
IntPtr Constructor ([NullAllowed] string title, CPListSection[] sections);

[iOS (15,0)]
[Export ("initWithTitle:sections:assistantCellVisibility:assistantCellPosition:")]
IntPtr Constructor ([NullAllowed] string title, CPListSection[] sections, CPAssistantCellVisibility visibility, CPAssistantCellPosition position);

[Deprecated (PlatformName.iOS, 14, 0, message: "Use 'CPListItem.Handler' instead.")]
[Wrap ("WeakDelegate")]
[NullAllowed]
Expand Down Expand Up @@ -650,14 +646,6 @@ interface CPListTemplate : CPBarButtonProviding {
[iOS (14, 0)]
[Export ("emptyViewSubtitleVariants", ArgumentSemantic.Copy)]
string[] EmptyViewSubtitleVariants { get; set; }

[iOS (15, 0)]
[Export ("assistantCellVisibility", ArgumentSemantic.Assign)]
CPAssistantCellVisibility AssistantCellVisibility { get; set; }

[iOS (15, 0)]
[Export ("assistantCellPosition", ArgumentSemantic.Assign)]
CPAssistantCellPosition AssistantCellPosition { get; set; }
}

interface ICPListTemplateDelegate { }
Expand Down
4 changes: 3 additions & 1 deletion src/coremotion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -691,10 +691,12 @@ interface CMHeadphoneMotionManager {
[Export ("authorizationStatus")]
CMAuthorizationStatus AuthorizationStatus { get; }

[NoMac]
[Wrap ("WeakDelegate")]
[NullAllowed]
ICMHeadphoneMotionManagerDelegate Delegate { get; set; }

[NoMac]
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
NSObject WeakDelegate { get; set; }

Expand All @@ -721,7 +723,7 @@ interface ICMHeadphoneMotionManagerDelegate {}

[iOS (14,0)][Watch (7,0)]
[MacCatalyst (14,0)]
[Mac (12,0)]
[NoMac]
[Protocol, Model (AutoGeneratedName = true)]
[BaseType (typeof (NSObject))]
interface CMHeadphoneMotionManagerDelegate {
Expand Down
1 change: 1 addition & 0 deletions tests/introspection/Mac/MacApiProtocolTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ protected override bool Skip (Type type, string protocolName)
case "NSEntityMapping":
case "NSMappingModel":
case "NSPropertyMapping":
case "HMAccessoryOwnershipToken":
return true;
}
break;
Expand Down
1 change: 1 addition & 0 deletions tests/introspection/iOS/iOSApiProtocolTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,7 @@ protected override bool Skip (Type type, string protocolName)
case "HKDiscreteQuantitySample": // Conformance not in headers
case "HKAudiogramSample": // Conformance not in headers
case "UIImage": // only complains on tvOS beta 6
case "HMAccessoryOwnershipToken":
return true;
// Xcode 12 beta 2
case "HKElectrocardiogram": // Conformance not in headers
Expand Down
23 changes: 18 additions & 5 deletions tests/monotouch-test/UIKit/TextFieldTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,36 @@ public void EmptySelection ()
} else {
Assert.IsNull (tf.SelectedTextRange, "SelectedTextRange");
}
if (TestRuntime.CheckXcodeVersion (11, 0)) {
if (TestRuntime.CheckXcodeVersion (13, 0)) {
#if !__TVOS__
Assert.That (tf.TypingAttributes, Is.Empty, "default 13.0");
#else
Assert.That (tf.TypingAttributes, Is.Not.Empty, "default 13.0");
#endif
} else if (TestRuntime.CheckXcodeVersion (11, 0)) {
if (TestRuntime.CheckXcodeVersion (11, 4))
Assert.That (tf.TypingAttributes, Is.Not.Empty, "default"); // iOS 13.4 returns contents
Assert.That (tf.TypingAttributes, Is.Not.Empty, "default 11.4"); // iOS 13.4 returns contents
else
Assert.That (tf.TypingAttributes, Is.Empty, "default");
} else {
Assert.IsNull (tf.TypingAttributes, "default");
}
// ^ calling TypingAttributes does not crash like UITextView does, it simply returns null
tf.TypingAttributes = new NSDictionary ();
if (TestRuntime.CheckXcodeVersion (11, 0)) {
if (TestRuntime.CheckXcodeVersion (13, 0)) {
#if !__TVOS__
Assert.That (tf.TypingAttributes, Is.Empty, "empty 13.0");
#else
Assert.That (tf.TypingAttributes, Is.Not.Empty, "empty 13.0");
#endif

} else if (TestRuntime.CheckXcodeVersion (11, 0)) {
if (TestRuntime.CheckXcodeVersion (11, 4))
Assert.That (tf.TypingAttributes, Is.Not.Empty, "not empty"); // iOS 13.4 returns contents
Assert.That (tf.TypingAttributes, Is.Not.Empty, "not empty 11.4"); // iOS 13.4 returns contents
else
Assert.That (tf.TypingAttributes, Is.Empty, "empty");
} else {
Assert.IsNull (tf.TypingAttributes, "empty");
Assert.IsNull (tf.TypingAttributes, "empty not xcode 11");
}
// and it stays null, even if assigned, since there's not selection
}
Expand Down
1 change: 1 addition & 0 deletions tests/xtro-sharpie/MacCatalyst-AVFoundation.todo
Original file line number Diff line number Diff line change
Expand Up @@ -374,3 +374,4 @@
!missing-type! AVSampleBufferRequest not bound
!missing-type! AVSampleCursor not bound
## appended from unclassified file
!missing-field! AVSampleBufferAudioRendererOutputConfigurationDidChangeNotification not bound
1 change: 0 additions & 1 deletion tests/xtro-sharpie/MacCatalyst-AudioToolbox.todo
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
!missing-pinvoke! MusicDeviceMIDIEventList is not bound
!missing-selector! AUAudioUnit::AudioUnitMIDIProtocol not bound
!missing-selector! AUAudioUnit::hostMIDIProtocol not bound
!missing-selector! AUAudioUnit::MIDIEventListOutputNames not bound
!missing-selector! AUAudioUnit::MIDIOutputEventListBlock not bound
!missing-selector! AUAudioUnit::scheduleMIDIEventListBlock not bound
!missing-selector! AUAudioUnit::setHostMIDIProtocol: not bound
Expand Down
2 changes: 2 additions & 0 deletions tests/xtro-sharpie/MacCatalyst-CoreGraphics.todo
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,5 @@
!missing-pinvoke! CGWindowServerCFMachPort is not bound
!missing-pinvoke! CGWindowServerCreateServerPort is not bound
## appended from unclassified file
!missing-field! kCGColorSpaceLinearDisplayP3 not bound
!missing-field! kCGColorSpaceLinearITUR_2020 not bound
63 changes: 31 additions & 32 deletions tests/xtro-sharpie/MacCatalyst-DataDetection.todo
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
!missing-selector! DDDetectedValue::matchedRange not bound
!missing-selector! DDDetectedValue::matchedString not bound
!missing-selector! DDDetectedValueCalendarEvent::endDate not bound
!missing-selector! DDDetectedValueCalendarEvent::endTimeZone not bound
!missing-selector! DDDetectedValueCalendarEvent::isAllDay not bound
!missing-selector! DDDetectedValueCalendarEvent::startDate not bound
!missing-selector! DDDetectedValueCalendarEvent::startTimeZone not bound
!missing-selector! DDDetectedValueEmailAddress::emailAddress not bound
!missing-selector! DDDetectedValueEmailAddress::label not bound
!missing-selector! DDDetectedValueFlightNumber::airline not bound
!missing-selector! DDDetectedValueFlightNumber::flightNumber not bound
!missing-selector! DDDetectedValueLink::URL not bound
!missing-selector! DDDetectedValueMoneyAmount::amount not bound
!missing-selector! DDDetectedValueMoneyAmount::currency not bound
!missing-selector! DDDetectedValuePhoneNumber::label not bound
!missing-selector! DDDetectedValuePhoneNumber::phoneNumber not bound
!missing-selector! DDDetectedValuePostalAddress::city not bound
!missing-selector! DDDetectedValuePostalAddress::country not bound
!missing-selector! DDDetectedValuePostalAddress::postalCode not bound
!missing-selector! DDDetectedValuePostalAddress::state not bound
!missing-selector! DDDetectedValuePostalAddress::street not bound
!missing-selector! DDDetectedValueShipmentTrackingNumber::carrier not bound
!missing-selector! DDDetectedValueShipmentTrackingNumber::trackingNumber not bound
!missing-type! DDDetectedValue not bound
!missing-type! DDDetectedValueCalendarEvent not bound
!missing-type! DDDetectedValueEmailAddress not bound
!missing-type! DDDetectedValueFlightNumber not bound
!missing-type! DDDetectedValueLink not bound
!missing-type! DDDetectedValueMoneyAmount not bound
!missing-type! DDDetectedValuePhoneNumber not bound
!missing-type! DDDetectedValuePostalAddress not bound
!missing-type! DDDetectedValueShipmentTrackingNumber not bound
!missing-selector! DDMatch::matchedString not bound
!missing-selector! DDMatchCalendarEvent::endDate not bound
!missing-selector! DDMatchCalendarEvent::endTimeZone not bound
!missing-selector! DDMatchCalendarEvent::isAllDay not bound
!missing-selector! DDMatchCalendarEvent::startDate not bound
!missing-selector! DDMatchCalendarEvent::startTimeZone not bound
!missing-selector! DDMatchEmailAddress::emailAddress not bound
!missing-selector! DDMatchEmailAddress::label not bound
!missing-selector! DDMatchFlightNumber::airline not bound
!missing-selector! DDMatchFlightNumber::flightNumber not bound
!missing-selector! DDMatchLink::URL not bound
!missing-selector! DDMatchMoneyAmount::amount not bound
!missing-selector! DDMatchMoneyAmount::currency not bound
!missing-selector! DDMatchPhoneNumber::label not bound
!missing-selector! DDMatchPhoneNumber::phoneNumber not bound
!missing-selector! DDMatchPostalAddress::city not bound
!missing-selector! DDMatchPostalAddress::country not bound
!missing-selector! DDMatchPostalAddress::postalCode not bound
!missing-selector! DDMatchPostalAddress::state not bound
!missing-selector! DDMatchPostalAddress::street not bound
!missing-selector! DDMatchShipmentTrackingNumber::carrier not bound
!missing-selector! DDMatchShipmentTrackingNumber::trackingNumber not bound
!missing-type! DDMatch not bound
!missing-type! DDMatchCalendarEvent not bound
!missing-type! DDMatchEmailAddress not bound
!missing-type! DDMatchFlightNumber not bound
!missing-type! DDMatchLink not bound
!missing-type! DDMatchMoneyAmount not bound
!missing-type! DDMatchPhoneNumber not bound
!missing-type! DDMatchPostalAddress not bound
!missing-type! DDMatchShipmentTrackingNumber not bound
1 change: 1 addition & 0 deletions tests/xtro-sharpie/MacCatalyst-FileProvider.todo
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,4 @@
!missing-protocol-member! NSFileProviderItem::typeAndCreator not found
!missing-selector! +NSFileProviderManager::removeDomain:mode:completionHandler: not bound
!missing-selector! NSFileProviderDomain::backingStoreIdentity not bound
!missing-selector! +NSFileProviderItemVersion::beforeFirstSyncComponent not bound
6 changes: 6 additions & 0 deletions tests/xtro-sharpie/MacCatalyst-GameController.todo
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
!missing-field! GCInputButtonShare not bound
!missing-field! GCInputMicroGamepadButtonMenu not bound
!missing-selector! GCPhysicalInputProfile::hasRemappedElements not bound
!missing-selector! GCPhysicalInputProfile::mappedElementAliasForPhysicalInputName: not bound
!missing-selector! GCPhysicalInputProfile::mappedPhysicalInputNamesForElementAlias: not bound
!missing-selector! GCXboxGamepad::buttonShare not bound
2 changes: 2 additions & 0 deletions tests/xtro-sharpie/MacCatalyst-Intents.todo
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@
!missing-selector! INSendMessageIntentDonationMetadata::notifyRecipientAnyway not bound
!missing-selector! INSendMessageIntentDonationMetadata::setNotifyRecipientAnyway: not bound
!missing-selector! INSendMessageIntentDonationMetadata::setReplyToCurrentUser: not bound
!missing-selector! INPerson::initWithPersonHandle:nameComponents:displayName:image:contactIdentifier:customIdentifier:isContactSuggestion:suggestionType: not bound
!missing-selector! INPerson::isContactSuggestion not bound
8 changes: 7 additions & 1 deletion tests/xtro-sharpie/MacCatalyst-MailKit.todo
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
!missing-selector! +MEMessageAction::moveToTrashAction not bound
!missing-selector! +MEMessageAction::setColorActionWithColor: not bound
!missing-selector! +MEMessageAction::unflagAction not bound
!missing-selector! +MEMessageActionDecision::applyAction: not bound
!missing-selector! +MEMessageActionDecision::invokeAgainWithBody not bound
!missing-selector! MEComposeSession::mailMessage not bound
!missing-selector! MEComposeSession::reloadSession not bound
Expand Down Expand Up @@ -77,3 +76,10 @@
!missing-selector! MEEmailAddress::initWithRawString: not bound
!missing-selector! MEEmailAddress::rawString not bound
!missing-type! MEEmailAddress not bound
!missing-selector! +MEExtensionManager::reloadContentBlockerWithIdentifier:completionHandler: not bound
!missing-selector! +MEMessageActionDecision::decisionApplyingAction: not bound
!missing-selector! +MEMessageActionDecision::decisionApplyingActions: not bound
!missing-selector! MEMessageSecurityInformation::initWithSigners:isEncrypted:signingError:encryptionError:shouldBlockRemoteContent:localizedRemoteContentBlockingReason: not bound
!missing-selector! MEMessageSecurityInformation::localizedRemoteContentBlockingReason not bound
!missing-selector! MEMessageSecurityInformation::shouldBlockRemoteContent not bound
!missing-type! MEExtensionManager not bound
21 changes: 21 additions & 0 deletions tests/xtro-sharpie/MacCatalyst-MetalPerformanceShadersGraph.todo
Original file line number Diff line number Diff line change
Expand Up @@ -397,3 +397,24 @@
!missing-type! MPSGraphVariableOp not bound
## appended from unclassified file
## appended from unclassified file
!missing-selector! MPSGraph::broadcastTensor:toShape:name: not bound
!missing-selector! MPSGraph::broadcastTensor:toShapeTensor:name: not bound
!missing-selector! MPSGraph::castTensor:toType:name: not bound
!missing-selector! MPSGraph::convolution2DDataGradientWithIncomingGradientTensor:weightsTensor:outputShapeTensor:forwardConvolutionDescriptor:name: not bound
!missing-selector! MPSGraph::convolution2DWeightsGradientWithIncomingGradientTensor:sourceTensor:outputShapeTensor:forwardConvolutionDescriptor:name: not bound
!missing-selector! MPSGraph::convolutionTranspose2DDataGradientWithIncomingGradientTensor:weightsTensor:outputShapeTensor:forwardConvolutionDescriptor:name: not bound
!missing-selector! MPSGraph::convolutionTranspose2DWeightsGradientWithIncomingGradientTensor:sourceTensor:outputShapeTensor:forwardConvolutionDescriptor:name: not bound
!missing-selector! MPSGraph::convolutionTranspose2DWithSourceTensor:weightsTensor:outputShapeTensor:descriptor:name: not bound
!missing-selector! MPSGraph::leakyReLUGradientWithIncomingGradient:sourceTensor:alphaTensor:name: not bound
!missing-selector! MPSGraph::leakyReLUWithTensor:alpha:name: not bound
!missing-selector! MPSGraph::leakyReLUWithTensor:alphaTensor:name: not bound
!missing-selector! MPSGraph::reshapeTensor:withShapeTensor:name: not bound
!missing-selector! MPSGraph::resizeTensor:sizeTensor:mode:centerResult:alignCorners:layout:name: not bound
!missing-selector! MPSGraph::scatterNDWithDataTensor:updatesTensor:indicesTensor:batchDimensions:mode:name: not bound
!missing-selector! MPSGraph::scatterWithDataTensor:updatesTensor:indicesTensor:axis:mode:name: not bound
!missing-selector! MPSGraph::scatterWithUpdatesTensor:indicesTensor:shape:axis:mode:name: not bound
!missing-selector! MPSGraph::shapeOfTensor:name: not bound
!missing-selector! MPSGraph::topKWithGradientTensor:source:k:name: not bound
!missing-selector! MPSGraph::topKWithGradientTensor:source:kTensor:name: not bound
!missing-selector! MPSGraph::topKWithSourceTensor:k:name: not bound
!missing-selector! MPSGraph::topKWithSourceTensor:kTensor:name: not bound
1 change: 1 addition & 0 deletions tests/xtro-sharpie/MacCatalyst-Network.todo
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,4 @@
!missing-pinvoke! nw_quic_set_stream_application_error is not bound
!missing-pinvoke! nw_quic_set_stream_is_unidirectional is not bound
!missing-pinvoke! nw_tcp_options_set_multipath_force_version is not bound
!missing-pinvoke! nw_group_descriptor_create_multiplex is not bound
Loading

4 comments on commit bd7e5c2

@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

3 tests failed, 235 tests passed.

Failed tests

  • xammac tests/Mac Modern/Debug (all optimizations): Failed (Test run failed.
    Tests run: 2469 Passed: 2408 Inconclusive: 13 Failed: 1 Ignored: 60)
  • monotouch-test/Mac Catalyst/Debug [dotnet]: Failed (Tests run: 2638 Passed: 2488 Inconclusive: 35 Failed: 2 Ignored: 148)
  • Documentation/All: Failed

Pipeline on Agent XAMBOT-1038.BigSur'
[Xcode13] Bump to beta 5. (#12413)

@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 to beta 5. (#12413)

@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 on macOS M1 - Mac Big Sur (11.5) ❌

Tests failed on M1 - Mac Big Sur (11.5).

Failed tests are:

  • xammac_tests

Pipeline on Agent
[Xcode13] Bump to beta 5. (#12413)

@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 to beta 5. (#12413)

Please sign in to comment.