This example needs Ngrok and Ruby 3.0.3+.
- Setup project with Makefile.
Input your Apple Developer Team ID for Apple App Site Association. (You can find it from https://developer.apple.com/account/)
Run Ngrok. It bridges between your localhost and the Apple server.
ngrok http 4567
- Run Sinatra. (Local API Server)
.xcworkspacefile and build project. It automatically matches the host name to the running ngrok’s forwarding host.
Close and reopen the project. (Due to Info.plist bug in Xcode 13.2.1 ?. See Xcode 13 Missing Info.plist article at useyourloaf.com)
The GitHub Link: