Error on Mac OS 10.13

Hello! I’m trying to build on Mac OS 10.13 but I encountered this error during making:

*** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Cocoa.framework', needed by `libtvm_runtime.dylib'.  Stop.

I upgraded Mac OS from 10.12 to 10.13 and Xcode from 8.3 to 10.0 last week and now I have a folder MacOSX10.14.sdk under

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

Anyone how to solve this problem? Thanks in advance!

I’m also developing on Mac, could you share the command you use to build the project and the complete error log? That would help investigate further.

I have just figured out the problem. It’s because I turned on OpenGL which is installed when the system was still 10.12. Turning it off or an reinstallation should fix this problem.