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

[CloudKit] Add support for Xcode13 beta1. #11961

Merged
merged 4 commits into from
Jun 17, 2021

Conversation

mandel-macaque
Copy link
Member

No description provided.

@mandel-macaque mandel-macaque added the note-highlight Worth calling out specifically in release notes label Jun 16, 2021
@mandel-macaque mandel-macaque requested a review from spouliot as a code owner June 16, 2021 19:14
@@ -9,6 +9,7 @@
## Not intended to be used directly by client code
!missing-protocol! CKRecordKeyValueSetting not bound
!missing-protocol-conformance! CKRecord should conform to CKRecordKeyValueSetting (defined in 'CKRecordKeyValueSettingConformance' category)
!missing-selector! CKRecord::encryptedValues not bound
Copy link
Member Author

Choose a reason for hiding this comment

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

Not to be added due to the same reason, also intro says the type cannot be loaded.

src/CloudKit/Enums.cs Outdated Show resolved Hide resolved
src/CloudKit/Enums.cs Outdated Show resolved Hide resolved
src/CloudKit/Enums.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
@@ -14,7 +14,9 @@ public enum CKAccountStatus : long {
CouldNotDetermine = 0,
Available = 1,
Restricted = 2,
NoAccount = 3
NoAccount = 3,
[Mac(12,0), iOS(15,0), TV(15,0), MacCatalyst(15,0)]
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: space before (

but that looks like an error enum... and those, being output only, do not need availability

@@ -82,6 +84,8 @@ public enum CKErrorCode : long {
ParticipantMayNeedVerification = 33,
ResponseLost = 34,
AssetNotAvailable = 35,
[Mac(12,0), iOS(15,0), TV(15,0), MacCatalyst (15,0)]
Copy link
Contributor

Choose a reason for hiding this comment

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

not needed

[iOS (10,0), TV (10,0), Mac (10,12)] Sharing = 1 << 2,
[iOS (10,0), TV (10,0), Mac (10,12)]
Sharing = 1 << 2,
[Mac(12,0), iOS(15,0), TV(15,0)]
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: space before (

src/cloudkit.cs Outdated
@@ -115,6 +119,10 @@ interface CKShareMetadata : NSCopying, NSSecureCoding

[NullAllowed, Export ("rootRecord", ArgumentSemantic.Strong)]
CKRecord RootRecord { get; }

[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)]
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: space before (

src/cloudkit.cs Outdated
@@ -129,6 +137,11 @@ interface CKShare
[DesignatedInitializer]
IntPtr Constructor (CKRecord rootRecord, CKRecordID shareID);

[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)]
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: space before (

src/cloudkit.cs Outdated
@@ -1764,6 +1883,9 @@ interface CKDiscoverAllUserIdentitiesOperation
Action<NSError> Completed { get; set; }
}

[iOS (15,0), Watch (8,0), TV (15,0), Mac (12,0)]
Copy link
Contributor

Choose a reason for hiding this comment

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

catalyst ?

[Deprecated (PlatformName.WatchOS, 8, 0, message: "Use 'PerShareParticipantCompletionHandler' instead.")]
[Deprecated (PlatformName.TvOS, 15, 0, message: "Use 'PerShareParticipantCompletionHandler' instead.")]
[Deprecated (PlatformName.iOS, 15, 0, message: "Use 'PerShareParticipantCompletionHandler' instead.")]
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use 'PerShareParticipantCompletionHandler' instead.")]
Copy link
Contributor

Choose a reason for hiding this comment

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

catalyst ?

src/cloudkit.cs Outdated
[NullAllowed, Export ("shareParticipantFetchedBlock", ArgumentSemantic.Copy)]
Action<CKShareParticipant> Fetched { get; set; }

[NullAllowed, Export ("fetchShareParticipantsCompletionBlock", ArgumentSemantic.Copy)]
Action<NSError> Completed { get; set; }

[NullAllowed]
[iOS (15,0), Watch (8,0), TV (15,0), Mac (12,0), MacCatalyst(15,0)]
Copy link
Contributor

Choose a reason for hiding this comment

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

f&r

src/cloudkit.cs Outdated
@@ -1885,5 +2016,9 @@ interface CKFetchDatabaseChangesOperation

[NullAllowed, Export ("fetchDatabaseChangesCompletionBlock", ArgumentSemantic.Copy)]
CKFetchDatabaseChangesCompletionHandler ChangesCompleted { get; set; }

[Watch (8,0), TV (15,0), Mac (12,0), iOS (15,0), MacCatalyst(15,0)]
Copy link
Contributor

Choose a reason for hiding this comment

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

f&r

@@ -9,6 +9,7 @@
## Not intended to be used directly by client code
!missing-protocol! CKRecordKeyValueSetting not bound
!missing-protocol-conformance! CKRecord should conform to CKRecordKeyValueSetting (defined in 'CKRecordKeyValueSettingConformance' category)
!missing-selector! CKRecord::encryptedValues not bound
Copy link
Contributor

Choose a reason for hiding this comment

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

is the comment above applicable here ?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, same issue.

src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
src/cloudkit.cs Outdated Show resolved Hide resolved
@mandel-macaque mandel-macaque added this to the xcode13.0 milestone Jun 16, 2021
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

1 tests failed, 85 tests passed.

Failed tests

  • introspection/watchOS 32-bits - simulator/Debug (watchOS 5.0): Failed

Pipeline on Agent XAMBOT-1097.BigSur'
Merge 8ea5c62 into e19591f

@mandel-macaque mandel-macaque merged commit aed7923 into xamarin:main Jun 17, 2021
@mandel-macaque mandel-macaque deleted the cloudkit-xcode13-beta1 branch June 17, 2021 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
note-highlight Worth calling out specifically in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants