Skip to content

Commit fc64d2c

Browse files
authored
[LocalAuthentication] Update to Xcode 26 beta 1-5. (#23564)
1 parent 038e1cd commit fc64d2c

File tree

4 files changed

+26
-6
lines changed

4 files changed

+26
-6
lines changed

src/LocalAuthentication/LAEnums.cs

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
using System;
2+
using System.ComponentModel;
3+
24
using ObjCRuntime;
35
using Foundation;
46

@@ -18,14 +20,34 @@ public enum LAPolicy : long {
1820
[NoiOS]
1921
[NoMacCatalyst]
2022
DeviceOwnerAuthenticationWithWatch = 3,
21-
[NoTV, MacCatalyst (18, 0), Mac (15, 0), iOS (18, 0)]
23+
24+
#if XAMCORE_5_0
25+
[NoiOS]
26+
#else
27+
[iOS (18, 0)]
28+
#if __IOS__ && !__MACCATALYST__
29+
[Obsolete ("This value is not available on this platform.")]
30+
#endif
31+
#endif
32+
[NoTV, MacCatalyst (18, 0), Mac (15, 0)]
2233
DeviceOwnerAuthenticationWithCompanion = 3,
34+
2335
[Deprecated (PlatformName.MacOSX, 15, 0, message: "Use 'DeviceOwnerAuthenticationWithBiometricsOrCompanion' instead.")]
2436
[NoiOS]
2537
[NoMacCatalyst]
2638
DeviceOwnerAuthenticationWithBiometricsOrWatch = 4,
27-
[NoTV, MacCatalyst (18, 0), Mac (15, 0), iOS (18, 0)]
39+
40+
#if XAMCORE_5_0
41+
[NoiOS]
42+
#else
43+
[iOS (18, 0)]
44+
#if __IOS__ && !__MACCATALYST__
45+
[Obsolete ("This value is not available on this platform.")]
46+
#endif
47+
#endif
48+
[NoTV, MacCatalyst (18, 0), Mac (15, 0)]
2849
DeviceOwnerAuthenticationWithBiometricsOrCompanion = 4,
50+
2951
[Obsolete ("Use DeviceOwnerAuthenticationWithBiometricsOrWatch enum value instead.")]
3052
[NoiOS]
3153
[NoMacCatalyst]

src/localauthentication.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ enum LACompanionType : long {
373373
Watch = 1 << 0,
374374
[NoMac, NoTV]
375375
Mac = 1 << 1,
376+
[NoMac, NoTV]
377+
Vision = 1 << 2,
376378
}
377379

378380
[Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)]

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-LocalAuthentication.todo

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/iOS-LocalAuthentication.todo

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)