https://github.com/python/cpython/commit/0c6c09b7377e10dcf80844c961b578fbdc6f5375
commit: 0c6c09b7377e10dcf80844c961b578fbdc6f5375
branch: main
author: Russell Keith-Magee <[email protected]>
committer: freakboy3742 <[email protected]>
date: 2025-06-27T12:58:20+08:00
summary:

gh-135968: Add iOS binary stubs for strip (#135970)

Adds iOS binary stubs for invoking `strip`

files:
A Misc/NEWS.d/next/Tools-Demos/2025-06-26-15-58-13.gh-issue-135968.C4v_-W.rst
A iOS/Resources/bin/arm64-apple-ios-simulator-strip
A iOS/Resources/bin/arm64-apple-ios-strip
A iOS/Resources/bin/x86_64-apple-ios-simulator-strip

diff --git 
a/Misc/NEWS.d/next/Tools-Demos/2025-06-26-15-58-13.gh-issue-135968.C4v_-W.rst 
b/Misc/NEWS.d/next/Tools-Demos/2025-06-26-15-58-13.gh-issue-135968.C4v_-W.rst
new file mode 100644
index 00000000000000..1c0b3825c71c1d
--- /dev/null
+++ 
b/Misc/NEWS.d/next/Tools-Demos/2025-06-26-15-58-13.gh-issue-135968.C4v_-W.rst
@@ -0,0 +1 @@
+Stubs for ``strip`` are now provided as part of an iOS install.
diff --git a/iOS/Resources/bin/arm64-apple-ios-simulator-strip 
b/iOS/Resources/bin/arm64-apple-ios-simulator-strip
new file mode 100755
index 00000000000000..fd59d309b73a20
--- /dev/null
+++ b/iOS/Resources/bin/arm64-apple-ios-simulator-strip
@@ -0,0 +1,2 @@
+#!/bin/sh
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} strip -arch arm64 "$@"
diff --git a/iOS/Resources/bin/arm64-apple-ios-strip 
b/iOS/Resources/bin/arm64-apple-ios-strip
new file mode 100755
index 00000000000000..75e823a3d02d61
--- /dev/null
+++ b/iOS/Resources/bin/arm64-apple-ios-strip
@@ -0,0 +1,2 @@
+#!/bin/sh
+xcrun --sdk iphoneos${IOS_SDK_VERSION} strip -arch arm64 "$@"
diff --git a/iOS/Resources/bin/x86_64-apple-ios-simulator-strip 
b/iOS/Resources/bin/x86_64-apple-ios-simulator-strip
new file mode 100755
index 00000000000000..c5cfb28929195a
--- /dev/null
+++ b/iOS/Resources/bin/x86_64-apple-ios-simulator-strip
@@ -0,0 +1,2 @@
+#!/bin/sh
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} strip -arch x86_64 "$@"

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to