fix: 添加 Adjust 管线支持 Unity 2021.3.X

main
胡宇飞 2024-08-19 19:03:32 +08:00
parent 9a9c30a2e3
commit e90ad0d217
1 changed files with 3 additions and 0 deletions

View File

@ -315,6 +315,9 @@ public class AdjustEditor : AssetPostprocessor
private static void AddUniversalLinkDomains(PBXProject project, string xCodeProjectPath, string xCodeTarget) private static void AddUniversalLinkDomains(PBXProject project, string xCodeProjectPath, string xCodeTarget)
{ {
string entitlementsFileName = "Unity-iPhone.entitlements"; string entitlementsFileName = "Unity-iPhone.entitlements";
#if UNITY_2021_3
entitlementsFileName = "Unity-iPhone/Unity-iPhone.entitlements";
#endif
Debug.Log("[Adjust]: Adding associated domains to entitlements file."); Debug.Log("[Adjust]: Adding associated domains to entitlements file.");
#if UNITY_2019_3_OR_NEWER #if UNITY_2019_3_OR_NEWER