Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Xcode16] Bump Xcode to beta 5. #20998

Merged
merged 7 commits into from
Aug 9, 2024
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
4 changes: 2 additions & 2 deletions Make.config
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,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=16.0
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_16_beta_3.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_16.0.0-beta3.app/Contents/Developer
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_16_beta_5.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_16.0.0-beta5.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
4 changes: 4 additions & 0 deletions src/coreimage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5417,6 +5417,10 @@ interface CIToneCurve : CIToneCurveProtocol {
[CoreImageFilterProperty ("inputPoint4")]
CIVector Point4 { get; set; }
#endif

[TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)]
[CoreImageFilterProperty ("inputExtrapolate")]
bool Extrapolate { get; set; }
}

[iOS (14, 0)]
Expand Down
55 changes: 10 additions & 45 deletions src/intents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2733,12 +2733,6 @@ enum INCarChargingConnectorType {
[iOS (18, 0), MacCatalyst (18, 0), Mac (15, 0), Watch (11, 0), NoTV]
public enum INMessageReactionType : long {
Unknown = 0,
[Deprecated (PlatformName.iOS, 18, 0)]
[Deprecated (PlatformName.MacCatalyst, 18, 0)]
[Deprecated (PlatformName.TvOS, 18, 0)]
[Deprecated (PlatformName.MacOSX, 15, 0)]
[Deprecated (PlatformName.WatchOS, 11, 0)]
EmojiReaction, // introduced and deprecated in the same OS version.
Emoji,
Generic,
}
Expand Down Expand Up @@ -4598,23 +4592,23 @@ interface INMessage : NSCopying, NSSecureCoding {
[DesignatedInitializer]
NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, [NullAllowed] INSpeakableString groupName, INMessageType messageType, [NullAllowed] string serviceName);

[Deprecated (PlatformName.iOS, 18, 0, message: "Use a constructor that takes a reaction and an aggregateRections instead.")]
[Deprecated (PlatformName.MacCatalyst, 18, 0, message: "Use a constructor that takes a reaction and an aggregateRections instead.")]
[Deprecated (PlatformName.WatchOS, 11, 0, message: "Use a constructor that takes a reaction and an aggregateRections instead.")]
[Deprecated (PlatformName.iOS, 18, 0, message: "Use a constructor that takes a reaction instead.")]
[Deprecated (PlatformName.MacCatalyst, 18, 0, message: "Use a constructor that takes a reaction instead.")]
[Deprecated (PlatformName.WatchOS, 11, 0, message: "Use a constructor that takes a reaction instead.")]
[MacCatalyst (13, 1)]
[Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:messageType:")]
[DesignatedInitializer]
NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, [NullAllowed] INSpeakableString groupName, INMessageType messageType);

[Deprecated (PlatformName.iOS, 18, 0, message: "Use a constructor that takes a reaction and an aggregateRections instead.")]
[Deprecated (PlatformName.MacCatalyst, 18, 0, message: "Use a constructor that takes a reaction and an aggregateRections instead.")]
[Deprecated (PlatformName.WatchOS, 11, 0, message: "Use a constructor that takes a reaction and an aggregateRections instead.")]
[Deprecated (PlatformName.iOS, 18, 0, message: "Use a constructor that takes a reaction instead.")]
[Deprecated (PlatformName.MacCatalyst, 18, 0, message: "Use a constructor that takes a reaction instead.")]
[Deprecated (PlatformName.WatchOS, 11, 0, message: "Use a constructor that takes a reaction instead.")]
[MacCatalyst (13, 1)]
[Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:messageType:")]
NativeHandle Constructor (string identifier, [NullAllowed] string conversationIdentifier, [NullAllowed] string content, [NullAllowed] NSDate dateSent, [NullAllowed] INPerson sender, [NullAllowed] INPerson [] recipients, INMessageType messageType);

[iOS (18, 0), MacCatalyst (18, 0), Watch (11, 0), NoMac]
[Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:referencedMessage:reaction:aggregatedReactions:")]
[Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:referencedMessage:reaction:")]
NativeHandle Constructor (
string identifier,
[NullAllowed] string conversationIdentifier,
Expand All @@ -4626,13 +4620,12 @@ NativeHandle Constructor (
[NullAllowed] string serviceName,
INMessageType messageType,
[NullAllowed] INMessage referencedMessage,
[NullAllowed] INMessageReaction reaction,
[NullAllowed] INAggregatedMessageReaction [] aggregatedReactions
[NullAllowed] INMessageReaction reaction
);

[DesignatedInitializer]
[iOS (18, 0), MacCatalyst (18, 0), Watch (11, 0), NoMac]
[Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:referencedMessage:sticker:reaction:aggregatedReactions:")]
[Export ("initWithIdentifier:conversationIdentifier:content:dateSent:sender:recipients:groupName:serviceName:messageType:referencedMessage:sticker:reaction:")]
NativeHandle Constructor (
string identifier,
[NullAllowed] string conversationIdentifier,
Expand All @@ -4645,8 +4638,7 @@ NativeHandle Constructor (
INMessageType messageType,
[NullAllowed] INMessage referencedMessage,
[NullAllowed] INSticker sticker,
[NullAllowed] INMessageReaction reaction,
[NullAllowed] INAggregatedMessageReaction [] aggregatedReactions
[NullAllowed] INMessageReaction reaction
);

[Export ("initWithIdentifier:content:dateSent:sender:recipients:")]
Expand Down Expand Up @@ -4723,11 +4715,6 @@ [NullAllowed] INAggregatedMessageReaction [] aggregatedReactions
[Export ("sticker", ArgumentSemantic.Copy)]
INSticker Sticker { get; set; }

[NullAllowed]
[Watch (11, 0), NoMac, iOS (18, 0), MacCatalyst (18, 0)]
[Export ("aggregatedReactions", ArgumentSemantic.Copy)]
INAggregatedMessageReaction [] AggregatedReactions { get; set; }

[NullAllowed]
[Watch (11, 0), NoMac, iOS (18, 0), MacCatalyst (18, 0)]
[Export ("reaction", ArgumentSemantic.Copy)]
Expand Down Expand Up @@ -15861,28 +15848,6 @@ interface INUnsendMessagesIntentHandling {
void ConfirmUnsendMessages (INUnsendMessagesIntent intent, Action<INUnsendMessagesIntentResponse> completion);
}

[Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), NoMac]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
interface INAggregatedMessageReaction : NSCopying, NSSecureCoding {
[Export ("initWithReactionType:emoji:senders:reactionCount:")]
[DesignatedInitializer]
NativeHandle Constructor (INMessageReactionType reactionType, [NullAllowed] string emoji, [NullAllowed] INPerson [] senders, [NullAllowed] NSNumber reactionCount);

[Export ("reactionType", ArgumentSemantic.Assign)]
INMessageReactionType ReactionType { get; }

[Export ("emoji", ArgumentSemantic.Copy), NullAllowed]
string Emoji { get; }

[Export ("senders", ArgumentSemantic.Copy), NullAllowed]
INPerson [] Senders { get; }

// No documentation in what kind of number this is :/
[Export ("reactionCount", ArgumentSemantic.Copy), NullAllowed]
NSNumber ReactionCount { get; }
}

[Watch (11, 0), iOS (18, 0), NoTV, MacCatalyst (18, 0), NoMac]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
Expand Down
8 changes: 3 additions & 5 deletions tests/cecil-tests/Documentation.KnownFailures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12383,7 +12383,6 @@ F:Intents.INMessageAttributeOptions.Read
F:Intents.INMessageAttributeOptions.Unflagged
F:Intents.INMessageAttributeOptions.Unread
F:Intents.INMessageReactionType.Emoji
F:Intents.INMessageReactionType.EmojiReaction
F:Intents.INMessageReactionType.Generic
F:Intents.INMessageReactionType.Unknown
F:Intents.INMessageType.ActivitySnippet
Expand Down Expand Up @@ -37912,8 +37911,6 @@ M:Intents.INAddTasksTemporalEventTriggerResolutionResult.GetConfirmationRequired
M:Intents.INAddTasksTemporalEventTriggerResolutionResult.GetDisambiguation(Intents.INTemporalEventTrigger[])
M:Intents.INAddTasksTemporalEventTriggerResolutionResult.GetSuccess(Intents.INTemporalEventTrigger)
M:Intents.INAddTasksTemporalEventTriggerResolutionResult.GetUnsupported(System.IntPtr)
M:Intents.INAggregatedMessageReaction.Copy(Foundation.NSZone)
M:Intents.INAggregatedMessageReaction.EncodeTo(Foundation.NSCoder)
M:Intents.INAirline.Copy(Foundation.NSZone)
M:Intents.INAirline.EncodeTo(Foundation.NSCoder)
M:Intents.INAirport.Copy(Foundation.NSZone)
Expand Down Expand Up @@ -38129,6 +38126,8 @@ M:Intents.INMediaItemResolutionResult.GetConfirmationRequired(Foundation.NSObjec
M:Intents.INMediaItemResolutionResult.GetUnsupported(System.IntPtr)
M:Intents.INMediaSearch.Copy(Foundation.NSZone)
M:Intents.INMediaSearch.EncodeTo(Foundation.NSCoder)
M:Intents.INMessage.#ctor(System.String,System.String,System.String,Foundation.NSDate,Intents.INPerson,Intents.INPerson[],Intents.INSpeakableString,System.String,Intents.INMessageType,Intents.INMessage,Intents.INMessageReaction)
M:Intents.INMessage.#ctor(System.String,System.String,System.String,Foundation.NSDate,Intents.INPerson,Intents.INPerson[],Intents.INSpeakableString,System.String,Intents.INMessageType,Intents.INMessage,Intents.INSticker,Intents.INMessageReaction)
M:Intents.INMessage.Copy(Foundation.NSZone)
M:Intents.INMessage.EncodeTo(Foundation.NSCoder)
M:Intents.INMessageAttributeOptionsResolutionResult.GetConfirmationRequired(Foundation.NSObject,System.IntPtr)
Expand Down Expand Up @@ -61755,6 +61754,7 @@ P:CoreImage.CIThermal.OutputImage
P:CoreImage.CITileFilter.Angle
P:CoreImage.CITileFilter.InputCenter
P:CoreImage.CITileFilter.Width
P:CoreImage.CIToneCurve.Extrapolate
P:CoreImage.CIToneCurve.InputImage
P:CoreImage.CIToneCurve.InputPoint0
P:CoreImage.CIToneCurve.InputPoint1
Expand Down Expand Up @@ -74949,7 +74949,6 @@ P:UIKit.UIMenu.SelectedElements
P:UIKit.UIMenuController.DidHideMenuNotification
P:UIKit.UIMenuController.DidShowMenuNotification
P:UIKit.UIMenuController.MenuFrameDidChangeNotification
P:UIKit.UIMenuController.MenuVisible
P:UIKit.UIMenuController.WillHideMenuNotification
P:UIKit.UIMenuController.WillShowMenuNotification
P:UIKit.UIMenuElement.AccessibilityIdentifier
Expand Down Expand Up @@ -75031,7 +75030,6 @@ P:UIKit.UIPasteboard.Automatic
P:UIKit.UIPasteboard.ChangedNotification
P:UIKit.UIPasteboard.ChangedTypesAddedKey
P:UIKit.UIPasteboard.ChangedTypesRemovedKey
P:UIKit.UIPasteboard.Persistent
P:UIKit.UIPasteboard.RemovedNotification
P:UIKit.UIPasteboard.TypeListColor
P:UIKit.UIPasteboard.TypeListImage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,6 @@
!missing-selector! AVMutableCaptionRegion::setWritingMode: not bound
!missing-selector! AVMutableCaptionRegion::size not bound
!missing-selector! AVMutableCaptionRegion::writingMode not bound
!missing-selector! AVMutableComposition::insertTimeRange:ofTracks:atTime:error: not bound
!missing-selector! AVPlayerInterstitialEvent::contentMayVary not bound
!missing-selector! AVPlayerInterstitialEvent::plannedDuration not bound
!missing-selector! AVPlayerInterstitialEvent::setContentMayVary: not bound
Expand Down Expand Up @@ -865,3 +864,6 @@
!missing-selector! AVMetricPlayerItemVariantSwitchStartEvent::toVariant not bound
!missing-type! AVMetricPlayerItemVariantSwitchStartEvent not bound
!missing-type! AVVideoPerformanceMetrics not bound
!missing-enum-value! AVError native value AVErrorMediaExtensionConflict = -11887 not bound
!missing-enum-value! AVError native value AVErrorMediaExtensionDisabled = -11886 not bound
!missing-selector! AVMutableComposition::insertTimeRange:ofAsset:atTime:completionHandler: not bound
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@
!missing-selector! ASMigrationDisplayItem::peripheralIdentifier not bound
!missing-selector! ASMigrationDisplayItem::setHotspotSSID: not bound
!missing-selector! ASMigrationDisplayItem::setPeripheralIdentifier: not bound
!missing-selector! ASPickerDisplayItem::allowsRename not bound
!missing-selector! ASPickerDisplayItem::descriptor not bound
!missing-selector! ASPickerDisplayItem::initWithName:productImage:descriptor: not bound
!missing-selector! ASPickerDisplayItem::name not bound
!missing-selector! ASPickerDisplayItem::productImage not bound
!missing-selector! ASPickerDisplayItem::renameOptions not bound
!missing-selector! ASPickerDisplayItem::setAllowsRename: not bound
!missing-selector! ASPickerDisplayItem::setRenameOptions: not bound
!missing-type! ASAccessory not bound
!missing-type! ASAccessoryEvent not bound
Expand All @@ -61,3 +59,14 @@
!missing-type! ASDiscoveryDescriptor not bound
!missing-type! ASMigrationDisplayItem not bound
!missing-type! ASPickerDisplayItem not bound
!missing-enum! ASDiscoveryDescriptorRange not bound
!missing-enum! ASPickerDisplayItemSetupOptions not bound
!missing-selector! +ASAccessorySettings::defaultSettings not bound
!missing-selector! ASAccessory::bluetoothTransportBridgingIdentifier not bound
!missing-selector! ASAccessorySession::failAuthorization:completionHandler: not bound
!missing-selector! ASAccessorySettings::bluetoothTransportBridgingIdentifier not bound
!missing-selector! ASAccessorySettings::setBluetoothTransportBridgingIdentifier: not bound
!missing-selector! ASDiscoveryDescriptor::bluetoothRange not bound
!missing-selector! ASDiscoveryDescriptor::setBluetoothRange: not bound
!missing-selector! ASPickerDisplayItem::setSetupOptions: not bound
!missing-selector! ASPickerDisplayItem::setupOptions not bound
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@
!missing-selector! +ASSettingsHelper::requestToTurnOnCredentialProviderExtensionWithCompletionHandler: not bound
!missing-enum-value! ASCredentialIdentityTypes native value ASCredentialIdentityTypesOneTimeCode = 4 not bound
!missing-protocol-member! ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider::createCredentialRegistrationRequestWithClientData:name:userID:requestStyle: not found
!missing-selector! ASAuthorizationPublicKeyCredentialPRFRegistrationInput::initWithInputValues: not bound
!missing-selector! ASAuthorizationPublicKeyCredentialPRFRegistrationInput::inputValues not bound
!missing-selector! ASAuthorizationPublicKeyCredentialPRFRegistrationOutput::first not bound
!missing-selector! ASAuthorizationPublicKeyCredentialPRFRegistrationOutput::second not bound
2 changes: 2 additions & 0 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-CoreData.todo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
!missing-field! NSPersistentStoreModelVersionChecksumKey not bound
!missing-selector! NSPersistentStoreCoordinator::managedObjectIDFromUTF8String:length: not bound
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
!missing-field! kCFNumberFormatterMinGroupingDigits not bound
!missing-pinvoke! CFAttributedStringGetBidiLevelsAndResolvedDirections is not bound
!missing-pinvoke! CFAllocatorAllocateBytes is not bound
!missing-pinvoke! CFAllocatorAllocateTyped is not bound
!missing-pinvoke! CFAllocatorReallocateBytes is not bound
!missing-pinvoke! CFAllocatorReallocateTyped is not bound
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@
!missing-pinvoke! CGPDFContextSetIDTree is not bound
!missing-pinvoke! CGPDFContextSetPageTagStructureTree is not bound
!missing-pinvoke! CGPDFContextSetParentTree is not bound
!missing-pinvoke! CGColorSpaceCopyBaseColorSpace is not bound
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
!missing-pinvoke! CTFontDrawImageFromAdaptiveImageProviderAtPoint is not bound
!missing-pinvoke! CTFontGetTypographicBoundsForAdaptiveImageProvider is not bound
!missing-protocol! CTAdaptiveImageProviding not bound
!missing-pinvoke! CTFontHasTable is not bound
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
!missing-selector! +HKStateOfMind::stateOfMindWithDate:kind:valence:labels:associations: not bound
!missing-selector! +HKStateOfMind::stateOfMindWithDate:kind:valence:labels:associations:metadata: not bound
!missing-selector! +HKUnit::appleEffortScoreUnit not bound
!missing-selector! HKActivitySummary::paused not bound
!missing-selector! HKActivitySummary::setPaused: not bound
!missing-selector! HKGAD7Assessment::answers not bound
!missing-selector! HKGAD7Assessment::risk not bound
Expand All @@ -66,3 +65,4 @@
!missing-type! HKStateOfMindType not bound
!missing-type! HKWorkoutEffortRelationship not bound
!missing-type! HKWorkoutEffortRelationshipQuery not bound
!missing-selector! HKActivitySummary::isPaused not bound
11 changes: 11 additions & 0 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-HomeKit.todo
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,14 @@
!missing-field! HMCharacteristicTypeVolumeControlType not bound
!missing-field! HMCharacteristicTypeVolumeSelector not bound
!missing-selector! HMService::matterEndpointID not bound
!deprecated-attribute-missing! HMAccessory::init missing a [Deprecated] attribute
!deprecated-attribute-missing! HMCameraControl::init missing a [Deprecated] attribute
!deprecated-attribute-missing! HMCameraSnapshot::init missing a [Deprecated] attribute
!deprecated-attribute-missing! HMCameraSnapshotControl::init missing a [Deprecated] attribute
!deprecated-attribute-missing! HMCameraStream::init missing a [Deprecated] attribute
!deprecated-attribute-missing! HMCameraStreamControl::init missing a [Deprecated] attribute
!deprecated-attribute-missing! HMCharacteristic::init missing a [Deprecated] attribute
!deprecated-attribute-missing! HMService::init missing a [Deprecated] attribute
!missing-designated-initializer! HMCameraSnapshot::init is missing an [DesignatedInitializer] attribute
!missing-designated-initializer! HMCameraSource::init is missing an [DesignatedInitializer] attribute
!missing-designated-initializer! HMCameraStream::init is missing an [DesignatedInitializer] attribute
1 change: 1 addition & 0 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-ImageIO.todo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!missing-field! kCGImageSourceGenerateImageSpecificLumaScaling not bound
Original file line number Diff line number Diff line change
Expand Up @@ -6763,7 +6763,6 @@
!missing-selector! MTRDevice::openCommissioningWindowWithDiscriminator:duration:queue:completion: not bound
!missing-selector! MTRDevice::openCommissioningWindowWithSetupPasscode:discriminator:duration:queue:completion: not bound
!missing-selector! MTRDevice::readAttributeWithEndpointID:clusterID:attributeID:params: not bound
!missing-selector! MTRDevice::setDelegate:queue: not bound
!missing-selector! MTRDevice::state not bound
!missing-selector! MTRDevice::writeAttributeWithEndpointID:clusterID:attributeID:value:expectedValueInterval:timedWriteTimeout: not bound
!missing-selector! MTRDeviceAttestationDeviceInfo::basicInformationProductID not bound
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!missing-pinvoke! MACaptionAppearanceIsCustomized is not bound
Original file line number Diff line number Diff line change
Expand Up @@ -359,3 +359,4 @@
!missing-selector! MPSGraphExecutable::initWithCoreMLPackageAtURL:compilationDescriptor: not bound
!missing-selector! MPSGraph::sliceUpdateDataTensor:updateTensor:starts:ends:strides:startMask:endMask:squeezeMask:name: not bound
!missing-selector! MPSGraph::sliceUpdateDataTensor:updateTensor:startsTensor:endsTensor:stridesTensor:startMask:endMask:squeezeMask:name: not bound
!missing-selector! MPSGraph::reciprocalSquareRootWithTensor:name: not bound
Loading
Loading