Skip to main content

Model Registry URL

Models auto-download from HuggingFace by default. You can override this to use a mirror, local server, or air-gapped environment.

Xcode Scheme

  1. Edit Scheme > Run > Arguments
  2. Go to Environment Variables tab
  3. Add: REGISTRY_URL = https://your-mirror.example.com
Priority order: programmatic override > env vars > default (HuggingFace)

Proxy Configuration

If you’re behind a corporate firewall, set the https_proxy environment variable:

When to Use Which

Registry URL — App requests from your-mirror.com instead of huggingface.co. Proxy — App still requests huggingface.co, but traffic routes through the proxy. In most cases, you only need one.