You're running into this issue because the author of the framework has moved the modulemap file and your carthage directory has not been cleaned. This means there are two modulemap files present, which causes this error to occur.Remove the file, or delete the entire directory