Research Updated Apr 05, 2024

How to compile Comet

How to compile Comet

Comet is a developer framework designed specifically for crafting tweak preference panes using the power and elegance of pure SwiftUI. This advanced framework streamlines the process, enabling you to effortlessly develop sleek and efficient preference panes for your applications and jailbreak tweaks. Preference panes serve as a user-friendly interface, providing convenient access to tweak settings, feature configurations, and more, enhancing the overall user experience.

Originally developed for ginsudev tweaks such as Dodo and DualClock, this preference pane framework has evolved into an open-source project, attracting the attention of other developers who have harnessed its potential. Comet framework has become integral to various tools and tweaks within the iOS jailbreaking community, including its adoption by prominent platforms like the Sileo and projects such as RootHide Jailbreak, PinAnim, Pinnacle, and cardculator.

All these projects are conveniently listed on GitHub, showcasing the collaborative spirit of the community. They serve as valuable resources for learning how to create preference panes using the Comet framework. If you're eager to delve deeper into the framework and its installation process as a Theos template, you can find comprehensive guidance in the official Comet GitHub Repository's guide. Explore and unlock the potential of Comet for your own projects.

Screenshot of Comet framework build process in terminal app.

How to build Comet for theos

To successfully compile Comet, you need to utilize the iOS 16.2 SDK provided by Xcode 14.2. Attempting to compile Comet with an older version of Xcode will result in a failure.

To compile Comet for theos, follow the steps:

Step 1. Install theos on your PC, Mac, or iOS device following our guide.

Step 2. Install iPhoneOS16.2.sdk by downloading Xcode 14.2 directly from Apple servers. You will need to authenticate with your Apple ID to download.

Step 3. Open the terminal app and extract Xcode_14.2.xip with the following command. After extraction, rename the app to not conflict with your primary installation of Xcode.

xip -x Xcode_14.2.xip

Step 4. Move to the Applications folder.

Step 5. Change your selected Xcode command line tools version. The following command will temporarily change your command line tools version for just this terminal session.

export DEVELOPER_DIR=/Applications/

or permanent

sudo xcode-select -switch /Applications/

If you need to use the latest Xcode toolchain from the command line, use --reset:

sudo xcode-select --reset

Step 6. Clone the Comet repository from GitHub to your computer.

git clone

Step 7. Open the Comet folder.

cd Comet

Step 8. Compile Comet following the 'make' command and install it to theos.

make spm
make package ROOTLESS=1

Step 9. Verify installation of the Comet.framework rootless into theos lib folder. The output should list the contents of the directory, with a directory (framework) - "Comet.framework".

ls $THEOS/lib/iphone/rootless/

Step 10. To compile Comet.framework for rootful jailbreaks remove rootless paramatr.

make spm
make package

Sponsored links

Post a comment

Latest Posts




Semaphorin originated from johndoe123's iOS 7 Tethered Downgrade guide and has evolved into a solution for downgrading A7, A8, A8X, and A9 devices, including iPhone 5s, iPhone 6, iPhone 6s, and iPhone SE (2016) to versions ranging from iOS...

iCloud Bypass

HFZ Ramdisk Universal

HFZ Ramdisk Universal

Checkm8 exploit serves various functions, including jailbreaking, enabling dual OS, or bypassing the iCloud Activation screen. It achieves this by permitting code execution exclusively when you connect your iPhone in DFU mode to your PC via a USB...

iCloud Bypass

SkynetTool AIO

SkynetTool AIO

Discover a range of comprehensive All-In-One solutions designed to bypass iCloud and offer a variety of other features. One such recent release is SkynetTool AIO, a powerful tool that provides everything you need to manage your iPhone. This tool...