Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install fails #71

Closed
pepas-everly opened this issue Mar 16, 2022 · 6 comments · Fixed by #72
Closed

make install fails #71

pepas-everly opened this issue Mar 16, 2022 · 6 comments · Fixed by #72

Comments

@pepas-everly
Copy link

Installing swift-graphql (either through homebrew or make install) currently fails to build:

/private/tmp/SwiftGraphQL-20220315-23016-185y7qo/swift-graphql-2.3.0/.build/checkouts/SwiftFormat/Sources/CommandLine.swift:556:44: error: 'temporaryDirectory' is only available in macOS 10.12 or newer
                return FileManager.default.temporaryDirectory
@maticzav
Copy link
Owner

Hey there! Thank you for opening this up. What's your Mac OS version? I think you might have to upgrade your system.

@pepas-everly
Copy link
Author

I'm on Monterey 12.2, thanks for the speedy response!

Screen Shot 2022-03-16 at 9 00 35 AM

@pepas-everly
Copy link
Author

Perhaps the deployment target of some of the dependencies is set less than 10.2?

@CooperWolfe
Copy link
Contributor

I found the following issue, which seems to be causing this one:
nicklockwood/SwiftFormat#1158

@CooperWolfe
Copy link
Contributor

CooperWolfe commented Mar 16, 2022

@pepas-everly I made a fork in the meantime of either my PR merging or the root problem being fixed if getting this working quickly is a high priority for you.

@pepas-everly
Copy link
Author

@CooperWolfe oh thank you so much! It isn't super critical, I just wanted to evaluate it because it looked like an attractive alternative to Apollo, but I can certainly wait a few days for a fix to be merged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants