TitleHow to solve the error on building a project while adding advertising modules.2022-07-29 17:52:52
Writer

When building a project to add advertising modules for games with Hive SDK v4, libraries require updates. Make sure to follow the below explanation by OS to prevent the error.

Android

  • PlayServiceResolvers used on Hive SDK v4 (1.124.0) and on AdMob Unity Plugin (1.130.0) are crashed.
    • Delete the PlayServiceResolver (1.124.0) or exclude the resolver when importing a unitypackage.
  • Error occurred due to duplication on symbol (com.a.a.a.a) of QQ opensdk (open_sdk_r5961.jar) and ADX Mintegral library (com.mintegral.msdk.common-10.1.21.aar).
    • Delete the QQ opensdk.
      Inquire to Solution Architect part if QQ opensdk is needed to use.

iOS

  • Frameworks used on Hive SDK v4 and on Facebook are crashed.
    Delete Facebook frameworks and bundle which Hive SDK includes.
    • /Assets/Hive_SDK_v4/Plugins/iOS/framework/FBSDKCoreKit.framework
    • /Assets/Hive_SDK_v4/Plugins/iOS/framework/FBSDKLoginKit.framework
    • /Assets/Hive_SDK_v4/Plugins/iOS/framework/FBSDKShareKit.framework
    • /Assets/Hive_SDK_v4/Plugins/iOS/resource/FacebookSDKStrings.bundle
  • Add dependencies with CocoaPods.
    • Add Facebook frameworks to /Assets/Hive_SDK_v4/Editor/HIVESDKDependencies.xml.