]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-135968: Add iOS binary stubs for strip (#135970)
authorRussell Keith-Magee <russell@keith-magee.com>
Fri, 27 Jun 2025 04:58:20 +0000 (12:58 +0800)
committerGitHub <noreply@github.com>
Fri, 27 Jun 2025 04:58:20 +0000 (12:58 +0800)
Adds iOS binary stubs for invoking `strip`

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 "$@"