From 30ddb9a0d930336099014c00fe4ade8d082d1150 Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Thu, 3 Nov 2016 11:02:53 -0400 Subject: [PATCH] [tvos][storekit] Small update for Xcode 8.2 beta 1 Effectively there's no API change, but a new (for tvOS) header was added even if it does not include stuff added to tvOS. This requires a few updates for xtro to gives correct results. Also added comments in bindings since this makes things clearer. --- src/storekit.cs | 6 ++++-- tests/xtro-sharpie/tvos.ignore | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/storekit.cs b/src/storekit.cs index 20db11f51abe..092ffb2353fd 100644 --- a/src/storekit.cs +++ b/src/storekit.cs @@ -473,7 +473,8 @@ interface SKCloudServiceController { NSString CloudServiceCapabilitiesDidChangeNotification { get; } } - [NoTV, iOS (10,1)] + [iOS (10,1)] + [NoTV] // __TVOS_PROHIBITED [BaseType (typeof(UIViewController))] interface SKCloudServiceSetupViewController { @@ -491,7 +492,8 @@ interface SKCloudServiceSetupViewController interface ISKCloudServiceSetupViewControllerDelegate {} - [NoTV, iOS (10,1)] + [iOS (10,1)] + [NoTV] // __TVOS_PROHIBITED on the only member + SKCloudServiceSetupViewController is not in tvOS [Protocol, Model] [BaseType (typeof(NSObject))] interface SKCloudServiceSetupViewControllerDelegate diff --git a/tests/xtro-sharpie/tvos.ignore b/tests/xtro-sharpie/tvos.ignore index 652cf1e44628..1dcae179706d 100644 --- a/tests/xtro-sharpie/tvos.ignore +++ b/tests/xtro-sharpie/tvos.ignore @@ -284,6 +284,13 @@ ## but the delegate itself is not marked (so it's reported as missing) !missing-protocol! SKStoreProductViewControllerDelegate not bound +## SKCloudServiceSetupViewController is not in tvOS and the only member of the delegate is not either +## but the delegate itself is not marked (so it's reported as missing) +!missing-field! SKCloudServiceSetupActionSubscribe not bound +!missing-field! SKCloudServiceSetupOptionsActionKey not bound +!missing-field! SKCloudServiceSetupOptionsITunesItemIdentifierKey not bound +!missing-protocol! SKCloudServiceSetupViewControllerDelegate not bound + # UIKit