Xcode 10 “dyld: Symbol not found: __T0BOWV” How to

2019-08-19 23:24发布

I'm run project, and it's error "dyld: Symbol not found: __T0BOWV" How to fix it? Thank you...!

enter image description here

Referenced from:

/Users/letai/Library/Developer/CoreSimulator/Devices/B5E16F1A-C17C-4C65-B743-73775C820891/data/Containers/Bundle/Application/A7E06426-84F9-45DF-8063-337D094BED80/A.app/Frameworks/PKHUD.framework/PKHUD

Expected in: /Users/letai/Library/Developer/CoreSimulator/Devices/B5E16F1A-C17C-4C65-B743-73775C820891/data/Containers/Bundle/Application/A7E06426-84F9-45DF-8063-337D094BED80/A.app/Frameworks/libswiftCore.dylib

in

/Users/letai/Library/Developer/CoreSimulator/Devices/B5E16F1A-C17C-4C65-B743-73775C820891/data/Containers/Bundle/Application/A7E06426-84F9-45DF-8063-337D094BED80/A.app/Frameworks/PKHUD.framework/PKHUD

标签: ios swift
3条回答
叼着烟拽天下
2楼-- · 2019-08-19 23:40

It is basically happening when you add a library or framework to your project but you did not do it right. try to remove the mentioned framework and add it in a right way. the right way depends on your dependency manager. you are using Carthage or Pod. This error mostly happens in Carthage when you are not importing the dependent framework of the newly added framework.

查看更多
可以哭但决不认输i
3楼-- · 2019-08-19 23:44

Find the match Xcode version:

otool -L YOUR_FRAMEWORK

#
# ...
@rpath/libswiftAVFoundation.dylib (compatibility version 1.0.0, current version 1001.0.69)

Now you just have to lookup for the Swift version with this link.

Xcode   Swift version string 
10.2    5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3)
查看更多
爱情/是我丢掉的垃圾
4楼-- · 2019-08-19 23:52

Change the status of newly added framework from "Required" to "Optional" from General Setting of project target.

查看更多
登录 后发表回答