-
Notifications
You must be signed in to change notification settings - Fork 247
Description
Running MacOS Catalina. I had Xcode command line tools installed, got build errors. Installed the full Xcode, but it still wouldn't build. I had to run Xcode itself and have it add some components. Am noting this here so that maybe the documentation can be updated to clarify the need for full Xcode -and- actually running Xcode to get the components needed.
Target device: ESP8266 NodeMCU package, but right now I'm just setting up based on the Mac Host Environment setup. I'm on step 5.
Steps to Reproduce
- Run make in Moddable/build/makefiles/mac
Expected behavior
A successful build.
Actual Output
This is the second run of make - it is restarting from where it last failed. I can remove the build/bin and build/tmp directories and try again if you want the full output. And I did remove those build directories based on another Github issue's suggestion.
make
make -f /Users/myusername/Projects/Circuits/Moddable/xs/makefiles/mac/xsc.mk
make -f /Users/myusername/Projects/Circuits/Moddable/xs/makefiles/mac/xsid.mk
make -f /Users/myusername/Projects/Circuits/Moddable/xs/makefiles/mac/xsl.mk
make -f serial2xsbug.mk
make -f simulator.mk
make -f tools.mk
# tools debug : xsc commodettoBitmap.js
make[1]: /Users/myusername/Projects/Circuits/Moddable/build/bin/mac/debug/xsc: Permission denied
make[1]: *** [/Users/myusername/Projects/Circuits/Moddable/build/tmp/mac/debug/tools/modules/commodetto/Bitmap.xsb] Error 1
make: *** [debug] Error 2
Checking the permissions shows:
-rw------- 1 myusername staff 411620 Aug 8 11:20 /Users/myusername/Projects/Circuits/Moddable/build/bin/mac/debug/xsc
I did change the permission for that file to 666, it changed it back. I removed the file, it recreated it with the same permissions. Tried running using sudo, it then tried building to the wrong directory.
/Moddable/build/tmp/mac/debug/tools/modules/commodetto/Bitmap.xsb
shown above does not exist, but perhaps make was in the process of creating it.