Adding SKAdNetwork Ids to Info.plist (Automatically)

Hello!

I’m implementing Unity Ads into one of my projects and have just hit the step to add SKAdNetwork Ids to Info.plist (for iOS support)

I’ve looked at the instructions here, but there is nothing explaining how this is done when using UCB…

https://docs.unity.com/ads/ConfiguringAdNetworkIDs.html

I know it’s possible to extract files from the final IPA file (and edit) but saving them back is another matter. So unless there is an option I’ve missed in the UE or UCB Config, it seems the only way to inject these values is by code during the build process. Surely not?

Some of the documentation does state that this isn’t needed if using the Unity Advertisement package (which the project does)…

If you also have the Unity Advertisement package installed, then this will happen without any action needed by you.

But the Monetisation Dashboard is clearly indicating they’re missing (how would it know) and that they must be added.

Any help would be much appreciated.

You were probably looking for this?
https://github.com/AppsFlyerSDK/appsflyer-unity-plugin/blob/master/docs/Troubleshooting.md
https://discussions.unity.com/t/805606