AloneMonkey / MonkeyDev
- пятница, 14 июля 2017 г. в 03:14:20
CaptainHook Tweak、Logos Tweak and Command-line Tool、Patch iOS Apps, Without Jailbreak.
A modified version of iOSOpenDev
run with the latest theos and Xcode 9 is ok。
ssh-keygen -t rsa -P ''
ssh-copy-id -i /Users/username/.ssh/id_rsa root@ip
select the Xcode to install:
sudo xcode-select -s /Applications/Xcode-beta.app
default Xcode to install:
xcode-select -p
install:
git clone https://github.com/AloneMonkey/MonkeyDev.git
cd MonkeyDev/bin
sudo ./md-install
Create a new project, Select a template to start。
Compile: Commonand + B
Install:
MonkeyDevInstallOnAnyBuild to YES, then Commonand + B with DebugCommand + Shift + i with Release, disable log printCustom Build Settings:
default value:
ip: localhost
port: 22
The Bash profile file also can export variable。
~/.zshrc or ~/.bash_profile or others.
export MonkeyDevDeviceIP=
export MonkeyDevDevicePort=
use idevicesyslog to show log print.
| setting | meaning |
|---|---|
| MonkeyDevBuildPackageOnAnyBuild | create package on any type of build. |
| MonkeyDevCopyOnBuild | during any build, copy the target (executable) to the device at /var/root/iOSOpenDevBuilds/ |
| MonkeyDevDeviceIP | the host name (e.g. MyiPhone.local) or IP address (e.g. 192.168.1.101) of the device you wish to use during development. |
| MonkeyDevDevicePort | connect port of the device |
| MonkeyDevInstallOnAnyBuild | install the package on the device on any type of build. |
| MonkeyDevInstallOnProfiling | during a Build For Profiling (Command-Shift-I or Product > Build For > Build For Profiling), build the project's Debian package, copy the package to the device at /var/root/MonkeyDevPackages (using SSH) and install the package (using SSH and running dpkg locally on the device) |
| MonkeyDevRespringOnInstall | after the Debian package has been built and installed, respring (i.e. kill and relaunch SpringBoard) the device. |
| MonkeyDevUsePackageVersionPList | It indicates whether to use the target's PackageVersion.plist file to set the Debian package's control file's Version field only. |
| MonkeyDevPath | Do not change this. This is the path to MonkeyDev which is used by other build settings. |
| MonkeyDevTheosPath | the path to theos installed |
sudo ./md-uninstall
v 1.0