macOS 使用“ Gatekeeper技术”来确保您的Mac运行安全且正版的应用程序。当安装从App Store外部下载的应用程序时,macOS 会扫描它们是否存在恶意软件并验证它们是否来自受信任的开发人员。CoreServicesUIAgent进程在应用程序验证期间(CoreServicesUIAgent)显示进度条。
如果验证进度卡住,CoreServicesUIAgent 的CPU使用率会增加并降低 Mac 的速度。(slows down your Mac)本教程涵盖 macOS 中CoreServicesUIAgent(CoreServicesUIAgent)验证问题的故障排除修复。

1. 强制退出CoreServicesUIAgent
在活动监视器(Activity Monitor)中终止CoreServicesUIAgent可以消除导致验证包安装程序过程卡住的问题。
- Press Command + SpacebarSpotlight搜索框中键入活动监视器,然后选择活动监视器(Activity Monitor)应用。

或者,前往Finder > Applications > 实用程序(Utilities),然后双击Activity Monitor。

- (Type)在搜索框中
键入coreservicesuiagent。

- 选择CoreServicesUIAgent进程和左上角的
停止(X) 图标。(Stop)

- (Select Force Quit)在弹出的确认窗口中
选择强制退出。

关闭活动监视器(Activity Monitor)并检查强制退出CoreServicesUIAgent是否会关闭“正在验证(Verifying)应用程序”弹出窗口。重新打开安装程序并检查您的Mac是否验证该应用程序而不会卡住。
2.使用CoreServices 安装程序应用程序(Installer App)
尝试通过 macOS安装(Installer)程序应用程序安装包文件。通过活动监视器(Activity Monitor)强制退出 CoreServicesUIAgent ,(CoreServicesUIAgent)然后按照以下步骤操作。
- 打开Finder,然后按Command + Shift + G打开“转到文件夹(Folder)”字段。或者,选择菜单栏上的“前往”,然后选择“前往文件夹”(Folder)。

- 将 /System/Library/CoreServices/Installer粘贴(Paste)到对话框中,然后按Return。

- 双击安装程序应用程序。

- 导航到您要安装的应用程序的软件包安装程序的位置。选择软件包安装程序并选择“打开”(Open)按钮。

您的Mac应该安装该应用程序,而不会陷入验证阶段。如果问题仍然存在,请重新启动计算机。
3. 重新启动你的Mac
执行系统重启可以将出现故障的 macOS 特性和功能恢复正常。重新启动您的Mac并尝试重新安装无法通过安装过程验证阶段的受影响应用程序。
请记住在重新启动(Remember)Mac之前关闭所有应用程序,以避免丢失未保存的数据或文件。
选择Mac 屏幕左上角的Apple徽标,然后在Apple菜单上选择(Apple)“重新启动”(Restart)。

Mac启动时,macOS 应安装应用程序的软件包安装程序或磁盘映像。
4. 扫描您的 Mac 是否存在恶意软件
如果 macOS 不验证应用程序的软件包安装程序,则该文件可能不安全或恶意。
通过在线病毒扫描程序(online virus scanner)或third-party antivirus/security software运行安装程序或软件包文件。如果这些工具报告安装程序包含恶意软件,请立即将其从您的Mac中删除。之后(Afterward),您应该运行完整的系统扫描,以识别或删除恶意软件可能感染的其他文件。
5. 更新你的 Mac

macOS 更新附带安全补丁(security patches)、错误修复和新功能。保持 Mac 软件最新是防范恶意软件的众多方法之一。
如果 macOS 无法验证软件包安装程序,请更新 Mac 的软件(update your Mac’s software)并尝试重新安装有问题的应用程序。
转到System Settings > General > Software Update,然后等待Mac扫描软件更新。

如果您的Mac运行 macOS Monterey或更早版本,请前往System Preferences > Software Update以更新其操作系统。
选择立即更新(Update)或立即升级以安装适用于Mac的任何软件更新。

6.重新启用应用程序安全设置
解决此问题的另一种方法是重新允许安装来自App Store外部的应用程序。
重新启用应用程序安全设置(App Security Settings)(macOS Ventura或更高版本(Newer))
- 打开系统设置(System Settings)应用程序,选择侧边栏上的隐私(Privacy)和安全,然后滚动到“(Security)安全(Security)”部分。
- (Set)将“允许从以下位置下载应用程序”选项设置为App Store。

- 输入 Mac 的密码或使用 Touch ID 授权更改并关闭“系统设置”(System Settings)应用。

- 返回应用程序安全页面(请参阅步骤 #1)并选择App Store和已识别的开发人员。

重新打开软件包安装程序并检查您的Mac是否验证并安装了该应用程序。
重新启用应用程序安全设置(App Security Settings)(macOS Monterey或更早版本)
- 转至System Preferences > Security和隐私(Privacy),然后打开常规(General)选项卡。
- 选择左下角的锁定图标以解锁“安全(Security)和隐私”(Privacy)首选项页面。

- 输入 Mac 的密码或使用 Touch ID 继续。

- 在“允许从以下位置下载应用程序”部分中选择App Store ,然后关闭(App Store)“系统(System) 偏好设置”(Preferences)窗口。

- 返回“安全(Security)和隐私”(Privacy)设置菜单中的“常规”(General)选项卡,然后选择“App Store”和已识别的开发人员。

重新打开软件包安装程序并查看 macOS 是否成功验证该应用程序。另外,打开活动监视器(Activity Monitor)并检查重新启用已识别开发人员的应用程序安装是否会减少CoreServicesUIAgent内存和CPU使用率。
7. 禁用网守验证
(Turn)如果您的CoreServicesUIAgent(CoreServicesUIAgent)在验证应用程序时一直卡住,请关闭Gatekeeper验证(Gatekeeper)。这样做可以让您安装来自身份不明的开发人员的应用程序(install applications from unidentified developers)。

注意:来自身份不明的开发者的应用程序可能包含病毒或恶意代码。因此(Hence),禁用Gatekeeper会增加在(Gatekeeper)Mac上运行恶意软件的机会。我们仅建议在 macOS 中关闭Gatekeeper作为最后的手段。如果禁用Gatekeeper ,请在安装之前
使用防病毒或安全工具(例如Avast 或 Malwarebytes)扫描应用程序包文件。(Avast or Malwarebytes)
- 转至Finder > Applications > 实用程序(Utilities),然后双击Terminal。

- (Paste)在终端控制台中(Terminal)粘贴sudo spctl –master-disable并按Return。

- 输入 Mac 的密码并按Return。

- 转到System Settings > Privacy和安全”(Security) ,然后在“允许从以下位置下载应用程序”部分中
选择“任意位置”。(Anywhere)

验证并安装应用程序
如果CoreServicesUIAgent在验证特定应用程序时遇到困难,请联系应用程序开发人员或向应用程序开发人员报告。如果问题影响App Store以外的所有应用程序,(App Store)请联系 Apple 支持(Contact Apple Support)。
CoreServicesUIAgent Stuck on Verifying and Won’t Close? 7 Fixes to Try
macOS uses a “Gatekeeper technology” to ensure your Mac runs safe аnd genuine applications. When installing apps downloaded outsіde the App Store, macOS scans them for malware and verifies they’re from trusted developers. The CoreServicesUIAgent process dіsplays a progress bar during the app verification.
CoreServicesUIAgent’s CPU usage increases and slows down your Mac if the verification progress gets stuck. This tutorial covers troubleshooting fixes for CoreServicesUIAgent verification issues in macOS.

1. Force Quit CoreServicesUIAgent
Terminating CoreServicesUIAgent in the Activity Monitor could eliminate issues causing the process to get stuck verifying package installers.
- Press Command + Spacebar, type activity monitor in the Spotlight search box, and select the Activity Monitor app.

Alternatively, head to Finder > Applications > Utilities and double-click Activity Monitor.

- Type coreservicesuiagent in the search box.

- Select the CoreServicesUIAgent process and the Stop (X) icon in the top-left corner.

- Select Force Quit on the confirmation pop-up.

Close the Activity Monitor and check if force-quitting CoreServicesUIAgent dismisses the “Verifying app” pop-up. Reopen the installer and check if your Mac verifies the app without getting stuck.
2. Use the CoreServices Installer App
Try installing the package file through the macOS Installer app. Force-quit the CoreServicesUIAgent via the Activity Monitor and follow the steps below.
- Open Finder and press Command + Shift + G to open the “Go to Folder” field. Alternatively, select Go on the menu bar and choose Go to Folder.

- Paste /System/Library/CoreServices/Installer in the dialog box and press Return.

- Double-click the Installer app.

- Navigate to the location of the package installer for the application you want to install. Choose the package installer and select the Open button.

Your Mac should install the application without getting stuck in the verification phase. Reboot your computer if the issue persists.
3. Reboot Your Mac
Performing a system reboot can restore malfunctioning macOS features and functionalities to normalcy. Reboot your Mac and try reinstalling the affected app that won’t get past the verification phase of the installation process.
Remember to close all applications before rebooting your Mac to avoid losing unsaved data or files.
Select the Apple logo in the top-left corner of your Mac’s screen and select Restart on the Apple menu.

macOS should install the application’s package installer or disk image when your Mac boots.
4. Scan Your Mac for Malware
If macOS won’t verify an app’s package installer, there’s a chance that the file is unsafe or malicious.
Run the installer or package file through an online virus scanner or third-party antivirus/security software. If these tools report that the installer contains malware, remove it from your Mac immediately. Afterward, you should run a complete system scan to identify or remove other files the malware might have infected.
5. Update Your Mac

macOS updates ship with security patches, bug fixes, and new features. Keeping your Mac’s software up-to-date is one of the many ways to protect against malware.
If macOS won’t verify a package installer, update your Mac’s software and try reinstalling the problematic app.
Go to System Settings > General > Software Update and wait while your Mac scans for software updates.

If your Mac runs macOS Monterey or older, head to System Preferences > Software Update to update its operating system.
Select Update Now or Upgrade Now to install any software update available for Mac.

6. Re-Enable App Security Settings
Another way to resolve this issue is to re-allow the installation of apps from outside the App Store.
Re-Enable App Security Settings (macOS Ventura or Newer)
- Open the System Settings app, select Privacy & Security on the sidebar, and scroll to the “Security” section.
- Set the “Allow applications downloaded from” option to the App Store.

- Enter your Mac’s password or use Touch ID to authorize the change and close the System Settings app.

- Return to the app security page (see step #1) and choose App Store and identified developers.

Reopen the package installer and check if your Mac verifies and installs the app.
Re-enable App Security Settings (macOS Monterey or Older)
- Go to System Preferences > Security & Privacy and open the General tab.
- Select the lock icon in the bottom-left corner to unlock the Security & Privacy preferences page.

- Enter your Mac’s password or use Touch ID to proceed.

- Choose App Store in the “Allow apps downloaded from” section and close the System Preferences window.

- Return to the General tab in the Security & Privacy settings menu and select App Store and identified developers.

Reopen the package installer and see if macOS successfully verifies the app. Also, open the Activity Monitor and check if re-enabling app installation from identified developers reduces CoreServicesUIAgent memory and CPU usage.
7. Disable Gatekeeper Verification
Turn off Gatekeeper verification if your CoreServicesUIAgent keeps getting stuck verifying apps. Doing so allows you to install applications from unidentified developers.

Note: Apps from unidentified developers might contain viruses or malicious code. Hence, disabling the Gatekeeper increases the chances of running malicious software on your Mac. We only recommend turning off Gatekeeper in macOS as a last resort. If you disable Gatekeeper, scan application package files using antivirus or security tools like Avast or Malwarebytes before installing them.
- Go to Finder > Applications > Utilities and double-click Terminal.

- Paste sudo spctl –master-disable in the Terminal console and press Return.

- Enter your Mac’s password and press Return.

- Go to System Settings > Privacy & Security and select Anywhere in the “Allow applications downloaded from” section.

Get Apps Verified and Installed
If CoreServicesUIAgent gets stuck verifying a specific application, contact or report to the app developer. Contact Apple Support if the issue affects all applications outside the App Store.