bryce-co / XPCActivityRun

Run XPC Activities On Demand

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XPCActivityRun

A command line tool for jailbroken devices that allows you to manually trigger XPC Activities.

Best paired with this post on bryce.co for background context and a walkthrough of the initial implementation.

Usage

$ xpc-activity-run
Usage: xpcactivityrun [activity name 1] [activity name 2] [...]

# Example:
$ xpc-activity-run com.apple.CacheDelete.daily

The above example will cause the XPC Activity named com.apple.CacheDelete.daily (implemented by deleted) to run immediately, regardless of schedule or activity criteria.

Building

Prerequisites

Install Theos and ldid. As noted above, you will also need a jailbroken device to run the tool.

Build

make package

Installation

If you have THEOS_DEVICE_IP and THEOS_DEVICE_PORT set (see Theos setup) :

make package install

Otherwise, you can copy the .deb file created by make package onto your device and install manually with dpkg.

About

Run XPC Activities On Demand


Languages

Language:Logos 45.6%Language:Objective-C 45.0%Language:Makefile 9.4%