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.
- Host: GitHub
- URL: https://github.com/lessica/xcodeanytroll
- Owner: Lessica
- License: wtfpl
- Created: 2025-05-28T19:03:17.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-07-16T05:49:19.000Z (8 months ago)
- Last Synced: 2025-08-18T12:23:51.408Z (7 months ago)
- Language: Logos
- Size: 528 KB
- Stars: 122
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`

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

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
```

## 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