Post

Replies

Boosts

Views

Activity

Reply to howto codesign and package for testflight
I think it is necessary to sign first the binary, because else App sandbox won't work. So first: codesign --entitlements /Applications/MyApp.app/Contents/MyApp.entitlements -s "Apple Distribution: ****" /Applications/MyAppapp I checked the installer package in a VM. It works with sandbox.
Topic: Code Signing SubTopic: General Tags:
Feb ’24
Reply to macOS doesn't show mic alert window with AudioToolbox
I tried this to obtain microphone access: [AVCaptureDevice requestAccessForMediaType:AVMediaTypeAudio completionHandler:^(BOOL granted) { if (granted) { g_message("granted microphone access"); }else{ g_message("not granted microphone access"); } }]; Further I added these keys and values to Info.plist: <key>NSCameraUsageDescription</key> <string>Only microphone used.</string> <key>NSMicrophoneUsageDescription</key> <string>The application uses your microphone.</string> And the sandbox and hardening entitlements: <key>com.apple.security.device.audio-input</key> <true/> <key>com.apple.security.device.microphone</key> <true/> But it didn't work.
Topic: Privacy & Security SubTopic: General Tags:
Nov ’24