[U] enable AppsFlyer SDK swizzling on iOS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-12 23:19:03 +08:00
parent 7d479b7758
commit 1d7d224682

View File

@@ -136,6 +136,8 @@ namespace tysdk.editor
proj.AddFrameworkToProject(target, "WebKit.framework", false); proj.AddFrameworkToProject(target, "WebKit.framework", false);
//Add AdSupport Framework //Add AdSupport Framework
proj.AddFrameworkToProject(target, "AdSupport.framework", false); proj.AddFrameworkToProject(target, "AdSupport.framework", false);
// AF AFSDK_SHOULD_SWIZZLE=1
proj.AddBuildProperty(target, "GCC_PREPROCESSOR_DEFINITIONS", "$(inherited) COCOAPODS=1 AFSDK_SHOULD_SWIZZLE=1");
} }
private static void ProcessPlist(string root) private static void ProcessPlist(string root)