diff --git a/lib/pods/activity_rpc.dart b/lib/pods/activity_rpc.dart index 92690732..c6fa7ac5 100644 --- a/lib/pods/activity_rpc.dart +++ b/lib/pods/activity_rpc.dart @@ -3,7 +3,6 @@ import 'dart:convert'; import 'dart:developer' as developer; import 'dart:io'; import 'dart:typed_data'; -import 'package:flutter/foundation.dart' show kReleaseMode; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:shelf/shelf.dart'; import 'package:shelf/shelf_io.dart' as shelf_io; @@ -193,8 +192,8 @@ class ActivityRpcServer { ); } - // Start IPC server (skip on macOS in production due to sandboxing) - final shouldStartIpc = !(Platform.isMacOS && kReleaseMode); + // Start IPC server (skip on macOS due to sandboxing) + final shouldStartIpc = !Platform.isMacOS; if (shouldStartIpc) { try { final ipcPath = await _findAvailableIpcPath(); diff --git a/macos/Runner/DebugProfile.entitlements b/macos/Runner/DebugProfile.entitlements index ad00adc7..07f0ebed 100644 --- a/macos/Runner/DebugProfile.entitlements +++ b/macos/Runner/DebugProfile.entitlements @@ -8,7 +8,21 @@ com.apple.developer.device-information.user-assigned-device-name + com.apple.security.app-sandbox + com.apple.security.cs.allow-jit + com.apple.security.device.audio-input + + com.apple.security.device.camera + + com.apple.security.files.downloads.read-write + + com.apple.security.files.user-selected.read-only + + com.apple.security.network.client + + com.apple.security.network.server +