Skip to content

gh-146498: Ensure binary content is correctly processed in multi-arch iOS XCframeworks - #146499

Merged
freakboy3742 merged 2 commits into
python:mainfrom
freakboy3742:xcframework-libpython
Mar 27, 2026
Merged

freakboy3742 merged 2 commits into
python:mainfrom
freakboy3742:xcframework-libpython

Conversation

@freakboy3742

@freakboy3742 freakboy3742 commented Mar 26, 2026 •

Copy link
Copy Markdown
Contributor

Modifies the iOS XCframework processing script so that:

  1. The libpython dylib is explicitly excluded from being copied, no matter whether the framework is thin or multi-arch
  2. The identification mechanism that looks for the standard library is more robust to additional content in the folder.

@ned-deily ned-deily left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM without testing

@freakboy3742
freakboy3742 merged commit 5684b3a into python:main Mar 27, 2026
33 checks passed
@freakboy3742
freakboy3742 deleted the xcframework-libpython branch March 27, 2026 01:56
@miss-islington-app

Copy link
Copy Markdown

Thanks @freakboy3742 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 27, 2026
…i-arch iOS XCframeworks (pythonGH-146499)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
@bedevere-app

bedevere-app Bot commented Mar 27, 2026

Copy link
Copy Markdown

GH-146502 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Mar 27, 2026
freakboy3742 added a commit that referenced this pull request Mar 27, 2026
…ti-arch iOS XCframeworks (GH-146499) (#146502)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
clin1234 pushed a commit to clin1234/cpython that referenced this pull request Apr 16, 2026
…i-arch iOS XCframeworks (python#146499)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
…i-arch iOS XCframeworks (python#146499)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Jun 12, 2026
…in multi-arch iOS XCframeworks (pythonGH-146499) (python#146502)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Jun 12, 2026
…in multi-arch iOS XCframeworks (pythonGH-146499) (python#146502)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Jun 12, 2026
…in multi-arch iOS XCframeworks (pythonGH-146499) (python#146502)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Oct 2, 2026
…in multi-arch iOS XCframeworks (pythonGH-146499) (python#146502)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Oct 2, 2026
…in multi-arch iOS XCframeworks (pythonGH-146499) (python#146502)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Oct 2, 2026
…in multi-arch iOS XCframeworks (pythonGH-146499) (python#146502)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Oct 12, 2026
…in multi-arch iOS XCframeworks (pythonGH-146499) (python#146502)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull request Oct 12, 2026
…in multi-arch iOS XCframeworks (pythonGH-146499) (python#146502)

Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants