Skip to content

Add mechanism for building iOS XCframeworks #138171

Description

@freakboy3742

Feature or enhancement

Proposal:

CPython can be configured to build an iOS Framework; however, the redistributable unit of pre-compiled code on iOS is an XCframework that contains a "slice" for each supported ABI (device and simulator).

The construction of an XCframework is currently documented in the iOS/README.rst, but these instructions should be codified so there is a simple interface to build and test an iOS XCframework.

This script would be an analog of the script used to build and test Android release products.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. self-assigned this
    on Aug 27, 2025
  2. changed the title [-]Add mechansism for building iOS XCframeworks[/-] [+]Add mechanism for building iOS XCframeworks[/+] on Aug 27, 2025
  3. added a commit that references this issue on Sep 19, 2025
  4. added a commit that references this issue on Sep 21, 2025
  5. added a commit that references this issue on Sep 28, 2025
  6. added a commit that references this issue on Sep 29, 2025
  7. added a commit that references this issue on Oct 8, 2025
  8. machathc-dev commented on Oct 21, 2025

    @machathc-dev

    how please show me

  9. mhsmith commented on Oct 21, 2025

    @mhsmith
    Member

    If you want to run Python on iOS, you should start with BeeWare or Kivy, rather than trying to build it yourself.

  10. freakboy3742 commented on Oct 21, 2025

    @freakboy3742
    ContributorAuthor

    Agreed that if you want to use Python on iOS, building it yourself is almost certainly not what you want to do; but if you do need to compile it for some reason, the iOS README contains details.

  11. added 4 commits that reference this issue on Feb 3, 2026
  12. added 3 commits that reference this issue on Jun 12, 2026
  13. added 3 commits that reference this issue on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions