XcodeTemplate-SketchPlugin
XcodeTemplate-SketchPlugin copied to clipboard
Sed: can't read : No such file or directory
Could be a similar issue as https://github.com/MagicSketch/XcodeTemplate-SketchPlugin/issues/1
When building, I get the following error:
Sed: can't read : no such file or directory. Run during Run custom shell script 'Run Script'
I try the following method, and this is work for me.
Delete the "" in the script
sed -i "" -e "s/PLUGIN_IDENTIFIER/$PLUGIN_IDENTIFIER/g" "$f2"
And the correct result is
sed -i -e "s/PLUGIN_VERSION/$PLUGIN_VERSION/g" "$f2"
sed -i -e "s/PLUGIN_BUILD/$PLUGIN_BUILD/g" "$f2"
sed -i -e "s/PLUGIN_IDENTIFIER/$PLUGIN_IDENTIFIER/g" "$f2"
I think the sed options and parameters have some error.