AppRollSDK
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
Check if your XCode and CocoaPods versions are compatible with the Minimum OS requirements section.
Minimum OS requirements:
Unity 2017.4 (Api Compatibility Level - Experimental (.NET 4.6 Equivalent) or 2018.3+
Android API level 16 (Android OS 4.1) and above.
iOS 10.0 or higher.
Use XCode 12.5 or higher.
- CocoaPods 1.10.0 or higher
To update CocoaPods to the latest version, open Terminal and perform the following command:
sudo gem install cocoapods
- Go to Assets → External Dependency Manager → iOS Resolver → Settings.
- 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.
- 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.