In a custom framework containing both Objective-C and Swift code, the Swift compiler throws the following error:
[build_pat
Remove these files from project's directory. .xcworkspace pods/ and podfile.lock
.xcworkspace
pods/
podfile.lock
update the pod and build the project.