The proper way to solve this problem would be repacking the embedded framework with XCFramewotk but there is a work around to solve this in the meantime.
Go to Build Settings Build Options and change the property value of Validate Workspace to YES. You should be all set.
Refer to xcodebuildsettings.com to understand more about this configuration.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: