6
6
# Created by John Holdsworth on 04/10/2019.
7
7
# Copyright © 2019 John Holdsworth. All rights reserved.
8
8
#
9
- # $Id: //depot/ResidentEval/InjectionIII/build_bundles.sh#82 $
9
+ # $Id: //depot/ResidentEval/InjectionIII/build_bundles.sh#83 $
10
10
#
11
11
12
12
# Injection has to assume a fixed path for Xcode.app as it uses
@@ -47,6 +47,7 @@ build_bundle tvOS AppleTVSimulator appletvsimulator &&
47
47
48
48
# iphoneos on M1 mac (requires Sandbox switched off)
49
49
build_bundle maciOS iPhoneOS iphoneos &&
50
+ build_bundle xrOS XRSimulator xrsimulator &&
50
51
51
52
# CWE-22 / CVE-2023-26111 with node-static (npm) <= 0.7.11 (not used)
52
53
rm " $CODESIGNING_FOLDER_PATH /Contents/Resources/CodeMirror/package.json" &&
@@ -64,6 +65,6 @@ for thing in Modules Resources Headers; do
64
65
done &&
65
66
66
67
# This seems to be a bug producing .swiftinterface files.
67
- perl -pi.bak -e ' s/SwiftTrace.(Swift(Trace|Meta)|dyld_interpose_tuple|rebinding)/$1/g' $CODESIGNING_FOLDER_PATH /Contents/Resources/{macOSInjection.bundle/Contents,{i,maci,tv}OSInjection.bundle}/Frameworks/SwiftTrace.framework/Modules/* /* .swiftinterface &&
68
- perl -pi.bak -e ' s@(import _Concurrency)@// $1@g' $CODESIGNING_FOLDER_PATH /Contents/Resources/{macOSInjection.bundle/Contents,{i,maci,tv}OSInjection.bundle}/Frameworks/SwiftTrace.framework/Modules/* /* .swiftinterface &&
68
+ perl -pi.bak -e ' s/SwiftTrace.(Swift(Trace|Meta)|dyld_interpose_tuple|rebinding)/$1/g' $CODESIGNING_FOLDER_PATH /Contents/Resources/{macOSInjection.bundle/Contents,{i,maci,tv,xr }OSInjection.bundle}/Frameworks/SwiftTrace.framework/Modules/* /* .swiftinterface &&
69
+ perl -pi.bak -e ' s@(import _Concurrency)@// $1@g' $CODESIGNING_FOLDER_PATH /Contents/Resources/{macOSInjection.bundle/Contents,{i,maci,tv,xr }OSInjection.bundle}/Frameworks/SwiftTrace.framework/Modules/* /* .swiftinterface &&
69
70
find $CODESIGNING_FOLDER_PATH /Contents/Resources/* .bundle -name ' *.bak' -delete
0 commit comments