Install on macOS Clash Meta: Network Extension Permissions and Keychain Prompts
Fix macOS first-launch issues, including “app is damaged” alerts, system extension approvals, TUN permissions, and repeated Keychain prompts, with steps for finding each setting.
Choose a macOS installer and fix “app is damaged” alerts
First, open the Apple menu → About This Mac and note your macOS version and processor. If it says “Chip” and lists an Apple M-series processor, choose arm64. If it says “Processor” and lists Intel, choose x86_64—sometimes labeled amd64. A Universal build works on both, if the release offers one, but check its minimum macOS version. An installer that extracts successfully may still require a newer version of macOS.
- Launch the app from Applications. For a disk image, mount it, drag the client to Applications, eject the image, then open the app from Finder’s Applications folder. For an archive, extract it fully and move the app inside to Applications. This helps avoid launching different copies from Downloads or an older disk image.
- Know which alert you’re seeing. “Unable to verify developer” or a warning that Apple can’t check an app for malicious software is different from “App is damaged and can’t be opened.” For the first type, if you’ve confirmed the installer’s source and version, check System Settings → Privacy & Security on macOS 13 or later for an “Open Anyway” option for the app. Verify the app name before deciding whether to continue.
- For an “app is damaged” alert, try a fresh installer first. Delete the app you copied, download the installer for your processor and macOS version from a trusted release source, and try again. If the alert persists, note its full text and the client and macOS versions, then try a compatible release or contact its maintainers. Don’t disable security checks for your entire Mac to get one app running. If macOS warns that the app will damage your computer, don’t open it.
Network Extensions, VPN Configurations, and TUN Permissions
Clash Meta usually refers to the mihomo core; the specific client provides the installation, menus, and permission prompts. The system proxy is used by apps that honor macOS proxy settings. TUN routes traffic through a virtual network interface. A client may use a privileged helper service or an Apple Network Extension for TUN. A TUN toggle doesn’t necessarily mean you need to approve a system extension.
| When this happens | Where to look | What to check |
|---|---|---|
| A network extension is reported as disabled after installation | macOS 15 Sequoia: System Settings → General → Login Items & Extensions → Network Extensions | Make sure the extension name matches the client you’re using, and enable only what this installation requires. |
| macOS explicitly says a system extension was blocked | macOS 13 Ventura or 14 Sonoma: System Settings → Privacy & Security | Look for a pending approval request from the relevant developer and follow the on-screen instructions. Restart only if macOS explicitly asks you to. |
| A request to add a VPN configuration appears | Check the system prompt before approving. Afterward, check System Settings → VPN. | Make sure the request came from the client you just opened. Clients that use a separate helper service may not add an entry here. |
| Enabling TUN reports that the service isn’t installed | In the client’s settings, look for “Service Mode,” “Install Service,” or a service option next to TUN. The exact label depends on the version. | Installing the service may require administrator approval. After approving, make sure the service is running before enabling TUN, then check the logs. |
If the toggle switches back off immediately, note when it happened and check the first error logged at that time. A disconnected service, a failed virtual interface, and a DNS listener error occur at different stages; a later “Startup failed” message is usually just the result. Also make sure an older client isn’t handling traffic at the same time. On a managed Mac, policies may restrict extensions or VPN configurations—ask your administrator to check rather than repeatedly requesting approval.
Stop Repeated Keychain Prompts
Approving an administrator prompt while installing a helper service is different from a prompt saying a process wants to access an item in your Keychain. The latter names the requesting process and item. It may involve subscription credentials, or a browser or helper process from an older version. Check the names, then consider what happened just before the prompt: importing a subscription, launching the client, or waking your Mac from sleep. If you can’t verify the requester, choose “Deny” for now; there’s no need to choose “Always Allow.”
- Check for duplicate copies. Quit the client, then use Activity Monitor to check whether any related processes are still running. Next, go to System Settings → General → Login Items (Login Items & Extensions on macOS 15) and check whether an older version launches at login. Once you’ve identified the copy to keep, open it from Applications.
- Look up the item named in the prompt. Use Spotlight to open Keychain Access, select the “login” keychain, and search for the item named in the prompt. If it’s an old credential, verify the item name, associated account, and client first. Some items have an Access Control tab. Don’t set an item to allow access from all applications just to stop the prompt.
- Distinguish a locked Keychain from an item access request. If the prompt asks you to unlock the “login” keychain—especially after you reset your macOS login password—the old keychain may still require its previous password. If it’s an access request for a specific item, verify the requesting process, allow access once, and see whether the same action triggers the prompt again. Don’t reset the entire Keychain in either case; doing so may make existing credentials inaccessible.
- Recreate only outdated credentials you’ve confirmed belong to the client. If prompts recur only when refreshing a subscription after an upgrade, and you’ve confirmed the expired item was created by that client, make sure you can sign in to the subscription again. Then quit the client, delete that item, and import the subscription again. Don’t delete the entire “login” keychain or remove certificates or private keys unrelated to the issue.
Verify the System Proxy, TUN, and Rule Matching
Test the system proxy and TUN separately. With both enabled, a successful browser request doesn’t tell you which one routed the traffic into the core. For each test, use the same domain and check the client’s Connections or Logs view for the matched rule and actual policy.
System Proxy: Check the Active Network Service and Listening Port
Turn off TUN and enable only the system proxy. For Wi-Fi, go to System Settings → Network → Wi-Fi → Details for your current network → Proxies. For a wired connection, check the relevant Ethernet service. If your configuration shows mixed-port: 7890, set the system HTTP or HTTPS proxy to the address and port the client is actually listening on, such as 127.0.0.1:7890. Here, 7890 is only an example. If the client uses a separate HTTP proxy port, use that instead. You can also inspect the current system proxy settings read-only in Terminal:
scutil --proxy
Check HTTPEnable / HTTPPort or HTTPSEnable / HTTPSPort and compare them with the listening settings shown in the client. If browser requests don’t appear in the connection list, first check for a browser-specific proxy or system proxy bypass rules, then review the routing rules.
TUN: Confirm Traffic Reaches the Core Before Checking Rules
Turn off the system proxy, enable TUN, and send the request again. First, confirm the logs show that TUN started successfully, then check whether the request appears in the connection list. Seeing a utun interface in macOS doesn’t prove the request reached mihomo; other VPNs can create the same kind of interface.
- No connections appear: Check the TUN service status, whether routes are enabled, and whether another VPN is handling the traffic. If domain resolution fails first, no connection may follow; check the DNS logs.
- The connection appears, but uses the wrong policy: Check which rule matched instead of reinstalling the extension. For example,
DOMAIN-SUFFIX,example.com,DIRECTsends matching domains directly. If an earlier rule matches, later rules won’t override it. Put theMATCHfallback rule last. - You still can’t connect after quitting the client: Turn off the system proxy and TUN in the client before quitting. Then check the Proxies pane for the current network service for any leftover settings pointing to a local port. If your Mac already used a work proxy or automatic proxy configuration, restore its original settings rather than clearing them.
When reporting an issue, include your macOS version, processor architecture, client version, the exact action that triggered the permission prompt, and the first error in the logs. Before sharing a screenshot, redact tokens in subscription URLs, account names, and credentials. Troubleshooting permissions rarely requires publishing the full subscription URL.