我正在尝试在Xcode 11.2.1上使用SDL2和C ++制作一个简单的游戏;但是,我的进度已因错误而停止。
遇到这些错误所要做的只是简单地初始化SDL。仅调用此函数将导致程序崩溃:
SDL_Init(SDL_INIT_EVERYTHING);
给出这些错误:
Westerino[16795:847932] Metal API Validation Enabled
Westerino[16795:848288] flock failed to lock maps file: errno = 35
Westerino[16795:848288] flock failed to lock maps file: errno = 35
Westerino[16795:847932] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x102157f00> F8BB1C28-BAE8-11D6-9C31-00039315CD46
Westerino[16795:847932] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine
Westerino[16795:847932] HALC_ShellDriverPlugIn::Open: Can't get a pointer to the Open routine
我尝试过clearing the cache,清理构建,删除首选项,重新安装框架等,但是没有任何帮助。
当我更新Xcode时,这些问题似乎已经开始,但我无法确认。