I need to add different App-Bound Domains every time I build my capacitor app in development.
The WKWebView must be able to run service workers for the development server, and the development server is running on a LAN IP like 192.168.1.4. So that IP should be an App-Bound Domain. I don’t want to have to use XCode’s UI to manually change the entitlements every time.
The capacitor.config.ts file already programmatically gets the development server IP and sets it as server.url.
Is there a way I can make capacitor also set up the App Bound Domains for the iOS app?