Platform Guides 7 min read

Clash Clients for iPhone: App Store Availability and How to Import Configurations

Learn why iOS Clash-compatible clients are distributed through the App Store, how to prepare an Apple Account outside mainland China, import a subscription URL or YAML file, and approve the VPN configuration.

Check the App Store Listing and Compatibility

For a public release on a personal iPhone, the App Store is usually the place to start. macOS .dmg installers and Android .apk files cannot be installed on an iPhone. The App Store is not the only iOS distribution channel: TestFlight is used for time-limited developer betas, and some regions allow other forms of distribution. This guide covers the standard App Store release process. Whether an app is available depends on the developer's supported regions and device compatibility.

Check Your Apple Account's Store Region

On iOS 18, go to Settings → your name → Media & Purchases → View Account → Country/Region to check the current store region. You may be asked to verify your identity. Apple Account is the current name for Apple ID. Changing the language or region under General does not change the App Store storefront.

  1. Open the App Store listing from a link published by the developer. If it explicitly says the app is unavailable in your country or region, first check the developer's stated release regions. If you can't find the app in search, its name may have changed or it may have been removed.
  2. If you already have an Apple Account outside mainland China that you own and that meets the target region's requirements, sign out under Media & Purchases, sign in with that account, then reopen the App Store listing. You do not need to sign out of the entire iCloud account at the top of Settings. Switching accounts may affect store purchases and media services. Future app updates may also require the account originally used to download the app.
  3. If you are changing your existing account's country or region because you have moved, first check your account balance, active subscriptions, and Family Sharing status. Follow Apple's prompts to prepare a payment method and billing details accepted in the new region. Changing your account region can affect purchases and subscriptions, so it is not a temporary way to switch App Store search results.

Import Using a Subscription URL

On your provider's subscription page, choose a link labeled Clash or Mihomo that is compatible with your client, then copy the complete https:// URL. The URL may contain an access token in its path or query string. Copy it in full, but never share the original link or a screenshot containing it when reporting an issue.

  1. Open the client's configuration or subscription page and choose Import from URL or a similarly named option. Menu names vary by app. Select the option that downloads a remote configuration, not one that adds a single proxy node.
  2. Paste the URL, save it, and wait for the client to download and parse the configuration. Open its details and check for the expected proxy groups or nodes, then select the configuration in the app. Seeing a subscription in the list does not mean it is active.
  3. Refresh it manually once to confirm the URL can retrieve the configuration again. If the app supports scheduled updates, follow your provider's recommended interval; don't assume iOS will refresh it on time in the background. Before making local changes you want to keep, check whether a refresh will overwrite them.

Import a Local YAML File from Files

If you already have a .yaml or .yml file, you can select it in the Files app. This is useful for transferring an existing configuration from a Mac or keeping a copy you can restore. A static file has no subscription update URL. Even if the client can update remote rules referenced in the file, that does not mean the main configuration will sync with your provider's subscription.

  1. Send the file from your Mac using AirDrop, or save it to iCloud Drive. On your iPhone, open Files → Browse and locate where it was saved. If it is in iCloud Drive and hasn't downloaded yet, tap it and wait until it is available before importing.
  2. In the client, choose Import from File and select the YAML file in the system file picker. Alternatively, in Files, touch and hold the file and tap Share, provided the client appears in the share sheet. If it doesn't, return to the client and use the file picker.
  3. Save and select the configuration. If the app reports a missing proxy group or rule, check the field name or line number in the import log, then determine whether the issue is invalid syntax or an unsupported feature. Renaming a .txt file to .yaml won't fix its contents.

Pay special attention to local paths carried over from a Mac. For example, if a rule file points to /Users/Shared/rules/local.yaml, an iPhone cannot access that directory on your Mac. Copying only the main YAML file will not include its dependencies. Import them as instructed in the iOS client's documentation, or ask the configuration provider for a compatible version instead of reusing desktop paths.

First Connection: Allow the VPN Configuration

  1. Check the active configuration and proxy group in the client, then tap Connect. Importing and connecting are separate steps: importing gives the app connection settings, while connecting requests that iOS enable its VPN.
  2. When iOS asks to add a VPN configuration, verify which app initiated the request, then tap Allow. Complete any further verification shown by the system. The request should come from the client you verified; you do not need to install a profile or root certificate from a website just to import a subscription.
  3. Return to the client and check the connection status. On iOS 18, you can also go to Settings → General → VPN & Device Management → VPN to check the corresponding entry. Menu names may vary by system language and version.

If you tapped Don't Allow, try connecting again from the client and see whether iOS asks again. If your device is managed by a school or company, VPN settings may be restricted by policy; contact your administrator. If another VPN or local network filtering app is running, check whether it can be paused, then test this connection on its own.

Connected but Can't Access the Internet? Troubleshoot Step by Step

Before importing again, note the current configuration name and proxy group selection. Change one thing at a time and retest the same website to tell whether the result came from a configuration update, a different node, or a rule match.

Download Clash