Skip to main content

AppRollSDK Unity

Unity: All versions | Appodeal SDK: All versions


The error "Library not loaded: @rpath/AppRollSDK.framework/AppRollSDK usually happens

  • If CocoaPods or/and XCode versions are lower than required

  • If External Dependency Manager version is different from the one comes with Appodeal SDK, or you use some specific settings.

The error log example:

Error loading /var/containers/Bundle/Application/9DC64E05-8DBD-477C-A332-94E5A228258F/Demo.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/9DC64E05-8DBD-477C-A332-94E5A228258F/Demo.app/Frameworks/UnityFramework.framework/UnityFramework, 265): Library not loaded: @rpath/AppRollSDK.framework/AppRollSDK
Referenced from: /private/var/containers/Bundle/Application/9DC64E05-8DBD-477C-A332-94E5A228258F/Demo.app/Frameworks/UnityFramework.framework/UnityFramework
Reason: image not found
2021-08-29 12:28:54.551411+0100 Demo[26417:14773115] Error loading /var/containers/Bundle/Application/9DC64E05-8DBD-477C-A332-94E5A228258F/Demo.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/9DC64E05-8DBD-477C-A332-94E5A228258F/Demo.app/Frameworks/UnityFramework.framework/UnityFramework, 265): Library not loaded: @rpath/AppRollSDK.framework/AppRollSDK
Referenced from: /private/var/containers/Bundle/Application/9DC64E05-8DBD-477C-A332-94E5A228258F/Demo.app/Frameworks/UnityFramework.framework/UnityFramework
Reason: image not found

To fix it:

Check if your XCode and CocoaPods versions are compatible with the Minimum OS requirements section:

info
  • Unity 2019.4+, 2020.3.16+, 2021.1.17+
  • Android API level 21 (Android OS 5.0) and above
  • iOS 12.0 or higher
  • Use XCode 14 or higher
  • CocoaPods 1.10.0 or higher
  • Git must be installed on your device

To update CocoaPods to the latest version, open Terminal and perform the following command:

sudo gem install cocoapods
  1. Go to Assets → External Dependency Manager → iOS Resolver → Settings.

  2. Check if the External Dependency Manager version is the same as listed here and corresponds to Appodeal plugin version integrated in the project. If it is not, reimport External Dependency Manager plugin from Appodeal plugin asset.

  3. Check your External Dependency Manager settings. If they are not same as on the screenshot, try to use the default ones presented on the screenshot.