How can I add multicast entitlements to my app?

I’m building an iOS app that needs multicast entitlement. I could add the following entitlements file to the generated xcode project, but how can I do it from the Projucer?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.developer.networking.multicast</key>
	<true/>
</dict>
</plist>

I think the Custom PList field in the Projucer is what you’re looking for.

I tried that already, but it didn’t work, it indeeds adds a key to the plist file, but I think what’s needed is a generated entitlements file with the above key added.

I think this will require modifications to the Projucer. I’ve put together a patch to allow setting this entitlement from the Projucer and CMake, but this won’t be merged until after the next bugfix release, which will happen in a week or so.

2 Likes

Was this ever pushed to develop branch? I can’t any commit related to this request.

Thanks!

1 Like

Thanks for your patience, this change is now available on develop:

Please let us know if you run into any problems with this change.

2 Likes

Thanks! this should be very useful with Ableton LinkKit.

1 Like

…and a follow-up, to enable the same in CMake: