We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21fcef5 commit 3503804Copy full SHA for 3503804
Assets/Adjust/Scripts/Editor/AdjustEditor.cs
@@ -310,7 +310,11 @@ private static PlistElementDict CreatePlistElementDict(PlistElementArray rootArr
310
311
private static void AddUniversalLinkDomains(PBXProject project, string xCodeProjectPath, string xCodeTarget)
312
{
313
- string entitlementsFileName = "Unity-iPhone.entitlements";
+ string entitlementsFileName = project.GetBuildPropertyForAnyConfig(xCodeTarget, "CODE_SIGN_ENTITLEMENTS");
314
+ if (entitlementsFileName == null)
315
+ {
316
+ entitlementsFileName = "Unity-iPhone.entitlements";
317
+ }
318
319
Debug.Log("[Adjust]: Adding associated domains to entitlements file.");
320
#if UNITY_2019_3_OR_NEWER
0 commit comments