]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-135968: Add iOS binary stubs for strip (GH-135970) (#136014)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 27 Jun 2025 05:24:55 +0000 (07:24 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Jun 2025 05:24:55 +0000 (05:24 +0000)
Adds iOS binary stubs for invoking `strip`
(cherry picked from commit 0c6c09b7377e10dcf80844c961b578fbdc6f5375)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Misc/NEWS.d/next/Tools-Demos/2025-06-26-15-58-13.gh-issue-135968.C4v_-W.rst [new file with mode: 0644]
iOS/Resources/bin/arm64-apple-ios-simulator-strip [new file with mode: 0755]
iOS/Resources/bin/arm64-apple-ios-strip [new file with mode: 0755]
iOS/Resources/bin/x86_64-apple-ios-simulator-strip [new file with mode: 0755]

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 (file)
index 0000000..1c0b382
--- /dev/null
@@ -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 (executable)
index 0000000..fd59d30
--- /dev/null
@@ -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 (executable)
index 0000000..75e823a
--- /dev/null
@@ -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 (executable)
index 0000000..c5cfb28
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+xcrun --sdk iphonesimulator${IOS_SDK_VERSION} strip -arch x86_64 "$@"