Skip to content

Commit 555a244

Browse files
[ExecutionPolicy] Add support for xcode14 beta 4. (#15641)
1 parent 29e48e5 commit 555a244

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/executionpolicy.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace ExecutionPolicy {
1010

11-
[Mac (10,15)]
11+
[Mac (10,15), MacCatalyst (16,0)]
1212
[Native]
1313
public enum EPDeveloperToolStatus : long {
1414
NotDetermined = 0,
@@ -17,15 +17,15 @@ public enum EPDeveloperToolStatus : long {
1717
Authorized,
1818
}
1919

20-
[Mac (10,15)]
20+
[Mac (10,15), MacCatalyst (16,0)]
2121
[Native]
2222
[ErrorDomain ("EPErrorDomain")]
2323
public enum EPError : long {
2424
Generic = 1,
2525
NotADeveloperTool,
2626
}
2727

28-
[Mac (10,15)]
28+
[Mac (10,15), MacCatalyst (16,0)]
2929
[BaseType (typeof (NSObject))]
3030
interface EPDeveloperTool {
3131

@@ -36,7 +36,7 @@ interface EPDeveloperTool {
3636
void RequestDeveloperToolAccess (Action<bool> handler);
3737
}
3838

39-
[Mac (10,15)]
39+
[Mac (10,15), MacCatalyst (16,0)]
4040
[BaseType (typeof (NSObject))]
4141
interface EPExecutionPolicy {
4242

src/frameworks.sources

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,6 +2310,7 @@ MACCATALYST_FRAMEWORKS = \
23102310
CoreWlan \
23112311
EventKit \
23122312
EventKitUI \
2313+
ExecutionPolicy \
23132314
ExternalAccessory \
23142315
FileProvider \
23152316
GameController \

tools/common/Frameworks.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ public static Frameworks GetMacCatalystFrameworks ()
683683

684684
// Add frameworks that are not in iOS
685685
catalyst_frameworks.Add ("AppKit", 13, 0);
686+
catalyst_frameworks.Add ("ExecutionPolicy", 16, 0);
686687
// Due to a linking problem, ScreenCpatureKit doesn't work on Mac Catalyst (we can't pass -framework ScreenCaptureKit to the native linker,
687688
// because there's no Mac Catalyst tbd file for ScreenCaptureKit).
688689
// catalyst_frameworks.Add ("ScreenCaptureKit", 15, 4);

0 commit comments

Comments
 (0)