Skip to content

Instantly share code, notes, and snippets.

@jaoye
Last active April 11, 2019 03:18
Show Gist options
  • Save jaoye/c69eec98289f907acca80f04b677e0ed to your computer and use it in GitHub Desktop.
Save jaoye/c69eec98289f907acca80f04b677e0ed to your computer and use it in GitHub Desktop.
[TheOS Command Line iOS 11 Killed: 9 crashing] #TheOS #iOSHook

添加 Entitlements.plist 的配置

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.springboard.launchapplications</key>
	<true/>
+	<key>platform-application</key>
+	<true/>
+	<key>get-task-allow</key>
+	<true/>
+	<key>proc_info-allow</key>
+	<true/>
+	<key>task_for_pid-allow</key>
+	<true/>
+	<key>run-unsigned-code</key>
+	<true/>
+	<key>com.apple.system-task-ports</key>
+	<true/>
</dict>
</plist>

Makefile 添加签名配置

applaunch_CODESIGN_FLAGS = -SEntitlements.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment