aleclarson / emitter-kit

Type-safe event handling for Swift
MIT License
567 stars 71 forks source link

Fix Carthage compatibility for non iOS platforms (2) #54

Closed emirandm closed 5 years ago

emirandm commented 5 years ago

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.

aleclarson commented 5 years ago

Continued by #56