Skip to content

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

License

Notifications You must be signed in to change notification settings

Lessica/XcodeAnyTroll

Repository files navigation

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, Dopamine and Dopamine (RootHide) jailbreaks. TrollStore is required.

demo_x264.mp4

How to use?

  1. Prepare your jailbroken iOS device for development.

  2. Install this tweak from https://apt.82flex.com

  3. 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
  4. Set CODE_SIGN_ENTITLEMENTS to the path of your entitlement.

    截屏2025-05-29 下午11 29 07
  5. Ensure that you’ve installed ldid-procursus.

  6. Add a “Run Script” phase to your target with the following content:

    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

Known issues

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

Example Project

LICENSE

WTFPL License

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published