ONE Jailbreak Ad

How to compile Comet

Promotion image of How to compile Comet article.

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 Xcode_14.2.app 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/Xcode_14.2.app/Contents/Developer

or permanent

sudo xcode-select -switch /Applications/Xcode_14.2.app/Contents/Developer

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 https://github.com/ginsudev/Comet

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
Author Photo
Written by

Kuba has over 20 years of experience in journalism, focusing on jailbreak since 2012. He has interviewed professionals from various companies. Besides journalism, Kuba specializes in video editing and drone flying. He studied IT at university before his writing career.

Post a comment

Latest Posts

Workplace Issue Documentation with Ruby on Rails

Streamlining Workplace Issue Documentation with Ruby on Rails

It is therefore important to have a good method of documenting workplace issues because managing them requires efficiency. All can result to cases of detail loss, misplaced documents, and most importantly, delayed implementation of resolutions. A good system...

How to install and use RootHide Patcher

How to install and use RootHide Patcher

RootHide Patcher is an iOS application that allows users to convert rootless tweaks into arm64e format compatible with the RootHide Bootstrap. The best way to convert tweaks is to contact the developer of a package and ask him to update it for ...

How AI Makes Short-Form Video

How AI Makes Short-Form Video Creation Effortless

Short-form video content has taken the internet by storm, dominating platforms like TikTok, Instagram Reels, and YouTube Shorts. These quick, engaging videos are perfect for capturing attention and delivering impactful messages. However, creating...