Ask Different (Apple)
Q&A for power users of Apple hardware and software
Latest Questions
0
votes
1
answers
179
views
Proper value for com.apple.quarantine on 14.4.1
I’m running into an issue on macOS Sonoma 14.4.1 relating to file quarantine xattr -w com.apple.quarantine true uTorrent\ Web When I write quarantine metadata to a this file, it results in utorrent not being able to open. Im looking for the proper value for com.apple.quarantine say for a file you've...
I’m running into an issue on macOS Sonoma 14.4.1 relating to file quarantine
xattr -w com.apple.quarantine true uTorrent\ Web
When I write quarantine metadata to a this file, it results in utorrent not being able to open.
Im looking for the proper value for com.apple.quarantine say for a file you've pulled using curl. Assuming that's of any value.
Is there a way to run a newly downloaded binary by gatekeeper?
Anton Tropashko
(649 rep)
May 13, 2024, 03:06 PM
• Last activity: Jul 7, 2025, 10:04 PM
0
votes
0
answers
33
views
Gatekeeper Disk Write Workaround?
I am developing a Python software and I'd like to generate a logs folder where .log files can populate for user-debug. When I run the file through the main init. and the .app created by PyInstaller, the logs folder generates just fine. But when I test the app distribution (creating a .dmg), the .app...
I am developing a Python software and I'd like to generate a logs folder where .log files can populate for user-debug. When I run the file through the main init. and the .app created by PyInstaller, the logs folder generates just fine. But when I test the app distribution (creating a .dmg), the .app gets flagged by Gatekeeper. I can open it through Settings>Privacy & Security, but my logs file won't generate (due to com.apple.quarantine attribute).
Anyone have a recommended workaround to give my software writing ability? I'd prefer not to pay the developer subscription...Thanks!
harryt
(1 rep)
Jul 1, 2025, 06:23 PM
9
votes
1
answers
2752
views
syspolicyd is killing my battery on a new MacBook Pro, repeatedly scanning and re-scanning my Steam library
syspolicyd is consistently using ~20% CPU and consuming lots of power. Tracing it with `sudo fs_usage "$(pgrep syspolicyd)"` reveals that it's repeatedly scanning the same dozen or so Steam apps in my `~/Library/Application Support/Steam/steamapps/common` directory. Is there any way to convince it t...
syspolicyd is consistently using ~20% CPU and consuming lots of power. Tracing it with
sudo fs_usage "$(pgrep syspolicyd)"
reveals that it's repeatedly scanning the same dozen or so Steam apps in my ~/Library/Application Support/Steam/steamapps/common
directory.
Is there any way to convince it to be less aggressive about scanning, or remind it that it's already scanned these locations? Or at least get it to tell me why it's doing this without resorting to dtrace
tooling?
Glyph
(1828 rep)
Jan 2, 2020, 12:38 AM
• Last activity: May 19, 2025, 04:01 AM
1
votes
0
answers
137
views
How can I tell Gatekeeper not to check (downloaded) files with a specific extension?
Since the upgrade to macOS 15.4, I've noticed that every time I try to open a [Lilypond](https://lilypond.org/) file, Gatekeeper blocks me from doing so: [![screenshot of dialog][1]][1] > Apple could not verify "EL 38 1.ly" is free of malware that may harm your Mac or compromise your privacy. Thanks...
Since the upgrade to macOS 15.4, I've noticed that every time I try to open a [Lilypond](https://lilypond.org/) file, Gatekeeper blocks me from doing so:
> Apple could not verify "EL 38 1.ly" is free of malware that may harm your Mac or compromise your privacy.
Thanks to e.g. [this answer](https://discussions.apple.com/thread/255852595?answerId=260941200022&sortBy=rank#260941200022) I know I can fix this via System Settings → Privacy & Security and scrolling down to the Security area. However, I have to do that every time I open a new Lilypond file, which is rather annoying. Is there a way I can tell Gatekeeper to ignore files with the

.ly
extension?
I have already set BBEdit as the default app to open .ly
files. Right-clicking the file and choosing Open With → BBEdit.app gives the same dialog. ls
gives the following information:
% ls -@l ~/Downloads/EL21.ly
-rw-r--r--@ 1 Glorfindel staff 3314 May 11 20:08 /Users/Glorfindel/Downloads/EL21.ly
com.apple.metadata:kMDItemWhereFroms 181
com.apple.quarantine 57
If I then do
cat EL21.ly > test.ly
the test.ly
file opens without problems, so it seems related to the file being downloaded.
Glorfindel
(4228 rep)
May 11, 2025, 10:51 AM
• Last activity: May 11, 2025, 06:10 PM
1
votes
1
answers
553
views
Getting "“Chromium” is damaged and can’t be opened." after installing with `brew install --cask chromium`
After installing Chromium with `brew install --cask chromium`, when I opened it, I got greeted with "“Chromium” is damaged and can’t be opened. You should move it to the Trash." How can I work around this?
After installing Chromium with
brew install --cask chromium
, when I opened it, I got greeted with "“Chromium” is damaged and can’t be opened. You should move it to the Trash."
How can I work around this?
Cornelius Roemer
(542 rep)
May 3, 2025, 07:25 PM
9
votes
1
answers
2996
views
com.docker.socket was not opened because it contains malware
I had been running Docker Desktop for Mac for some months without incident. This error message cropped up, apropos of nothing, after a reboot: > "com.docker.socket" was not opened because it contains malware Anyone have an idea why, and what can be done to work around it? Simply dragging the app ico...
I had been running Docker Desktop for Mac for some months without incident. This error message cropped up, apropos of nothing, after a reboot:
> "com.docker.socket" was not opened because it contains malware
Anyone have an idea why, and what can be done to work around it? Simply dragging the app icon to the trash and re-installing didn't seem to help.
Kevin E
(684 rep)
Jan 13, 2025, 03:48 AM
• Last activity: Jan 30, 2025, 10:27 AM
4
votes
2
answers
330
views
GateKeeper Blocking Audio Plugin
I'm an audio producer although I have also worked as a C/C++ programmer so I'm reasonably technical! I bought a Mac Mini about a year ago and it recently developed a fault and had to be replaced so I'm currently in the process of setting up a new Mac Mini running Catalina (10.15.3). One of the audio...
I'm an audio producer although I have also worked as a C/C++ programmer so I'm reasonably technical!
I bought a Mac Mini about a year ago and it recently developed a fault and had to be replaced so I'm currently in the process of setting up a new Mac Mini running Catalina (10.15.3).
One of the audio programs I use is PreSonus Studio One. A big part of how it's used is via third-party plug-ins which come in a variety of formats - AU, VST2, VST3, etc. The plug-ins are installed in different ways - some via a "control centre" app, some by an installer, others by drag-and-drop to the appropriate folder.
I've run into a problem with one VST3 plug-in. I dropped the plug-in into the folder
/Library/Audio/Plug-Ins/VST3
. Then I ran Studio One which does a plug-in scan at start-up. An error message popped up (can't remember exactly what it was) saying that the software was from an unidentified developer and couldn't be run. Ever since then, the plug-in won't load. I suspect the plug-in has been "blacklisted".
I've tried the following in order to fix the problem but so far nothing's worked:
- Re-installing the plug-in with an installer
- Disabling GateKeeper with: spctl --master-disable
- Resetting GateKeeper with: spctl --reset-default
Other plug-ins are loading fine.
Now I'm stuck. Any suggestions as to what I should try next?
user2063909
(41 rep)
Feb 29, 2020, 10:18 AM
• Last activity: Oct 12, 2024, 06:05 PM
0
votes
0
answers
82
views
Sonoma 14.1.1 - Dyalog APL installer fails with "Trust evaluate failure"
I'm trying to install a software package (Dyalog APL) that I've installed successfully on many occasions before, but suddenly the installer fails -- or rather, it appears to go through the motions (installer claims to have been successful), but nothing appears in the /Applications folder. Looking at...
I'm trying to install a software package (Dyalog APL) that I've installed successfully on many occasions before, but suddenly the installer fails -- or rather, it appears to go through the motions (installer claims to have been successful), but nothing appears in the /Applications folder.
Looking at the logs, I see the following error messages:
Trust evaluate failure: [leaf ExtendedKeyUsage] [ca1 Intermediate EKU]
Any ideas if this is related, and if so, what can be done to fix it? It seems to be a problem on my machine, as others on the same or similar hardware and OS version don't appear to have this problem.
M2 Pro, Sonoma 14.1.1
xpqz
(133 rep)
Nov 27, 2023, 04:07 PM
• Last activity: Sep 16, 2024, 12:44 PM
2
votes
0
answers
839
views
Visual Studio Code was blocked from use because it is not from an identified developer
I'm new to Mac and would like to know if this occurrence is normal, I installed the Visual Studio code (exactly version 1.91 from the official site) by downloading the file and then inserting it into the "applications" folder. I can open it without problems and make it work, the system does not bloc...
I'm new to Mac and would like to know if this occurrence is normal,
I installed the Visual Studio code (exactly version 1.91 from the official site) by downloading the file and then inserting it into the "applications" folder. I can open it without problems and make it work, the system does not block it in any way, but if I go to the security settings of the Mac I get the message telling me that the visual studio code is a program that comes from an unidentified developer and asks me for permission, does this happen to you too?
I proceed to do the steps
1. I downloaded it from here (https://code.visualstudio.com/)
1. The file I download is a zip version.
1. Once the download is finished it seems to extract the internal file by itself and leaves that file inside the download folder and puts the zip version in the trash
1. At this point I put that file in the application folder
1. I press it but it gives me the error that it was not downloaded from the Apple store
1. I go to settings to change the setting for starting programs even taken from the internet and it writes this to me
I have a Macbook pro M2 chip
Can someone explain why am I getting this message?


Ughetta Agente
(29 rep)
Jul 19, 2024, 07:03 AM
• Last activity: Jul 20, 2024, 12:24 AM
2
votes
2
answers
3058
views
Restoring Apple Mobile File Integrity back to default settings (nvram boot-args)
I modified Apple Mobile File Integrity by running the following commands in a Terminal: ``` sudo nvram boot-args="amfi_get_out_of_my_way=1" ``` How do I revert this change and restore the macOS defaults settings for AMFI / nvram boot-args?
I modified Apple Mobile File Integrity by running the following commands in a Terminal:
sudo nvram boot-args="amfi_get_out_of_my_way=1"
How do I revert this change and restore the macOS defaults settings for AMFI / nvram boot-args?
Mxm
(31 rep)
May 21, 2022, 02:17 PM
• Last activity: Jul 12, 2024, 06:02 AM
0
votes
3
answers
1990
views
How to fix a 'damaged app' error message when the app can't be found
I have been getting the error message "DeepL” is damaged and can’t be opened. You should move it to the Bin" on my Macbook (OS: 14.0 (23A344)) I tried searching for the app in Applications/Downloads so I could delete it but it's nowhere to be found. Any suggestions?
I have been getting the error message "DeepL” is damaged and can’t be opened. You should move it to the Bin" on my Macbook (OS: 14.0 (23A344))
I tried searching for the app in Applications/Downloads so I could delete it but it's nowhere to be found. Any suggestions?
Sara
Nov 7, 2023, 08:21 AM
• Last activity: Feb 18, 2024, 08:01 PM
0
votes
0
answers
61
views
How to Bypass or Automate MacOS Software Check from Python
I have a python script running on MacOS that uses Selenium chromedriver. I use chromedriver_autoinstaller to check for and install the latest chromedriver automatically. The problem is, on MacOS, every new chromedriver has to be manually approved as a safe file downloaded from the internet and autho...
I have a python script running on MacOS that uses Selenium chromedriver. I use chromedriver_autoinstaller to check for and install the latest chromedriver automatically. The problem is, on MacOS, every new chromedriver has to be manually approved as a safe file downloaded from the internet and authorized with admin username and password for it to be able to run. I want this process to be either automatic or to bypass the security check and authorization for (preferably) chromedriver only. I don't want to ever have to authorize or press "Open" on the dialogue window that pops up each time a new version of chromedriver is downloaded. What are the best and safest ways to do this?
I have to authorize the dialogue boxes manually, and I want to automate or bypass this process.
Giving the approval command in https://stackoverflow.com/questions/60362018/macos-catalinav-10-15-3-error-chromedriver-cannot-be-opened-because-the-de requires administrator authentication and then the first time chromedriver runs it requires you to click open in a dialogue box. I am not sure how to automate the administrator authentication and how to click "Open" on the dialogue box in Python. Is there an easy solution to this problem or other workarounds?
torJamlite903
(1 rep)
Dec 6, 2023, 07:35 PM
• Last activity: Dec 6, 2023, 09:38 PM
2
votes
1
answers
1246
views
Application get sigkill on launch
When I launch certain applications, they don't launch. Running them in iTerm gets `sigkill`. Running them in `gdb` does not output any debug information. Running them with `dtruss` does not output any debug information. However, running them in a virtual machine (with SIP and amfi disabled) succeed,...
When I launch certain applications, they don't launch. Running them in iTerm gets
sigkill
. Running them in gdb
does not output any debug information. Running them with dtruss
does not output any debug information. However, running them in a virtual machine (with SIP and amfi disabled) succeed, so it must be that something is wrong with my system's configuration. How can I start to troubleshoot this problem?
Note: I saw relevant messages of amfid
in Console.app
and killed amfid
, and then applications begin to freeze. (Problems I should expect for killing a system process. But what actually is amfid
doing if I had already disabled it using the startup flag amfi_get_out_of_my_way=0x1
? And it probably worked because I can create APFS snapshots using my own program I signed ad-hoc, which will just get a sigkill
if amfi
is enabled.)
Console.app messages:
调试 22:19:00.631755 +0800 amfid mig_source_handler: enter
信息 22:19:00.631993 +0800 amfid Verifying fallback entitlements on /Applications/Paste.app/Contents/MacOS/Paste
调试 22:19:00.633074 +0800 amfid 0x7f8e45f00bb0 rule ^Contents$ added (weight 0, flags 0x12)
调试 22:19:00.633180 +0800 amfid 0x7f8e45f00860 rule ^(\.LSOverride|\.DS_Store|Icon
|\.SoftwareDepot\.tracking)$ added (weight 0, flags 0x9)
调试 22:19:00.633231 +0800 amfid entering /Applications/Paste.app
调试 22:19:00.633329 +0800 amfid entering /Applications/Paste.app/Contents
调试 22:19:00.633394 +0800 amfid leaving /Applications/Paste.app/Contents
调试 22:19:00.633425 +0800 amfid leaving /Applications/Paste.app
调试 22:19:00.633730 +0800 amfid open(/Applications/Paste.app/Contents/MacOS/Paste,0x0,0x1b6) = 3
调试 22:19:00.633788 +0800 amfid open(/Applications/Paste.app/Contents/MacOS/Paste,0x0,0x1b6) = 4
调试 22:19:00.633826 +0800 amfid 0x7f8e45e4f9e0 is a thin file (x86_64)
调试 22:19:00.633860 +0800 amfid close(3) err: 0
调试 22:19:00.633977 +0800 amfid 17387 signing bytes in 4 blob(s) from /Applications/Paste.app/Contents/MacOS/Paste(x86_64)
调试 22:19:00.634042 +0800 amfid failed to fetch /Applications/Paste.app/Contents/_CodeSignature/CodeRequirements-1 error=-10
调试 22:19:00.634265 +0800 amfid create 0x7f8e45e46597 for 0x7f8e45e46580
调试 22:19:00.634327 +0800 amfid create 0x7f8e45e592b8 for 0x7f8e45e592a0
调试 22:19:00.634444 +0800 amfid Policy() this 0x7f8e45e32008
调试 22:19:00.634505 +0800 amfid ~Policy() this 0x7f8e45e32008
调试 22:19:00.634579 +0800 amfid create 0x7f8e45e403b9 for 0x7f8e45e403a0
调试 22:19:00.634614 +0800 amfid 0x7f8e45e403a0 attached module 0x7f8e45c00860(AppleX509CL) (ssid 0 type 8)
调试 22:19:00.634827 +0800 amfid create 0x7f8e45c03cda for 0x7f8e45c03cc0
调试 22:19:00.634909 +0800 amfid 0x7f8e45c03cc0 attached module 0x7f8e45e42d10(AppleCSP) (ssid 0 type 2)
调试 22:19:00.634956 +0800 amfid create 0x7f8e45f2b76b for 0x7f8e45f2b770
调试 22:19:00.635055 +0800 amfid Empty start date
调试 22:19:00.635087 +0800 amfid Empty end date
调试 22:19:00.635739 +0800 amfid 0x7f8e45c03cc0 detach module 0x7f8e45e42d10(AppleCSP)
调试 22:19:00.636227 +0800 trustd XPC [amfid/1#3 LF=0] operation: trust_evaluate (8)
调试 22:19:00.637160 +0800 amfid SecTrustSettingsEvaluateCert: NOT FOUND
调试 22:19:00.637273 +0800 amfid open(/Applications/Paste.app/Contents/Info.plist,0x0,0x1b6) = 3
调试 22:19:00.637440 +0800 amfid close(3) err: 0
调试 22:19:00.637497 +0800 amfid 0x7f8e4682f630 validating slot -1
调试 22:19:00.637545 +0800 amfid 0x7f8e4682f630 validating slot -1
调试 22:19:00.637668 +0800 amfid 0x7f8e45c01c78 loaded InfoDict 0x7f8e45c00f20
调试 22:19:00.637701 +0800 amfid 0x7f8e4682f630 validating slot -5
调试 22:19:00.637740 +0800 amfid 0x7f8e4682f630 validating slot -5
调试 22:19:00.637796 +0800 amfid 0x7f8e45c01c78 loaded Entitlements 0x7f8e45c03d90
调试 22:19:00.637889 +0800 amfid failed to fetch /Applications/Paste.app/Contents/_CodeSignature/CodeTopDirectory error=-10
调试 22:19:00.637922 +0800 amfid 0x7f8e4682f630 validating slot -2
调试 22:19:00.637967 +0800 amfid open(/Applications/Paste.app/Contents/MacOS/Paste,0x0,0x1b6) = 3
调试 22:19:00.638000 +0800 amfid 3 fcntl(48,0x1) = 0
调试 22:19:00.668608 +0800 amfid close(3) err: 0
默认 22:19:00.668669 +0800 amfid MacOS error: -67050
调试 22:19:00.669774 +0800 amfid 0 Security 0x00007fff3f48bb23 Security::CommonError::LogBacktrace() + 87
调试 22:19:00.669822 +0800 amfid 1 Security 0x00007fff3f48c043 Security::MacOSError::MacOSError(int) + 241
调试 22:19:00.669960 +0800 amfid 2 Security 0x00007fff3f48c0de Security::MacOSError::throwMe(int) + 34
调试 22:19:00.670006 +0800 amfid 3 Security 0x00007fff3f37662e Security::CodeSigning::SecStaticCode::staticValidateCore(unsigned int, Security::CodeSigning::SecRequirement const*) + 94
调试 22:19:00.670049 +0800 amfid 4 Security 0x00007fff3f37444d Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) + 71
调试 22:19:00.670081 +0800 amfid 5 Security 0x00007fff3f36c962 SecStaticCodeCheckValidityWithErrors + 163
调试 22:19:00.670112 +0800 amfid 6 amfid 0x000000010d09d488 amfid + 9352
调试 22:19:00.670144 +0800 amfid 7 amfid 0x000000010d09c802 amfid + 6146
调试 22:19:00.670173 +0800 amfid 8 amfid 0x000000010d09f136 amfid + 16694
调试 22:19:00.670206 +0800 amfid 9 amfid 0x000000010d09f1ac amfid + 16812
调试 22:19:00.670237 +0800 amfid 10 libdispatch.dylib 0x00007fff5b3c5fca dispatch_mig_server + 413
调试 22:19:00.670267 +0800 amfid 11 amfid 0x000000010d09cd73 amfid + 7539
调试 22:19:00.670295 +0800 amfid 12 libdispatch.dylib 0x00007fff5b3b9db8 _dispatch_client_callout + 8
调试 22:19:00.670325 +0800 amfid 13 libdispatch.dylib 0x00007fff5b3cce81 _dispatch_continuation_pop + 472
调试 22:19:00.670373 +0800 amfid 14 libdispatch.dylib 0x00007fff5b3bc081 _dispatch_source_invoke + 620
调试 22:19:00.670438 +0800 amfid 15 libdispatch.dylib 0x00007fff5b3ce07a _dispatch_queue_serial_drain + 222
调试 22:19:00.670500 +0800 amfid 16 libdispatch.dylib 0x00007fff5b3c1166 _dispatch_queue_invoke + 373
调试 22:19:00.670554 +0800 amfid 17 libdispatch.dylib 0x00007fff5b3cf1c9 _dispatch_root_queue_drain_deferred_item + 256
调试 22:19:00.670622 +0800 amfid 18 libdispatch.dylib 0x00007fff5b3d28f3 _dispatch_kevent_worker_thread + 817
调试 22:19:00.670687 +0800 amfid 19 libsystem_pthread.dylib 0x00007fff5b70aff6 _pthread_wqthread + 1016
调试 22:19:00.670757 +0800 amfid 20 libsystem_pthread.dylib 0x00007fff5b70abe9 start_wqthread + 13
默认 22:19:00.670909 +0800 amfid MacOS error: -67050
调试 22:19:00.672012 +0800 amfid 0 Security 0x00007fff3f48bb23 Security::CommonError::LogBacktrace() + 87
调试 22:19:00.672052 +0800 amfid 1 Security 0x00007fff3f48c043 Security::MacOSError::MacOSError(int) + 241
调试 22:19:00.672089 +0800 amfid 2 Security 0x00007fff3f3765b6 Security::CodeSigning::CSError::CSError(int, __CFDictionary const*) + 18
调试 22:19:00.672125 +0800 amfid 3 Security 0x00007fff3f380277 Security::CodeSigning::CSError::throwMe(int, __CFString const*, void const*) + 67
调试 22:19:00.672167 +0800 amfid 4 Security 0x00007fff3f376756 Security::CodeSigning::SecStaticCode::staticValidateCore(unsigned int, Security::CodeSigning::SecRequirement const*) + 390
调试 22:19:00.672203 +0800 amfid 5 Security 0x00007fff3f37444d Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) + 71
调试 22:19:00.672234 +0800 amfid 6 Security 0x00007fff3f36c962 SecStaticCodeCheckValidityWithErrors + 163
调试 22:19:00.672266 +0800 amfid 7 amfid 0x000000010d09d488 amfid + 9352
调试 22:19:00.672328 +0800 amfid 8 amfid 0x000000010d09c802 amfid + 6146
调试 22:19:00.672380 +0800 amfid 9 amfid 0x000000010d09f136 amfid + 16694
调试 22:19:00.672411 +0800 amfid 10 amfid 0x000000010d09f1ac amfid + 16812
调试 22:19:00.672466 +0800 amfid 11 libdispatch.dylib 0x00007fff5b3c5fca dispatch_mig_server + 413
调试 22:19:00.672497 +0800 amfid 12 amfid 0x000000010d09cd73 amfid + 7539
调试 22:19:00.672549 +0800 amfid 13 libdispatch.dylib 0x00007fff5b3b9db8 _dispatch_client_callout + 8
调试 22:19:00.672599 +0800 amfid 14 libdispatch.dylib 0x00007fff5b3cce81 _dispatch_continuation_pop + 472
调试 22:19:00.672635 +0800 amfid 15 libdispatch.dylib 0x00007fff5b3bc081 _dispatch_source_invoke + 620
调试 22:19:00.672685 +0800 amfid 16 libdispatch.dylib 0x00007fff5b3ce07a _dispatch_queue_serial_drain + 222
调试 22:19:00.672716 +0800 amfid 17 libdispatch.dylib 0x00007fff5b3c1166 _dispatch_queue_invoke + 373
调试 22:19:00.672767 +0800 amfid 18 libdispatch.dylib 0x00007fff5b3cf1c9 _dispatch_root_queue_drain_deferred_item + 256
调试 22:19:00.672819 +0800 amfid 19 libdispatch.dylib 0x00007fff5b3d28f3 _dispatch_kevent_worker_thread + 817
调试 22:19:00.672916 +0800 amfid 20 libsystem_pthread.dylib 0x00007fff5b70aff6 _pthread_wqthread + 1016
调试 22:19:00.672991 +0800 amfid 21 libsystem_pthread.dylib 0x00007fff5b70abe9 start_wqthread + 13
调试 22:19:00.673257 +0800 amfid Bundle: CFBundle 0x7f8e45e0be50 (framework, loaded), key: -2147411889, value: -2147411889, table: SecErrorMessages, localizationName: (null), result: -2147411889
调试 22:19:00.673310 +0800 amfid Bundle: CFBundle 0x7f8e45e0be50 (framework, loaded), key: -2147411889, value: -2147411889, table: SecDebugErrorMessages, localizationName: (null), result: CSSMERR_CL_UNKNOWN_TAG
调试 22:19:00.673429 +0800 amfid Bundle: CFBundle 0x7f8e45e0be50 (framework, loaded), key: -2147411889, value: -2147411889, table: SecErrorMessages, localizationName: (null), result: -2147411889
调试 22:19:00.673473 +0800 amfid Bundle: CFBundle 0x7f8e45e0be50 (framework, loaded), key: -2147411889, value: -2147411889, table: SecDebugErrorMessages, localizationName: (null), result: CSSMERR_CL_UNKNOWN_TAG
默认 22:19:00.673562 +0800 amfid MacOS error: -67050
调试 22:19:00.674409 +0800 amfid 0 Security 0x00007fff3f48bb23 Security::CommonError::LogBacktrace() + 87
调试 22:19:00.674454 +0800 amfid 1 Security 0x00007fff3f48c043 Security::MacOSError::MacOSError(int) + 241
调试 22:19:00.674509 +0800 amfid 2 Security 0x00007fff3f48c0de Security::MacOSError::throwMe(int) + 34
调试 22:19:00.674548 +0800 amfid 3 Security 0x00007fff3f37662e Security::CodeSigning::SecStaticCode::staticValidateCore(unsigned int, Security::CodeSigning::SecRequirement const*) + 94
调试 22:19:00.674590 +0800 amfid 4 Security 0x00007fff3f37444d Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) + 71
调试 22:19:00.674622 +0800 amfid 5 Security 0x00007fff3f36c962 SecStaticCodeCheckValidityWithErrors + 163
调试 22:19:00.674652 +0800 amfid 6 amfid 0x000000010d09d4c3 amfid + 9411
调试 22:19:00.674680 +0800 amfid 7 amfid 0x000000010d09c802 amfid + 6146
调试 22:19:00.674710 +0800 amfid 8 amfid 0x000000010d09f136 amfid + 16694
调试 22:19:00.674744 +0800 amfid 9 amfid 0x000000010d09f1ac amfid + 16812
调试 22:19:00.674774 +0800 amfid 10 libdispatch.dylib 0x00007fff5b3c5fca dispatch_mig_server + 413
调试 22:19:00.674803 +0800 amfid 11 amfid 0x000000010d09cd73 amfid + 7539
调试 22:19:00.674832 +0800 amfid 12 libdispatch.dylib 0x00007fff5b3b9db8 _dispatch_client_callout + 8
调试 22:19:00.674872 +0800 amfid 13 libdispatch.dylib 0x00007fff5b3cce81 _dispatch_continuation_pop + 472
调试 22:19:00.674943 +0800 amfid 14 libdispatch.dylib 0x00007fff5b3bc081 _dispatch_source_invoke + 620
调试 22:19:00.675000 +0800 amfid 15 libdispatch.dylib 0x00007fff5b3ce07a _dispatch_queue_serial_drain + 222
调试 22:19:00.675072 +0800 amfid 16 libdispatch.dylib 0x00007fff5b3c1166 _dispatch_queue_invoke + 373
调试 22:19:00.675132 +0800 amfid 17 libdispatch.dylib 0x00007fff5b3cf1c9 _dispatch_root_queue_drain_deferred_item + 256
调试 22:19:00.675190 +0800 amfid 18 libdispatch.dylib 0x00007fff5b3d28f3 _dispatch_kevent_worker_thread + 817
调试 22:19:00.675242 +0800 amfid 19 libsystem_pthread.dylib 0x00007fff5b70aff6 _pthread_wqthread + 1016
调试 22:19:00.675299 +0800 amfid 20 libsystem_pthread.dylib 0x00007fff5b70abe9 start_wqthread + 13
默认 22:19:00.675418 +0800 amfid MacOS error: -67050
调试 22:19:00.676450 +0800 amfid 0 Security 0x00007fff3f48bb23 Security::CommonError::LogBacktrace() + 87
调试 22:19:00.676489 +0800 amfid 1 Security 0x00007fff3f48c043 Security::MacOSError::MacOSError(int) + 241
调试 22:19:00.676514 +0800 amfid 2 Security 0x00007fff3f3765b6 Security::CodeSigning::CSError::CSError(int, __CFDictionary const*) + 18
调试 22:19:00.676546 +0800 amfid 3 Security 0x00007fff3f380277 Security::CodeSigning::CSError::throwMe(int, __CFString const*, void const*) + 67
调试 22:19:00.676583 +0800 amfid 4 Security 0x00007fff3f376756 Security::CodeSigning::SecStaticCode::staticValidateCore(unsigned int, Security::CodeSigning::SecRequirement const*) + 390
调试 22:19:00.676625 +0800 amfid 5 Security 0x00007fff3f37444d Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) + 71
调试 22:19:00.676656 +0800 amfid 6 Security 0x00007fff3f36c962 SecStaticCodeCheckValidityWithErrors + 163
调试 22:19:00.676695 +0800 amfid 7 amfid 0x000000010d09d4c3 amfid + 9411
调试 22:19:00.676764 +0800 amfid 8 amfid 0x000000010d09c802 amfid + 6146
调试 22:19:00.676795 +0800 amfid 9 amfid 0x000000010d09f136 amfid + 16694
调试 22:19:00.676825 +0800 amfid 10 amfid 0x000000010d09f1ac amfid + 16812
调试 22:19:00.676855 +0800 amfid 11 libdispatch.dylib 0x00007fff5b3c5fca dispatch_mig_server + 413
调试 22:19:00.676889 +0800 amfid 12 amfid 0x000000010d09cd73 amfid + 7539
调试 22:19:00.676949 +0800 amfid 13 libdispatch.dylib 0x00007fff5b3b9db8 _dispatch_client_callout + 8
调试 22:19:00.677012 +0800 amfid 14 libdispatch.dylib 0x00007fff5b3cce81 _dispatch_continuation_pop + 472
调试 22:19:00.677069 +0800 amfid 15 libdispatch.dylib 0x00007fff5b3bc081 _dispatch_source_invoke + 620
调试 22:19:00.677170 +0800 amfid 16 libdispatch.dylib 0x00007fff5b3ce07a _dispatch_queue_serial_drain + 222
调试 22:19:00.677198 +0800 amfid 17 libdispatch.dylib 0x00007fff5b3c1166 _dispatch_queue_invoke + 373
调试 22:19:00.677335 +0800 amfid 18 libdispatch.dylib 0x00007fff5b3cf1c9 _dispatch_root_queue_drain_deferred_item + 256
调试 22:19:00.677375 +0800 amfid 19 libdispatch.dylib 0x00007fff5b3d28f3 _dispatch_kevent_worker_thread + 817
调试 22:19:00.677406 +0800 amfid 20 libsystem_pthread.dylib 0x00007fff5b70aff6 _pthread_wqthread + 1016
调试 22:19:00.677438 +0800 amfid 21 libsystem_pthread.dylib 0x00007fff5b70abe9 start_wqthread + 13
调试 22:19:00.677776 +0800 amfid 0x7f8e45e403a0 detach module 0x7f8e45c00860(AppleX509CL)
调试 22:19:00.677938 +0800 amfid close(4) err: 0
调试 22:19:00.677997 +0800 amfid mig_source_handler: exit
gdb
(gdb) run
Starting program: /Applications/Paste.app/Contents/MacOS/Paste
[New Thread 0x1103 of process 1535]
[New Thread 0xe03 of process 1535]
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
lldb
(lldb) target create "/Applications/Paste.app/Contents/MacOS/Paste"
Current executable set to '/Applications/Paste.app/Contents/MacOS/Paste' (x86_64).
(lldb) run
error: process exited with status -1 (unable to attach)
dtruss
dtrace: failed to execute /Applications/Paste.app/Contents/MacOS/Paste: Could not create symbolicator for task
Running spctl --assess /Applications/Paste.app
hangs, with repeated messages in Console:
调试 19:00:42.831648 +0800 syspolicyd 0 Security 0x00007fff3f48bb23 Security::CommonError::LogBacktrace() + 87
调试 19:00:42.831755 +0800 syspolicyd 1 Security 0x00007fff3f48c043 Security::MacOSError::MacOSError(int) + 241
调试 19:00:42.831912 +0800 syspolicyd 2 Security 0x00007fff3f3765b6 Security::CodeSigning::CSError::CSError(int, __CFDictionary const*) + 18
调试 19:00:42.831966 +0800 syspolicyd 3 Security 0x00007fff3f380277 Security::CodeSigning::CSError::throwMe(int, __CFString const*, void const*) + 67
调试 19:00:42.867965 +0800 syspolicyd 4 Security 0x00007fff3f376756 Security::CodeSigning::SecStaticCode::staticValidateCore(unsigned int, Security::CodeSigning::SecRequirement const*) + 390
调试 19:00:42.868193 +0800 syspolicyd 5 Security 0x00007fff3f37444d Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) + 71
调试 19:00:42.869378 +0800 syspolicyd 6 Security 0x00007fff3f36c962 SecStaticCodeCheckValidityWithErrors + 163
调试 19:00:42.869444 +0800 syspolicyd 7 Security 0x00007fff3f38e1d6 Security::CodeSigning::PolicyEngine::evaluateCodeItem(__SecCode const*, __CFURL const*, unsigned int, unsigned long long, bool, __CFDictionary*) + 644
调试 19:00:42.870000 +0800 syspolicyd 8 Security 0x00007fff3f390211 invocation function for block in Security::CodeSigning::PolicyEngine::evaluateCode(__CFURL const*, unsigned int, unsigned long long, __CFDictionary const*, __CFDictionary*, bool) + 319
调试 19:00:42.870180 +0800 syspolicyd 9 Security 0x00007fff3f37454d Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) + 327
调试 19:00:42.870291 +0800 syspolicyd 10 Security 0x00007fff3f37396b Security::CodeSigning::SecStaticCode::validateNestedCode(__CFURL const*, Security::CodeSigning::ResourceSeal const&, unsigned int, bool) + 213
调试 19:00:42.870464 +0800 syspolicyd 11 Security 0x00007fff3f372885 Security::CodeSigning::SecStaticCode::validateResource(__CFDictionary const*, std::__1::basic_string, std::__1::allocator >, bool, Security::CodeSigning::SecStaticCode::ValidationContext&, unsigned int, unsigned int) + 1423
调试 19:00:42.870641 +0800 syspolicyd 12 Security 0x00007fff3f3722b2 invocation function for block in Security::CodeSigning::SecStaticCode::validateResources(unsigned int) + 77
调试 19:00:42.870696 +0800 syspolicyd 13 Security 0x00007fff3f381e42 Security::CodeSigning::LimitedAsync::perform(Security::Dispatch::Group&, void () block_pointer) + 204
调试 19:00:42.870740 +0800 syspolicyd 14 Security 0x00007fff3f3721b1 invocation function for block in Security::CodeSigning::SecStaticCode::validateResources(unsigned int) + 235
调试 19:00:42.870795 +0800 syspolicyd 15 Security 0x00007fff3f3999d8 Security::CodeSigning::ResourceBuilder::scan(void (_ftsent*, unsigned int, std::__1::basic_string, std::__1::allocator >, Security::CodeSigning::ResourceBuilder::Rule*) block_pointer) + 2968
调试 19:00:42.870862 +0800 syspolicyd 16 Security 0x00007fff3f3718ab Security::CodeSigning::SecStaticCode::validateResources(unsigned int) + 823
调试 19:00:42.870906 +0800 syspolicyd 17 Security 0x00007fff3f3744e0 Security::CodeSigning::SecStaticCode::staticValidate(unsigned int, Security::CodeSigning::SecRequirement const*) + 218
调试 19:00:42.870965 +0800 syspolicyd 18 Security 0x00007fff3f36c962 SecStaticCodeCheckValidityWithErrors + 163
调试 19:00:42.871034 +0800 syspolicyd 19 Security 0x00007fff3f38fc32 Security::CodeSigning::PolicyEngine::evaluateCode(__CFURL const*, unsigned int, unsigned long long, __CFDictionary const*, __CFDictionary*, bool) + 802
调试 19:00:42.871078 +0800 syspolicyd 20 Security 0x00007fff3f386381 ___ZN8Security11CodeSigning14EvaluationTask17performEvaluationEyPK14__CFDictionary_block_invoke.9 + 216
调试 19:00:42.871654 +0800 syspolicyd 21 libdispatch.dylib 0x00007fff5b3cfe0e _dispatch_block_async_invoke2 + 102
调试 19:00:42.871838 +0800 syspolicyd 22 libdispatch.dylib 0x00007fff5b3b9db8 _dispatch_client_callout + 8
调试 19:00:42.871968 +0800 syspolicyd 23 libdispatch.dylib 0x00007fff5b3ce217 _dispatch_queue_serial_drain + 635
调试 19:00:42.872080 +0800 syspolicyd 24 libdispatch.dylib 0x00007fff5b3c1166 _dispatch_queue_invoke + 373
调试 19:00:42.872205 +0800 syspolicyd 25 libdispatch.dylib 0x00007fff5b3cef0d _dispatch_root_queue_drain_deferred_wlh + 332
调试 19:00:42.872316 +0800 syspolicyd 26 libdispatch.dylib 0x00007fff5b3d2d21 _dispatch_workloop_worker_thread + 880
调试 19:00:42.872435 +0800 syspolicyd 27 libsystem_pthread.dylib 0x00007fff5b70afd2 _pthread_wqthread + 980
调试 19:00:42.872654 +0800 syspolicyd 28 libsystem_pthread.dylib 0x00007fff5b70abe9 start_wqthread + 13
默认 19:00:42.873339 +0800 syspolicyd MacOS error: -67050
Joy Jin
(3043 rep)
Oct 24, 2021, 02:00 PM
• Last activity: Jul 20, 2023, 06:05 PM
1
votes
1
answers
538
views
Create GateKeepr exceptions for all files in a folder
I downloaded a software in `tar.gz` form. It is built from a `bin` folder and `lib` folder. It is blocked from running since files are from the Internet. I wanted to make an exception for the program yet there are many binary files. On the Internet I found how to add exceptions only to `.app` files....
I downloaded a software in
tar.gz
form.
It is built from a bin
folder and lib
folder.
It is blocked from running since files are from the Internet.
I wanted to make an exception for the program yet there are many binary files.
On the Internet I found how to add exceptions only to .app
files.
Is there a way to add exceptions for all files in a folder and sub folders?
Maybe by a script?
GeorgeIrwin
(115 rep)
Jul 8, 2023, 07:45 AM
• Last activity: Jul 8, 2023, 12:45 PM
1
votes
0
answers
127
views
Mac 13 application crashes only during reboot but has no issues manually launching launchctl
My app is code signed. The package is notarized using `altool` and stapled. Only thing is my app is notarized but still not stapled dont know why, even though package is stapled validated through stapler validate. When I launch it in normal user session no errors. It only happens at boot time and th...
My app is code signed. The package is notarized using
altool
and stapled. Only thing is my app is notarized but still not stapled dont know why, even though package is stapled validated through stapler validate.
When I launch it in normal user session no errors. It only happens at boot time and the error in launchd.log
gives
xpcproxy exited due to OS_REASON_CODESIGNING | Launch Constraint Violation, error info: cpme.
I validated using codesign -vvv --deep --verify
that my app is properly signed. Also it never crashes no matter how many times I launch it using launchctl.
I see many other apps like tailscale
and others facing [same problem](https://github.com/tailscale/tailscale/issues/7460) but fixing it using ad-hoc signing. I cannot do that. Any help will be highly appreciated. TIA
A similar issue has been seen by others but no solution was provided there in https://apple.stackexchange.com/questions/451892/macos-13-1-launchd-job-fails-with-os-reason-codesigning
denny
(11 rep)
Jun 6, 2023, 04:07 PM
• Last activity: Jun 8, 2023, 07:40 AM
4
votes
2
answers
12440
views
'libsoda.so' error when enabling Google Chrome's Live Caption feature
Since the most recent version of Google Chrome (100.0.4896.127) on macOS Monterey, trying to use Live Caption (chrome://settings/accessibility) results in an error dialog: "libsoda.so" can't be opened because Apple cannot check it for malicious software." Live Caption then indicates that it is not a...
Since the most recent version of Google Chrome (100.0.4896.127) on macOS Monterey, trying to use Live Caption (chrome://settings/accessibility) results in an error dialog:
"libsoda.so" can't be opened because Apple cannot check it for malicious software."
Live Caption then indicates that it is not available on sources that previously worked.
This error has been noted on both Intel and Apple Silicon devices.
How can this feature be re-enabled?
da4
(6025 rep)
Apr 18, 2022, 06:32 PM
• Last activity: Mar 24, 2023, 01:33 PM
31
votes
4
answers
25866
views
How can I “Open an app from an unidentified developer” without using the GUI?
Basically, I used the native `Safari.app` web browser to download a third party application and I want to run / `open` it from the comfort of my `bash` shell / `Terminal.app` CLI; despite the following error message: “ ” can’t be opened because it is from an unidentified developer. Your security pre...
Basically, I used the native
Safari.app
web browser to download a third party application and I want to run / open
it from the comfort of my bash
shell / Terminal.app
CLI; despite the following error message:
“” can’t be opened because it is from an unidentified
developer. Your security preferences allow installation of only apps from the Mac
App Store and identified developers. Safari downloaded this file on
from .
|[OK]|
voices
(2269 rep)
Aug 26, 2015, 11:10 PM
• Last activity: Mar 2, 2023, 10:58 PM
3
votes
2
answers
1765
views
“terminal-notifier.app” cannot be opened because the developer cannot be verified
When I update os from `Big Sur` to `Monterey` and open `terminal-notifier.app` it shows me the message **“terminal-notifier.app” cannot be opened because the developer cannot be verified.** Why it shows me the messages
When I update os from
Big Sur
to Monterey
and open terminal-notifier.app
it shows me the message
**“terminal-notifier.app” cannot be opened because the developer cannot be verified.**
Why it shows me the messages
A.A Noman
(133 rep)
Dec 16, 2021, 06:48 AM
• Last activity: Jan 12, 2023, 01:31 AM
3
votes
1
answers
9766
views
Cannot disable gate keeper
I received my M1 Mac Mini a couple weeks ago and restored my time machine backup from an Intel Mac with Catalina. Today I execute this command: ```sudo spctl --master-disable``` and the following occurred. ``` objc[865]: Class SPExecutionPolicy is implemented in both /System/Library/PrivateFramework...
I received my M1 Mac Mini a couple weeks ago and restored my time machine backup from an Intel Mac with Catalina.
Today I execute this command:
spctl --master-disable
and the following occurred.
objc: Class SPExecutionPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc: Class AppWrapper is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc: Class AppWrapperPolicyResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc: Class AppWrapperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc: Class SPLog is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc: Class MIS is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc: Class SPExecutionHistoryItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc: Class SPExecutionPolicyItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc: Class SPDeveloperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
objc: Class GKScanResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
I've never seen such messages in previous versions of Mac OS. Can anyone shed some light?
Walton C
(51 rep)
Dec 25, 2020, 05:08 AM
• Last activity: Dec 20, 2022, 02:02 PM
18
votes
4
answers
19884
views
Can Gatekeeper be disabled via terminal in OS X 10.8 Mountain Lion?
How can you disable Gatekeeper via Terminal Commands in OS X 10.8 Mountain Lion? I am looking to replicate the Security & Privacy preference pane selection to allow applications downloaded from **Anywhere** to run: ![enter image description here][1] By having a terminal command, I can write a script...
How can you disable Gatekeeper via Terminal Commands in OS X 10.8 Mountain Lion? I am looking to replicate the Security & Privacy preference pane selection to allow applications downloaded from **Anywhere** to run:
By having a terminal command, I can write a script to do this task remotely rather than manually going to each Mac and changing these settings with a mouse and several clicks.

Brian McCarthy
(285 rep)
Dec 19, 2012, 08:08 PM
• Last activity: Dec 19, 2022, 02:08 PM
Showing page 1 of 20 total questions