How sidestore/sidestore works
SideStore is an untethered iOS alternative app store: users browse sources, select apps, authenticate with an Apple ID, then install or refresh apps signed with their development certificate. The app’s UI delegates app-management work to operation pipelines, while database-backed models track sources, versions, accounts, and installed apps. The README documents the signing, installation, and background-refresh purpose; source-index references support several UI-to-manager and manager-to-operation links. Unsampled implementation details and optional integrations are not expanded into asserted call paths.
Main entry points: PipelineRunner.swift Pipeline runner · AppManager.swift App manager · DatabaseManager.swift Core Data database · FeaturedViewController.swift Featured apps
Components 24
Store discovery
- Browse store
AltStore/Browse/BrowseViewController.swift - Featured apps
AltStore/Browse/FeaturedViewController.swift - Manage sources
AltStore/Sources/AddSourceViewController.swift - Fetch source
SideStore/Core/Operations/StandaloneOperations/FetchSourceOperation.swift - App details
AltStore/App Detail/AppViewController.swift
App lifecycle
- Install prompt
SideStore/DeepLinks/InstallAppDialog.swift - Installed apps UI
AltStore/My Apps/MyAppsViewController.swift - App manager
AltStore/Managing Apps/AppManager.swift - Pipeline runner
SideStore/Core/Operations/PipelineRunner.swift - Install and refresh steps
SideStore/Core/Operations/PipelineOperations - Background refresh
SideStore/Core/Operations/StandaloneOperations/BackgroundRefreshAppsOperation.swift
Identity and signing
- Sign-in UI
AltStore/Authentication/AuthenticationViewController.swift - Authentication manager
SideStore/Core/Auth/AuthManager.swift - Apple developer services
- Anisette providers
SideStore/Core/Anisette/AnisetteProvider.swift - Certificate handling
SideStore/Core/Certificates/CertificateManager.swift - On-device install proxy
SideStore/Core/DeviceApi/EMProxyWrapper.swift
Runtime data
- Core Data database
AltStore/Core/Model/DatabaseManager/DatabaseManager.swift - Source model
AltStore/Core/Model/Source.swift - Catalog and app models
AltStore/Core/Model/StoreApp.swift - Installed app model
AltStore/Core/Model/InstalledApp.swift - App widgets
AltWidget/Providers/ActiveAppsTimelineProvider.swift - Settings and diagnostics
AltStore/Settings/SettingsViewController.swift
Other components
- Device user
Connections 26
- Device user → Browse store: browses
README.md - Browse store → Featured apps: shows features
AltStore/Browse/FeaturedViewController.swift - Device user → Manage sources: adds source
AltStore/Sources/AddSourceViewController.swift - Manage sources → Fetch source: fetches source
AltStore/Sources/AddSourceViewController.swift - Featured apps → Install prompt: offers install
AltStore/Browse/FeaturedViewController.swift - Featured apps → App details: opens details
AltStore/Browse/FeaturedViewController.swift - Device user → App details: selects app
README.md - Device user → Installed apps UI: manages apps
AltStore/My Apps/MyAppsViewController.swift - Installed apps UI → App manager: requests app action
AltStore/My Apps/MyAppsViewController.swift - Install prompt → App manager: requests installation
AltStore/Managing Apps/AppManager.swift - App manager → Pipeline runner: starts pipeline
AltStore/Managing Apps/AppManager.swift - Pipeline runner → Install and refresh steps: executes steps
SideStore/Core/Operations/PipelineRunner.swift - App manager → Fetch source: fetches sources
AltStore/Managing Apps/AppManager.swift - Device user → Sign-in UI: signs in
README.md - Sign-in UI → Authentication manager: submits credentials
- Authentication manager → Apple developer services: authenticates
- Authentication manager → Anisette providers: uses device data
SideStore/Core/Auth/AuthManager.swift - Pipeline runner → Certificate handling: uses certificates
SideStore/Core/Operations/PipelineRunner.swift - Install and refresh steps → On-device install proxy: installs through
- Pipeline runner → Background refresh: supports refresh
- App manager → Core Data database: persists changes
AltStore/Managing Apps/AppManager.swift - Core Data database → Source model: stores sources
AltStore/Core/Model/DatabaseManager/DatabaseManager.swift - Core Data database → Catalog and app models: stores catalog
AltStore/Core/Model/DatabaseManager/DatabaseManager.swift - Core Data database → Installed app model: stores installs
AltStore/Core/Model/DatabaseManager/DatabaseManager.swift - Device user → Settings and diagnostics: configures app
AltStore/Settings/SettingsViewController.swift - Pipeline runner → App widgets: updates widget data
SideStore/Core/Operations/PipelineRunner.swift