ONE Jailbreak Ad

How to compile AltList

Promotion image of How to compile AltList article.

AltList, created by Lars Fröder, is an alternative to AppList, offering developers a swift means to access the roster of installed apps and seamlessly integrate a preferences pane based on this data. Diverging from AppList, AltList boasts exceptional levels of customization, empowering users to tailor aspects according to their preferences effortlessly. Should the need arise for adaptation, developers can simply craft a subclass and delineate specific modifications, fostering unparalleled flexibility and convenience.

This framework spans compatibility across iOS versions, ranging from iOS 7 to iOS 17, ensuring seamless integration with both rootful and rootless jailbreaks. It has garnered popularity among developers seeking to augment tweaks and applications within a jailbroken environment, particularly those requiring access to the device's installed applications.

AltList offers robust customization capabilities, enabling users to precisely specify the sections of apps they wish to display. Furthermore, it comes equipped with several pre-defined section types, tailored to suit diverse requirements. These include options such as showcasing all applications, encompassing hidden ones, system applications, user-installed applications, hidden applications, and a category for visible apps, combining system and user-installed ones.

Screenshot of AltList build process in terminal app.

Among the latest tweaks to emerge leveraging the AltList framework is Pinnacle. This modern jailbreak tweak for iOS 16 – iOS 16.7.7 capitalizes on the functionalities offered by AltList, showcasing its adaptability and utility within the jailbreak community.

Notably, AltList was initially introduced under the MIT license, providing developers with open access to its resources. Its comprehensive documentation is readily accessible via the GitHub Repository, empowering users with the necessary insights to maximize its potential.

How to build AltList for theos

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

To compile a AltList 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 AltList repository from GitHub to your computer.

git clone https://github.com/opa334/AltList

Step 7. Open the AltList folder.

cd AltList

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

chmod +x ./install_to_theos.sh && chmod +x ./install_to_theos.sh

or manually...

make clean
make FINALPACKAGE=1

Step 9. Copy the generated AltList.framework into theos lib folder.

cp -Rv "./.theos/obj/AltList.framework" "$THEOS/lib"

Step 10. Compile the AltList for rootless tweaks.

make clean
make FINALPACKAGE=1 THEOS_PACKAGE_SCHEME=rootless

Step 11. Copy the generated AltList.framework rootless into theos folder.

mkdir -p "$THEOS/lib/iphone/rootless/lib"
cp -Rv "./.theos/obj/AltList.framework" "$THEOS/lib/iphone/rootless"
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

Nugget

Nugget unlocks your iPhones full potential on iOS 17.0

LeminLimez released a new project that allows users to activate some hidden iOS features on iOS 17.0. I took a look into Nugget, an open-source software that promises to enable Dynamic Island, Always On Display, set device model name, disable region restrictions...

Essential Tips to Secure Your iOS Devices

Essential Tips to Secure Your iOS Devices

It’s never been more important to secure your iOS devices. iPhones and iPads are rapidly becoming every part of our daily lives, and with it the growing amount of sensitive information stored on these devices. Our devices full of data, ranging from...

RDAR Dynamic Island fix for iOS

How to Fix Dynamic Island RDAR Error 45025538 Issue on iPhone

When you enable Dynamic Island on unsupported devices, you might notice a "rdar" error, which appears as a red bar at the top of the screen. This happens because of a resolution change when activating Dynamic Island on iOS 17.0 to 18.0. The issue mainly...