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

Can't build Tokamak project - carton dev command #296

Closed
nikitamounier opened this issue Nov 7, 2020 · 4 comments
Closed

Can't build Tokamak project - carton dev command #296

nikitamounier opened this issue Nov 7, 2020 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@nikitamounier
Copy link

After I make a new Tokamak project using the carton init --template tokamak command, I can't build it with the carton dev command (in Terminal and the integrated VSCode console). Instead, I get this error:

Error: Process failed with non-zero exit status and following error output: error: terminated(72): OLDPWD=/Users/benoitmounier __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x2 TERM_SESSION_ID=413A1A5C-DD4D-4D38-9CE8-343D6B4A59E6 PWD=/Users/benoitmounier/WebSwiftUI SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.z5lhB5EgTe/Listeners SHELL=/bin/zsh _=/usr/local/bin/carton TERM_PROGRAM=Apple_Terminal TERM=xterm-256color XPC_SERVICE_NAME=0 PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin XPC_FLAGS=0x0 HOME=/Users/benoitmounier USER=benoitmounier SHLVL=1 TMPDIR=/var/folders/r7/vq4ycw_571lf8n09c5jhbkc40000gn/T/ LANG=en_GB.UTF-8 LOGNAME=benoitmounier TERM_PROGRAM_VERSION=433 /usr/bin/xcrun --sdk macosx --find xctest output: xcrun: error: unable to find utility "xctest", not a developer tool or in PATH

This error seems to be related to XCTest in the Test folder automatically generated by the Tokamak template. However, I get the same error even when I delete it.

@MaxDesiatov
Copy link
Collaborator

Hi @nikitamounier, thanks for reporting this. Do you have Xcode 11.4 or later installed? If so, what happens when you run xcrun --sdk macosx --find xctest in terminal?

@MaxDesiatov MaxDesiatov added the question Further information is requested label Nov 7, 2020
@nikitamounier
Copy link
Author

Hi @MaxDesiatov , I'm on Xcode 12.1. When I run that command in terminal I get:
xcrun: error: unable to find utility "xctest", not a developer tool or in PATH
I'm not enrolled in the Apple Developer Program, could that be the root of the issue?

@MaxDesiatov
Copy link
Collaborator

MaxDesiatov commented Nov 7, 2020

I don't think that the lack of developer program enrolment could be related. Does this SO answer resolve the issue for you? https://stackoverflow.com/questions/61501298/xcrun-error-unable-to-find-utility-xctest-not-a-developer-tool-or-in-path

@nikitamounier
Copy link
Author

Yes, the SO answer works! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants