From dfc683f98c1ef7120d322dc476eea4746f866766 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 27 Jun 2025 12:58:20 +0800 Subject: [PATCH] gh-135968: Add iOS binary stubs for strip (GH-135970) Adds iOS binary stubs for invoking `strip` (cherry picked from commit 0c6c09b7377e10dcf80844c961b578fbdc6f5375) Co-authored-by: Russell Keith-Magee --- .../Tools-Demos/2025-06-26-15-58-13.gh-issue-135968.C4v_-W.rst | 1 + iOS/Resources/bin/arm64-apple-ios-simulator-strip | 2 ++ iOS/Resources/bin/arm64-apple-ios-strip | 2 ++ iOS/Resources/bin/x86_64-apple-ios-simulator-strip | 2 ++ 4 files changed, 7 insertions(+) create mode 100644 Misc/NEWS.d/next/Tools-Demos/2025-06-26-15-58-13.gh-issue-135968.C4v_-W.rst create mode 100755 iOS/Resources/bin/arm64-apple-ios-simulator-strip create mode 100755 iOS/Resources/bin/arm64-apple-ios-strip create mode 100755 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 "$@"