Skip to content

Commit 089595e

Browse files
committed
Sandbox fix (tested on iOS 16)
1 parent c3f0efa commit 089595e

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ endif
2525
include $(THEOS_MAKE_PATH)/application.mk
2626

2727
ifeq ($(PACKAGE_FORMAT),ipa)
28-
after-package:: clean
28+
after-package::
2929
cp $(THEOS_PROJECT_DIR)/$(THEOS_PACKAGE_DIR)/$(THEOS_PACKAGE_NAME)_$(PACKAGE_VERSION).ipa $(THEOS_PROJECT_DIR)/$(IPA_NAME).tipa
3030
endif

build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ make clean
66
make package FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless
77
make clean
88
make package FINALPACKAGE=1
9+
10+
make clean
11+
make package FINALPACKAGE=1 PACKAGE_FORMAT=ipa
912
make clean
10-
make package FINALPACKAGE=1 PACKAGE_FORMAT=ipa
13+
make package FINALPACKAGE=1 PACKAGE_FORMAT=ipa UNSANDBOX=1

entitlements.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,15 @@
1919
</array>
2020
<key>com.apple.security.exception.mach-lookup.global-name</key>
2121
<array>
22+
<string>com.apple.applecamerad</string>
2223
<string>com.apple.appleh6camerad</string>
2324
<string>com.apple.appleh9camerad</string>
2425
<string>com.apple.appleh10camerad</string>
2526
<string>com.apple.appleh13camerad</string>
2627
</array>
28+
<key>sysctl-read</key>
29+
<array>
30+
<string>kern.bootargs</string>
31+
</array>
2732
</dict>
2833
</plist>

0 commit comments

Comments
 (0)