generate command fails on xcode cloud
kezzico opened this issue · 1 comments
kezzico commented
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 commented
problem was,
I named a variable in my ci_script $path 😅