diff --git a/Entitlements_iOS11.plist b/Entitlements_iOS11.plist new file mode 100644 index 0000000..c3ba69c --- /dev/null +++ b/Entitlements_iOS11.plist @@ -0,0 +1,20 @@ + + + + + com.apple.springboard.launchapplications + + platform-application + + get-task-allow + + proc_info-allow + + task_for_pid-allow + + run-unsigned-code + + com.apple.system-task-ports + + + diff --git a/Makefile b/Makefile index 2ff51b3..c559de5 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,26 @@ TARGET := iphone:clang:latest:5.0 ARCHS := armv7 armv7s arm64 +DEBUG = 0 -include theos/makefiles/common.mk +SDKVERSION = 9.2 +export SYSROOT = $(THEOS)/sdks/iPhoneOS9.2.sdk + +include $(THEOS)/makefiles/common.mk TOOL_NAME = open open_FILES = open.m open_PRIVATE_FRAMEWORKS = SpringBoardServices open_CODESIGN_FLAGS = -SEntitlements.plist -include $(THEOS_MAKE_PATH)/tool.mk +include $(THEOS)/makefiles/tool.mk + + +all:: + # Resign it manually by jtool(http://www.newosxbook.com/tools/jtool.html) + ./jtool --sign --ent ./Entitlements_iOS11.plist .theos/obj/arm64/open + mv out.bin .theos/obj/arm64/open + ./jtool --sign --ent ./Entitlements.plist .theos/obj/armv7/open + mv out.bin .theos/obj/armv7/open + ./jtool --sign --ent ./Entitlements.plist .theos/obj/armv7s/open + mv out.bin .theos/obj/armv7s/open + lipo -create .theos/obj/arm64/open .theos/obj/armv7/open .theos/obj/armv7s/open -output .theos/open \ No newline at end of file diff --git a/README b/README deleted file mode 100644 index 3fd6c0b..0000000 --- a/README +++ /dev/null @@ -1 +0,0 @@ -Opens apps from the commandline diff --git a/README.md b/README.md new file mode 100644 index 0000000..13212b4 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +Opens apps from the commandline + +------ + +2018 0713 Commited + +Fix iOS 11 crashing (killed 9) + diff --git a/jtool b/jtool new file mode 100755 index 0000000..362d0da Binary files /dev/null and b/jtool differ