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

[Accounts] Update to Xcode 9 Beta 1 #2205

Merged
merged 2 commits into from
Jun 13, 2017
Merged

Conversation

dalexsoto
Copy link
Member

Into and xtro are happy locally 😄

src/accounts.cs Outdated
@@ -112,6 +113,12 @@ interface ACAccountStore {
[Wrap ("RequestAccess (accountType, options == null ? null : options.Dictionary, completion)")]
[Async]
void RequestAccess (ACAccountType accountType, [NullAllowed] AccountStoreOptions options, ACRequestCompletionHandler completion);

// For some reason this was never added before, xtro caught it.
Copy link
Contributor

Choose a reason for hiding this comment

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

Move this to the commit message

Copy link
Contributor

Choose a reason for hiding this comment

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

We had nothing missing for iOS in xtro...
If it was in a data file it should be removed

Copy link
Member Author

@dalexsoto dalexsoto Jun 10, 2017

Choose a reason for hiding this comment

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

Nope, it was inside common.unclassified so likely it wasn't spotted by accident

common.unclassified:!missing-selector! ACAccountStore::removeAccount:withCompletionHandler: 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.

Ok, let's remove it from that file then
And add the mac attribute

Also added ACAccountStore.RemoveAccount, xtro caught this API
common.unclassified:!missing-selector! ACAccountStore::removeAccount:withCompletionHandler: not bound
@monojenkins
Copy link
Collaborator

Build failure

1 similar comment
@monojenkins
Copy link
Collaborator

Build failure

src/accounts.cs Outdated
@@ -127,29 +133,40 @@ interface ACAccountType : NSSecureCoding {
[Export ("accessGranted")]
bool AccessGranted { get; }

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Twitter SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

src/accounts.cs Outdated
@@ -127,29 +133,40 @@ interface ACAccountType : NSSecureCoding {
[Export ("accessGranted")]
bool AccessGranted { get; }

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Twitter SDK instead")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Twitter SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same (dot).

src/accounts.cs Outdated
[Field ("ACAccountTypeIdentifierTwitter")]
NSString Twitter { get; }

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Sina Weibo SDK instead")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Sina Weibo SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same (dot).

src/accounts.cs Outdated
[Since (6,0)]
[Field ("ACAccountTypeIdentifierSinaWeibo")]
NSString SinaWeibo { get; }

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Facebook SDK instead")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Facebook SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same (dot).

src/accounts.cs Outdated
[Since (6,0)]
[Field ("ACAccountTypeIdentifierFacebook")]
NSString Facebook { get; }

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Tencent Weibo SDK instead")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Tencent Weibo SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same (dot).

src/accounts.cs Outdated
[Since (7,0)]
[Mac (10,9)]
[Field ("ACAccountTypeIdentifierTencentWeibo")]
NSString TencentWeibo { get; }

#if MONOMAC
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use LinkedIn SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same (dot).

src/accounts.cs Outdated
[Mac (10,9)]
[Field ("ACAccountTypeIdentifierLinkedIn")]
NSString LinkedIn { get; }
#endif
}

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Facebook SDK instead")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Facebook SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same (dot).

src/accounts.cs Outdated
@@ -165,6 +182,8 @@ interface ACFacebookKey {
NSString Audience { get; }
}

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Facebook SDK instead")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Facebook SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same (dot).

src/accounts.cs Outdated
@@ -180,6 +199,8 @@ interface ACFacebookAudienceValue
NSString OnlyMe { get; }
}

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Tencent Weibo SDK instead")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Tencent Weibo SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same (dot).

src/accounts.cs Outdated
@@ -189,6 +210,7 @@ interface ACTencentWeiboKey {
}

#if MONOMAC
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use LinkedIn SDK instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same (dot).

Copy link
Contributor

@VincentDondain VincentDondain left a comment

Choose a reason for hiding this comment

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

Please update the messages :P

@spouliot
Copy link
Contributor

@VincentDondain please create an intro test to check for this (and other comments you add like quotes)

@dalexsoto
Copy link
Member Author

@VincentDondain Fixed, thanks!

@monojenkins
Copy link
Collaborator

Build success

@dalexsoto dalexsoto merged commit b55ff34 into xamarin:xcode9 Jun 13, 2017
@dalexsoto dalexsoto deleted the accountsb1 branch June 13, 2017 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants