zouxian  by CatMe0w

Enables Apple Intelligence + Xcode code completion on Chinese Macs

created 1 year ago
910 stars

Top 40.8% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a persistent solution to enable Apple Intelligence and Xcode Predictive Code Completion on Mac computers originally sold in China, which are otherwise geo-restricted. It targets users of Chinese-market Macs who wish to access these advanced AI features, regardless of their current location.

How It Works

The solution works by installing a launchd daemon that overrides system eligibility checks for Apple Intelligence and Xcode's LLM features. This bypasses the region-locking mechanism imposed by Apple, allowing users to leverage these AI capabilities. The method is based on a guide by Cyandev and aims for persistence across reboots.

Quick Start & Requirements

  • Installation: Via Homebrew: brew install catme0w/tap/zouxian followed by sudo brew services start zouxian. Manual installation involves downloading a script and a plist file.
  • Prerequisites: System Integrity Protection (SIP) must have debugging restrictions disabled (csrutil enable --without debug). For Apple Intelligence, a non-China Apple ID, US region, and English (US) language are required. Xcode must be installed and run once for predictive code completion.
  • Links: Homebrew Formula

Highlighted Details

  • Enables Apple Intelligence and Xcode Predictive Code Completion on geo-restricted Chinese Mac models.
  • Persistent solution that survives reboots.
  • Based on established methods for bypassing Apple's restrictions.

Maintenance & Community

The project acknowledges several contributors, including Kyle-Ye, Cyandev, Lakr233, Sou1gh0st, and Yuriko.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: Permissive for commercial use and integration with closed-source projects.

Limitations & Caveats

Disabling SIP reduces system security and may render iOS apps and Apple Pay unusable. The project's compatibility with future macOS versions beyond macOS 15.4 Beta 1 is not guaranteed, as indicated by the version table.

Health Check
Last commit

5 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
1
Star History
64 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.