Skip to content

Load ExtensionKit app extensions from Extensions/ in AppBundle - #10

Open
so-5699 wants to merge 2 commits into
SideStore:mainfrom
so-5699:fix/extensions-directory-appex
Open

so-5699 wants to merge 2 commits into
SideStore:mainfrom
so-5699:fix/extensions-directory-appex

Conversation

@so-5699

@so-5699 so-5699 commented Nov 17, 2026

Copy link
Copy Markdown

Summary

  • Update AppBundle.loadExtensions() to scan both PlugIns/ and Extensions/ for .appex bundles (using continue when a directory does not exist so apps with only Extensions/ are handled properly).
  • Add unit tests covering both:
    • Apps containing extensions in both PlugIns/ and Extensions/.
    • Apps containing extensions only in Extensions/ (without PlugIns/).

Background

On iOS 27+, apps (such as X / Twitter 12.40+) may embed ExtensionKit extensions like CrashReporterExtension Production.appex under Extensions/ rather than PlugIns/. Because loadExtensions() previously only scanned PlugIns/, these extensions were omitted from appBundle.appExtensions.

While CodeSignKit already enumerates .appex bundles recursively during signing, omitting them from AppBundle.appExtensions skipped provisioning profile preparation, bundle ID rewriting, and entitlement resolution—causing installation to fail with Mismatched bundle IDs.

Related SideStore issue: SideStore/SideStore#1724

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant