Following solutions may help you to fix the issue.
Solution1
if you are using Xcode 10+ please change Build system to Legacy Build System under File> ProjectWorkSpace Settings> Build System
Solution2
Remove the resource from "Copy bundle resources" in build phases. It resolves the error.