Open caseypugh opened 4 years ago
Oh, it looks like this is already implemented. I was confused because the branch Unity plugin specifically says to manually add them to xcode. Perhaps that copy needs to removed/updated?
Hey @caseypugh ! This is Kun from the Branch Integration team.
Seems like this problem is still not on our document. I will add that ASAP
The problem
Currently when building to iOS with Unity+Branch, you have to manually add the
Associated Domains
capability to your Xcode project. This is a painful process for teams who are automatically deploying new builds of their game/project.Solution
It's entirely possible to add this to the Xcode project automatically by leveraging Unity's post build process. One example of another open source project that does this successfully is AppCenter's Unity plugin. Check out their AppCenterPostBuild.cs to see how they do it.