Skip to content

Commit 312ee77

Browse files
committed
Simulator ADD_INSTALL_NAME when archiving.
1 parent f96f240 commit 312ee77

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

App/InjectionNext.xcodeproj/project.pbxproj

+2
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,7 @@
862862
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2024 John Holdsworth. All rights reserved.";
863863
INFOPLIST_KEY_NSPrincipalClass = "";
864864
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles";
865+
LD_DYLIB_INSTALL_NAME = "/Applications/InjectionNext.app/Contents/Resources/lib$(PLATFORM_NAME)Injection.dylib";
865866
LD_RUNPATH_SEARCH_PATHS = (
866867
"$(inherited)",
867868
$PLATFORM_DIR/Developer/usr/lib,
@@ -903,6 +904,7 @@
903904
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2024 John Holdsworth. All rights reserved.";
904905
INFOPLIST_KEY_NSPrincipalClass = "";
905906
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles";
907+
LD_DYLIB_INSTALL_NAME = "/Applications/InjectionNext.app/Contents/Resources/lib$(PLATFORM_NAME)Injection.dylib";
906908
LD_RUNPATH_SEARCH_PATHS = (
907909
"$(inherited)",
908910
$PLATFORM_DIR/Developer/usr/lib,

App/InjectionNext/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>11316</string>
22+
<string>11320</string>
2323
<key>LSApplicationCategoryType</key>
2424
<string>public.app-category.developer-tools</string>
2525
<key>LSMinimumSystemVersion</key>

App/InjectionNext/build_bundles.sh

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function build_bundle () {
2727

2828
ADD_INSTALL_NAME=""
2929
if [[ ${FAMILY} =~ Dev ]]; then
30+
# real devices require a copy_bundle.sh build phase
3031
ADD_INSTALL_NAME="LD_DYLIB_INSTALL_NAME=@rpath/lib${SDK}Injection.dylib"
3132
fi
3233
"$DEVELOPER_BIN_DIR"/xcodebuild SYMROOT=$SYMROOT ARCHS="$ARCHS" $APP_SANDBOXED PRODUCT_NAME="${FAMILY}Injection" LD_RUNPATH_SEARCH_PATHS="@loader_path/Frameworks @loader_path/${FAMILY}Injection.bundle/Frameworks $SWIFT_DYLIBS_PATH $CONCURRENCY_DYLIBS $XCTEST_FRAMEWORK_PATH $XCTEST_SUPPORT_PATH" $ADD_INSTALL_NAME PLATFORM_DIR="$DEVELOPER_DIR/Platforms/$PLATFORM.platform" -sdk $SDK -config $BUNDLE_CONFIG -target InjectionBundle &&

App/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 John Holdsworth
3+
Copyright (c) 2024 John Holdsworth
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)