Thank you this was my solution to the issue, this error comes out very often regardless of the Xcode version
try this way:
go to the TARGETS - select[your project name] - General - Frameworks,Libraries,and EmbeddedContent - set the framework with [Do Not Embed]
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: