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 :

Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/4845D199-734C-4C3A-9623-EDB86E7CD628/, 0x0109):
Library not loaded: '@rpath/DTBiOSSDK.framework/DTBiOSSDK'
Referenced from: '/private/var/containers/Bundle/Application/4845D199-734C-4C3A-9623-EDB86E7CD628/'
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:

    • FBAEMKit
    • FBSDKCoreKit_Basics
    • FBSDKCoreKit
    • OMSDK_Appodeal
    • OMSDK_Smaato