Open PublicPlace opened 9 years ago
This seems to happen when reserving the Sketch files in a newer version of Sketch. I'm unsure what's going on here. As with you, I'm also able to build this manually in the command line.
I think some Xcode environmental variable is coming into play here. If I copy all the exports shown in the build log, I get the same error when reproducing in Terminal. However, running the same script without it seems to work just fine.
This happens to me when accessing the sketchtool binary through a symlink. I had sketchtool installed through Homebrew, which placed symlinks in /usr/local/bin
to the unzipped official archive stored in /opt/homebrew-cask/Caskroom/sketch-tool/latest
. Running the tool normally from the command line yielded the error above. Running it directly from the unzipped directory worked fine.
Same thing here, I added /opt/homebrew-cask/Caskroom/sketch-tool/latest/bin
to the beginning of my $PATH
as a workaround.
Thank you very much for the work you put into this! I can´t get your files built > log:
[…] 2015-02-28 13:37:49.027 sketchtool[3117:94717] Exception whilst decoding (version 41):*\ -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]
Failed to open document file:///[…]Sketch-Xcode-master/RSS/Graphics%20Resources/LaunchImage.sketch/
[…] Any ideas? Pure terminal access works, so I guess some Xcode or maybe permission gotchas ?
Thanks in advance!