Undefined symbol error after Xcode 13 update

1.2k Views Asked by At

I have recently updated my Xcode to v13. Since then when I tried to archive I am getting following error

Undefined symbol: _OBJC_METACLASS_$_UMAppDelegateWrapper
Undefined symbol: _OBJC_CLASS_$_UMAppDelegateWrapper
Undefined symbol: _OBJC_CLASS_$_UMModuleRegistryProvider
Undefined symbol: _OBJC_CLASS_$_UMModuleRegistryAdapter

If I run in simulator or real device, Then there is no error. Getting errors only when I tired to archiving.

I tried to apply what suggested in this SO question. But there is no use.

Can someone help me to get rid of these errors?

1

There are 1 best solutions below

1
Slava  Vasylenko On

There is a new library from Xcode 12 that needs to be added to the Link Binary with Libraries phase call libSwiftWebKit.tbd. This help me.

Go to the Xcode Build Phases => Link Binary With Libraries => press + paste in search libSwiftWebKit.tbd => Add enter image description here