简体   繁体   中英

iOS: dyld: Library not loaded: @rpath/libswiftWebKit.dylib when using SwiftyDropbox from Cocoa Touch Framework

I get this error:

dyld: Library not loaded: @rpath/libswiftWebKit.dylib
Reason: image not found

when I run my application which use my Cocoa Touch Framework where I added SwiftyDropbox framework using CocoaPods.

Can anybody help me?

I had the same problem and to fix it I added import WebKit to the top of another file and the error went away. Apparently WebKit wasn't getting loaded in time or something. Very strange.

I cleaned, cleaned build folder and recompiled. That worked.

Found a solution: deleted libswiftWebKit.tbd from linked Frameworks. I added it previously when upgrading XCode from version 11, but it's now no more required.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM