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

generate command fails on xcode cloud #344

Closed
kezzico opened this issue Mar 6, 2023 · 1 comment
Closed

generate command fails on xcode cloud #344

kezzico opened this issue Mar 6, 2023 · 1 comment

Comments

@kezzico
Copy link

kezzico commented Mar 6, 2023

running command swiftymocky generate in an xcode cloud script.

output from
Pods/SwiftyMocky/bin/swiftymocky generate --disableCache --verbose

Generating code.
Rendering template /Volumes/workspace/repository/foo/.mocky191B47E2-B5B2-401D-9D0D-B432EEB7B138/.template.swifttemplate
/usr/bin/env "xcrun" "--sdk" "macosy" "swift" "build" "-Xswiftc" "-Onone" "_Xswiftc"
"-suppress-warnings"
--disable-sandbox"
error: env: xcrun: No such file or directory

root of the problem: xcrun is not [in the path] on xcode cloud runners

@kezzico
Copy link
Author

kezzico commented Mar 10, 2023

problem was,

I named a variable in my ci_script $path 😅

@kezzico kezzico closed this as completed Mar 10, 2023
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

1 participant