diff --git a/sdk-intergration/Packages/tysdk/Editor/IOSBuildProcessor.cs b/sdk-intergration/Packages/tysdk/Editor/IOSBuildProcessor.cs index 9cde60a..421bfd6 100644 --- a/sdk-intergration/Packages/tysdk/Editor/IOSBuildProcessor.cs +++ b/sdk-intergration/Packages/tysdk/Editor/IOSBuildProcessor.cs @@ -136,6 +136,8 @@ namespace tysdk.editor proj.AddFrameworkToProject(target, "WebKit.framework", false); //Add AdSupport Framework 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)