Multicast entitlement missing for distribution

What would cause this entitlement to be left out for distribution when it is present for development? After archiving and trying to upload or export, it's not in the entitlements list. It is included in the build settings for both debug and release and works fine on connected devices.

AFAIK we’ve moved all multicast additional capability users over to the new process (as defined in Using the Multicast Networking Additional Capability). That means that the capability is attached to your App ID, not your provisioning profile. Given that, I can’t think of any obvious way for the entitlement to go missing on your distribution build.

If you set up new test project, does it have the same problem?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I did follow those instructions provided.

To be clear, was that the new process? Or the old?

And did you try it with a new project? That’s an important diagnostic test, because it’ll tell you whether there’s something broken about your setup in general or whether the brokenness is tied to some setting in your main project.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Yes, I am trying to use the new process and it works for development purposes but not when I try to distribute by uploading as it's not showing up in the entitlements list. I am getting the following warning but not sure why.

Provisioning profile "iOS Team Provisioning Profile: KMX.my-app" for "my app" contains entitlements that aren't in the entitlements file: com.apple.developer.networking.multicast. To use these entitlements, add them to your entitlements file. Otherwise, remove unused entitlements from your provisioning profile.

The entitlement com.apple.developer.networking.multicast with Bool set to 1 is included in the entitlements file and the file path is included in the build settings.

And now to make things even more annoying, I was granted the multicast entitlement to an older app that needed it and it shows up as expected in the entitlements list when uploading.

I was finally able to get the archiver to recognize the entitlements file by removing its path and re-entering it in the build settings (under code signing entitlements). This took several tries but it eventually worked.

Multicast entitlement missing for distribution
 
 
Q