SideStore is a sideloading tool installed on the iPhone. Apps signed with a free Apple account expire after seven days; SideStore uses a local VPN to make the phone think a computer is connected to it, then re-signs apps and installs them back, all on the phone. A computer is needed only for the first installation.
On the iPhone X I have (iOS 16.7.11), I installed the official SideStore with iloader. Sign-in and the VPN connection were both fine, but tapping refresh spun briefly and reported InvalidVPN . This post records how that error was traced to a missing heartbeat; how the heartbeat is added; what got in the way when having an AI build it with kxbuild (a cross-platform iOS build tool) on a computer that isn't a Mac; why in the end only the main executable was built; and, as an aside, another modification: making SideStore honor your own Bundle ID and certificate when refreshing.
Other devices on the same iOS 16, installed the same way with iloader, work fine.…