@vasg77_twitter Have you tried the Node version? It should work with Xcode 13+. You can easily try it without messing up your narwhal
version by running the following in the Terminal:
git checkout node
npm install
jake dist
export PATH="$PWD/dist/cappuccino/bin:$PWD/dist/objective-j/bin:$PATH"
Check that it finds the correct nib2cib
by running which nib2cib
. Make sure you have Node version 14 or later installed. (I currently use version 16).
jake
and nib2cib
etc. The way they build things are still exactly the same. It is only narwhal that is replaced with Node. What is for example how we read and write a file etc. So code is replace to use Node api instead of Narwhal api. One major thing is also that Node is asynchronous by default. This means that I had to add async
/ await
to the Objective-j syntax to be able to handle some cases in the tools in an elegant way.
nib2cib
though.
nib2cib
fails. I’m hoping this is the last remaining significant source of silent conversion failures.
narwhal
directory or /usr/local/bin
. This is done by introducing the jake dist
command. This means you can have an unlimited number of versions at the same time. You can read more about it on the wiki under the title Install from source without install with npm
: https://github.com/cappuccino/cappuccino/wiki/node