Open jkusachi opened 7 years ago
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.
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 duringRun custom shell script 'Run Script'