Skip to main content

Library not loaded: DTBiOSSDK.framework

Unity: All versions | Appodeal SDK: 3.0.0 or newer


Error "Library not loaded: '@rpath/DTBiOSSDK.framework/DTBiOSSDK' usually occurs with the "Link frameworks statically" setting active in iOS Resolver Settings.

The error log example in Xcode :

/var/containers/Bundle/Application/4845D199-734C-4C3A-9623-EDB86E7CD628/TestApp.app/
Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/4845D199-734C-4C3A-9623-EDB86E7CD628/TestApp.app/Frameworks/UnityFramework.framework/UnityFramework, 0x0109):
Library not loaded: '@rpath/DTBiOSSDK.framework/DTBiOSSDK'
Referenced from: '/private/var/containers/Bundle/Application/4845D199-734C-4C3A-9623-EDB86E7CD628/TestApp.app/Frameworks/UnityFramework.framework/UnityFramework'
Reason: tried: '/usr/lib/swift/DTBiOSSDK.framework/DTBiOSSDK' (no such file)

To fix this issue:

  1. Go to Assets → External Dependency Manager → iOS Resolver → Settings.

  2. Uncheck "Link frameworks statically" setting, save the changes, and then rebuild the project.

    Alternatively, you can modify your iOS project. In Xcode project, go to Targets → Unity-Phone → General → Frameworks, Libraries, and Embedded Content and add the frameworks:

    • DTBiOSSDK
    • FBAEMKit
    • FBSDKCoreKit_Basics
    • FBSDKCoreKit
    • OMSDK_Appodeal
    • OMSDK_Smaato