Skip to content

Commit

Permalink
Simulator bundles too.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnno1962 authored and oryonatan committed Nov 30, 2023
1 parent b055aa0 commit bbb252f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
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>7917</string>
<string>7918</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
Expand Down
6 changes: 5 additions & 1 deletion InjectionIII/copy_bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
#
if [ "$CONFIGURATION" == "Debug" ]; then
RESOURCES="$(dirname "$0")"
BUNDLE=${1:-maciOSInjection}
if [ "$PLATFORM_NAME" == "iphonesimulator" ]; then
BUNDLE=${1:-iOSInjection}
else
BUNDLE=${1:-maciOSInjection}
fi
COPY="$CODESIGNING_FOLDER_PATH/iOSInjection.bundle"
rsync -a "$RESOURCES/$BUNDLE.bundle"/* "$COPY/" &&
/usr/libexec/PlistBuddy -c "Add :UserHome string $HOME" "$COPY/Info.plist" &&
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ and, in your application execute the following code on startup:
Bundle(path: path)!.load()
}
```
See the README for that project for details on how to debug
See the [HotReloading project README](https://github.com/johnno1962/HotReloading) for details on how to debug
having your program connect to the InjectionIII.app (which
runs on the menu bar). You will also need to select the project
directory for the file watcher manually from the pop-down menu.
Expand Down

0 comments on commit bbb252f

Please sign in to comment.