diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index ff8a11cef..5da73e28e 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -50,6 +50,8 @@ compose.desktop {
infoPlist{
extraKeysRawXml = plistStrings
}
+ entitlementsFile.set(project.file("entitlements.plist"))
+ runtimeEntitlementsFile.set(project.file("entitlements.plist"))
}
windows{
iconFile = project.file("../build/windows/processing.ico")
@@ -275,4 +277,8 @@ val plistStrings: String
Viewer
-""".trimIndent()
\ No newline at end of file
+ NSCameraUsageDescription
+ The sketch you're running needs access to your video camera.
+ NSMicrophoneUsageDescription
+ The sketch you're running needs access to your microphone.
+"""
\ No newline at end of file
diff --git a/app/entitlements.plist b/app/entitlements.plist
new file mode 100644
index 000000000..27f562dac
--- /dev/null
+++ b/app/entitlements.plist
@@ -0,0 +1,23 @@
+
+
+
+
+ com.apple.security.cs.allow-jit
+
+ com.apple.security.cs.allow-unsigned-executable-memory
+
+ com.apple.security.cs.disable-executable-page-protection
+
+ com.apple.security.cs.disable-library-validation
+
+ com.apple.security.cs.allow-dyld-environment-variables
+
+ com.apple.security.device.camera
+
+ com.apple.security.device.microphone
+
+ com.apple.security.device.audio-input
+
+
+
+
\ No newline at end of file