- Run server and ngrok.
- Set any password and sign in.
- Save password in Keychain.
- Press 'Connect OTP' button.
- Select the password.
This example needs ngrok and Ruby 3.1.3 (using rbenv recommended)
- Install packages using Bundler
make install
- Setup project with Makefile.
make setup
-
Input your Apple Developer Team ID for Apple App Site Association. (You can find it from https://developer.apple.com/account/#!/membership/)
-
Run Ngrok. It bridges between your localhost and the Apple server.
ngrok http 4567
- Run Sinatra. (Local API Server)
ruby api.rb
-
Open the
.xcworkspace
file and build project. It automatically matches the host name to the running ngrok's forwarding host. -
If you have Xcode error about entitlements, please clean up your build folder.