An open API service indexing awesome lists of open source software.

https://github.com/lessica/xcodeanytroll

Run app from Xcode, without any code signature, but with any entitlements. Based on TrollStore.
https://github.com/lessica/xcodeanytroll

Last synced: about 1 month ago
JSON representation

Run app from Xcode, without any code signature, but with any entitlements. Based on TrollStore.

Awesome Lists containing this project

README

          

# XcodeAnyTroll

**⚠️ This is a developer tweak. Use with caution.**

This jailbreak tweak allows you to “click-to-run” (and debug) app directly from Xcode without code signing or with any entitlements.

Which makes it super easy to develop TrollStore based system apps, or to test your own apps without the need to sign them with a developer certificate.

Tested on iOS 15.0/15.4/16.2/16.4/16.5.1/16.7.10/18.3 with [palera1n](https://palera.in), [Dopamine](https://ellekit.space/dopamine) and [Dopamine (RootHide)](https://github.com/roothide/Dopamine2-roothide) jailbreaks. TrollStore is required.

https://github.com/user-attachments/assets/36af81b7-724b-4fb7-b29e-0e71235c2edd

## How to use?

0. Prepare your jailbroken iOS device for development.
1. Install this tweak from
2. Open Xcode and modify the target settings of your app: `CODE_SIGNING_ALLOWED=NO`, `ENABLE_USER_SCRIPT_SANDBOXING=NO`

截屏2025-05-29 上午5 05 42
截屏2025-05-29 上午6 04 22

3. Set `CODE_SIGN_ENTITLEMENTS` to the path of your entitlement.

截屏2025-05-29 下午11 29 07

4. Ensure that you’ve installed [`ldid-procursus`](https://github.com/opa334/ldid).
5. Add a “Run Script” phase to your target with the following content:

```bash
PATH="/opt/homebrew/bin:$PATH"
if [ "$CODE_SIGNING_ALLOWED" = "NO" ]; then
ldid -S${CODE_SIGN_ENTITLEMENTS} ${CODESIGNING_FOLDER_PATH}
fi
```

截屏2025-05-29 上午5 06 20

## Depends on

- My personal fork of [XcodeAnyDebug](https://github.com/Lessica/XcodeAnyDebug)
- My tiny XPC library [SandyXpc](https://github.com/Lessica/SandyXpc)
- opa334’s [libSandy](https://github.com/opa334/libSandy) and [TrollStore](https://github.com/opa334/TrollStore)

## Known issues

- The installation is much slower than normal ones because `trollstorehelper` only accepts `.ipa` files :-(

## Example Project

- [TrollFools](https://github.com/Lessica/TrollFools)

## LICENSE

WTFPL License