Skip to content

Commit

Permalink
Tidy-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnno1962 committed Jan 18, 2024
1 parent 18c7ace commit 0ec7d77
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion HotReloading
2 changes: 1 addition & 1 deletion InjectionIII/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>7974</string>
<string>7981</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down
6 changes: 4 additions & 2 deletions InjectionIII/build_bundles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Created by John Holdsworth on 04/10/2019.
# Copyright © 2019 John Holdsworth. All rights reserved.
#
# $Id: //depot/ResidentEval/InjectionIII/build_bundles.sh#83 $
# $Id: //depot/ResidentEval/InjectionIII/build_bundles.sh#84 $
#

# Injection has to assume a fixed path for Xcode.app as it uses
Expand Down Expand Up @@ -42,12 +42,14 @@ function build_bundle () {
}

#build_bundle macOS MacOSX macosx &&
if [ "$(hostname)" != "Johns-MacBook-Air.local" ]; then
build_bundle xrOS XRSimulator xrsimulator
fi
build_bundle iOS iPhoneSimulator iphonesimulator &&
build_bundle tvOS AppleTVSimulator appletvsimulator &&

# iphoneos on M1 mac (requires Sandbox switched off)
build_bundle maciOS iPhoneOS iphoneos &&
build_bundle xrOS XRSimulator xrsimulator &&

# CWE-22 / CVE-2023-26111 with node-static (npm) <= 0.7.11 (not used)
rm "$CODESIGNING_FOLDER_PATH/Contents/Resources/CodeMirror/package.json" &&
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ always look like this:
You can leave these modifications in your production code as,
for a `Release` build they optimise out to a no-op.

### On-device injection
### Injection on an iOS device

This can work but you will need to actually run one of the [github
4.8.0+ releases](https://github.com/johnno1962/InjectionIII/releases)
Expand Down Expand Up @@ -163,7 +163,8 @@ directory for the file watcher manually from the pop-down menu.

### Injection on macOS

It works but you need to temporarily turn off the "app sandbox" and "library validation" under the "hardened runtime" during development
It works but you need to temporarily turn off the "app sandbox" and
"library validation" under the "hardened runtime" during development
so it can dynamically load code.

### How it works
Expand Down Expand Up @@ -289,4 +290,4 @@ for the code to be evaluated using injection under an MIT license.

The fabulous app icon is thanks to Katya of [pixel-mixer.com](http://pixel-mixer.com/).

$Date: 2024/01/11 $
$Date: 2024/01/18 $

0 comments on commit 0ec7d77

Please sign in to comment.