-
Notifications
You must be signed in to change notification settings - Fork 514
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
Conversation
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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Build failure |
1 similar comment
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")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/xamarin/xamarin-macios/wiki/BINDINGS#availability-attributes-messages (:
Please add a dot at the end of the sentance.
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")] |
There was a problem hiding this comment.
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")] |
There was a problem hiding this comment.
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")] |
There was a problem hiding this comment.
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")] |
There was a problem hiding this comment.
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")] |
There was a problem hiding this comment.
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")] |
There was a problem hiding this comment.
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")] |
There was a problem hiding this comment.
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")] |
There was a problem hiding this comment.
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")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same (dot).
There was a problem hiding this 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
@VincentDondain please create an intro test to check for this (and other comments you add like quotes) |
@VincentDondain Fixed, thanks! |
Build success |
Into and xtro are happy locally 😄