[AutomaticAssessmentConfiguration] Add missing constructors to AEAssessmentApplication. Fixes #19133. (#19180)

Fixes https://github.com/xamarin/xamarin-macios/issues/19133.

---------

Co-authored-by: Alex Soto <alex@soto.dev>
This commit is contained in:
Rolf Bjarne Kvinge 2023-10-16 07:33:10 +02:00 коммит произвёл GitHub
Родитель facd38c2b6
Коммит 2779d9c48a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 13 добавлений и 5 удалений

Просмотреть файл

@ -172,7 +172,20 @@ namespace AutomaticAssessmentConfiguration {
[Mac (12, 0), iOS (15, 0), MacCatalyst (15, 0)]
[BaseType (typeof (NSObject))]
#if XAMCORE_5_0
[DisableDefaultCtor]
#endif
interface AEAssessmentApplication : NSCopying {
[NoiOS]
[MacCatalyst (15, 0)]
[Export ("initWithBundleIdentifier:")]
NativeHandle Constructor (string bundleIdentifier);
[NoiOS]
[NoMacCatalyst] // header says it's available in Mac Catalyst, Apple's documentation + xtro says it's not, so don't add it for now.
[Export ("initWithBundleIdentifier:teamIdentifier:")]
NativeHandle Constructor (string bundleIdentifier, [NullAllowed] string TeamIdentifier);
[Export ("bundleIdentifier")]
string BundleIdentifier { get; }

Просмотреть файл

@ -1 +0,0 @@
!missing-selector! AEAssessmentApplication::initWithBundleIdentifier: not bound

Просмотреть файл

@ -1,2 +0,0 @@
!missing-selector! AEAssessmentApplication::initWithBundleIdentifier: not bound
!missing-selector! AEAssessmentApplication::initWithBundleIdentifier:teamIdentifier: not bound

Просмотреть файл

@ -1,2 +0,0 @@
!missing-selector! AEAssessmentApplication::initWithBundleIdentifier: not bound
!missing-selector! AEAssessmentApplication::initWithBundleIdentifier:teamIdentifier: not bound