Specifically, this is the section where I am having trouble:
Enable the Entitlement
The next step is to enable the entitlement in your project:
In your app’s .entitlements file, add a com.apple.developer.networking.multicast entry with a Boolean value of true.
Switch back to Signing & Capabilities and build your app for the device (not the simulator!). Xcode will then notice that you’re using an entitlement that’s not in the current provisioning profile’s allowlist but is in your App ID’s allowlist. It responds to this by rebuilding the provisioning profile. Yay!
I can’t find the .entitlements file in a Xojo built project. Not sure where we add this. I see there’s a way to add entitlements manually using a .plist file in Xojo but no instructions in the documents for creating that. And if I load that file will I still be able to add entitlements from the selections in the entitlements pane.
It would be helpful to have some more detailed documentation on this…
if you click on the iOS target in your Xojo project and then click on the Advanced tab in the Inspector, there’s a list of Capabilities there. None of those items are what you are looking for, but just above that is a place to select an entitlements file.
What I suggest is that you use Xcode to make the entitlements file that you need and then select it in that field. That should add the relevant keys where they need to go.
Thanks Greg for your advice as always. I created the Entitlements file and it works.
But I can’t load the app anymore using the Devices and Simulators window in Xcode or running a remote debug in Xojo. It fails to install the app on the phone. The only way I can get the app on my phone now is via TestFlight and that gets to be a pain if doing a bunch of debugging.