是否可以在 macOS 10.12 上使用 Kotlin Native?

Is it possible to use Kotlin Native on macOS 10.12?

我正在尝试将一个简单的 Go macOS 应用程序移植到 Kotlin Native。在与各种错误作斗争之后,我决定退一步,看看 Kotlin Native 提供的官方示例。

我在这里找到了一个基本的 OpenGL 示例:

https://github.com/JetBrains/kotlin-native/tree/master/samples/opengl

但到目前为止我还无法编译它。

我尝试下载 Kotlin 的完整源代码,但无法构建。我遵循了构建时生成的一些建议,包括对 'ignoreXcodeVersionCheck' 的更改和为编译器下载预构建的二进制文件,但此时我想知道我的环境是否不支持它?我知道这都是实验性的。

我在下面附上了错误示例,但我不确定哪些是相关的。

问题:请问还有其他人可以使用此设置/环境吗?我可以期待它工作吗?

macos 10.12.4,kotlin 1.3.11,xcode8.2.1

.konan/dependencies/clang-llvm-6.0.1-darwin-macos/include/c++/v1/cmath:551:28: error: expected a qualified name after 'typename'
_LIBCPP_CONSTEXPR typename enable_if<is_floating_point<_A1>::value, bool>::type

.konan/dependencies/clang-llvm-6.0.1-darwin-macos/include/c++/v1/cstddef:44:15: fatal error: 'stddef.h' file not found
#include_next <stddef.h>

    A problem occurred evaluating root project 'kotlin-native-master'.
 expected Xcode version 10.1, got 8.2.1, consider updating Xcode or use "ignoreXcodeVersionCheck" variable in konan.properties

kotlin-native-master/runtime/src/main/cpp/ObjCExportErrors.mm:73:23: error: no type or protocol named 'NSErrorUserInfoKey'
  NSMutableDictionary<NSErrorUserInfoKey, id>* userInfo = [[NSMutableDictionary new] autorelease];

.konan/dependencies/clang-llvm-6.0.1-darwin-macos/include/c++/v1/cmath:313:9: error: no member named 'signbit' in the global namespace
using ::signbit;

我确实设法让 "hello world" 在上述环境下工作,但我已经放弃了 OpenGL 的东西。我目前无法更新我的环境,我想这个问题不会影响很多人。所以我要用这个 'answer'.

来结束它