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

Documentation - help! #1

Open
tonystower opened this issue Nov 28, 2021 · 5 comments
Open

Documentation - help! #1

tonystower opened this issue Nov 28, 2021 · 5 comments

Comments

@tonystower
Copy link

tonystower commented Nov 28, 2021

Thanks for writing this - it seems perfect for my migration from Basil to Paprika.
However, I can't figure out even how to get started.
I'm ok with following commands at the Terminal (MacOS 10.15), but I can't even tell how to compile basil2yaml...

When I execute the compile command "swift build -c release --static-swift-stdlib" in terminal, I get the following error.

error: terminated(72): TMPDIR=/var/folders/y4/wbwlvgzd16l14xjm7cn5tjc00000gn/T/ XPC_FLAGS=0x0 LANG=en_GB.UTF-8 HOME=/Users/[MYUSERNAME] SHELL=/bin/zsh PWD=/Users/[MYUSERNAME]/Library/Mobile Documents/comappleCloudDocs/Downloads TERM=xterm-256color SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.BjhV8UAwBM/Listeners USER=[MYUSERNAME] LIBRARY_PATH=/usr/local/lib _=/usr/bin/swift CPATH=/usr/local/include __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x2 SHLVL=1 TERM_PROGRAM_VERSION=433 PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin LOGNAME=[MYUSERNAME] TERM_PROGRAM=Apple_Terminal SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk OLDPWD=/Users/[MYUSERNAME] TERM_SESSION_ID=6699DD0D-47EC-4762-BFD9-31A5EE1467AF XPC_SERVICE_NAME=0 /usr/bin/xcrun --sdk macosx --find xctest output:
xcrun: error: unable to find utility "xctest", not a developer tool or in PATH

I do have Xcode 12.4 installed.

Would it possible to provide a bit more documentation?

Many thanks for your help

@doxxx
Copy link
Owner

doxxx commented Nov 28, 2021

To be honest, I don't know if it's even compatible with the latest version of Xcode/Swift. I used it once to port my recipes and never used it again. :)

I have a vague recollection of the command-line tools being an optional selection when installing Xcode. Maybe double-check that?

@doxxx
Copy link
Owner

doxxx commented Nov 28, 2021

There should also be a binary download on the release page: https://github.com/doxxx/basil2yaml/releases/tag/v1.0.0

@doxxx
Copy link
Owner

doxxx commented Nov 28, 2021

I was able to build it on macOS Mojave (10.14) with Swift version 5.1.3 (swift --version). There's a bunch of warnings but it builds successfully.

Try running xcode-select --install to install the Xcode command-line tools.

@tonystower
Copy link
Author

Thanks very much for your help.
I can't get this working, at all, either using the source code, or the compiled binary (the binary just doesn't run at all and I get the dreaded "dyld: Library not loaded: @rpath/libswiftCore.dylib" error.

Thanks again, but I will have to try and find another way to convert my recipes!

@doxxx
Copy link
Owner

doxxx commented Nov 29, 2021

Sorry! I'm a very occasional macOS developer, so I don't really know how to diagnose your problem.

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

No branches or pull requests

2 participants