Skip to content

Add iPhone/iPad (iOS) support#1

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/make-it-work-on-iphone
Draft

Add iPhone/iPad (iOS) support#1
Copilot wants to merge 2 commits intomainfrom
copilot/make-it-work-on-iphone

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 8, 2026

GitHub Copilot CLI had no iOS support — the install script would silently misidentify an iOS device as macOS and attempt to run an incompatible Darwin binary.

Changes

  • install.sh: Detect iOS early in the Darwin branch via sysctl -n kern.ostype (returns "iOS" on iOS, "Darwin" on macOS). On iOS, exit with a clear message directing users to npm install -g @github/copilot instead of proceeding with an incompatible binary download.

    if [ "$(sysctl -n kern.ostype 2>/dev/null)" = "iOS" ]; then
      echo "iPhone/iPad (iOS) detected. The install script does not support iOS directly."
      echo "Please install via npm instead:"
      echo "  npm install -g @github/copilot"
      exit 1
    fi
  • README.md: Added iPhone/iPad (iOS) to the supported platforms list; updated the npm install description to include iPhone; added a dedicated iPhone/iPad installation section referencing a-Shell as a compatible terminal app with a note that the curl/wget script path is unsupported on iOS.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: papontos <59999860+papontos@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix compatibility issues for iPhone Add iPhone/iPad (iOS) support Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants