I kept running into this error when I tried to build for MacOS:
Failed to write to /Users/jdf2/Xcode Projects/ProjectName/Carthage/Build/Mac/EmitterKit.framework: Error Domain=NSCocoaErrorDomain Code=260 "The file “EmitterKit.framework” couldn’t be opened because there is no such file."
Found an issue over on the Carthage repo that seems to have fixed it for me: Carthage/Carthage#1547 (comment)
I kept running into this error when I tried to build for MacOS:
Failed to write to /Users/jdf2/Xcode Projects/ProjectName/Carthage/Build/Mac/EmitterKit.framework: Error Domain=NSCocoaErrorDomain Code=260 "The file “EmitterKit.framework” couldn’t be opened because there is no such file." Found an issue over on the Carthage repo that seems to have fixed it for me: Carthage/Carthage#1547 (comment)
Only thing changed in this pull request is to remove SDKROOT value as suggested by cartage issue (https://github.com/Carthage/Carthage/issues/1547)
Tested this pull request in the same project that produced the above error and it worked fine.
PS content of this PR is inspired in PR #53 but instead of committing other improvements, only adds what it says above.