I'm a newbee at Vulkan and Xcode. I have my project on github https://github.com/flocela/OrangeSpider/
Whenever I run, two windows open instead of only one. I added testing, which means I have an OrangeSpider.xctestplan in the OrangeSpider/TestsOrangeSpider/ folder.
This is my first time adding testing to an XCode project, so I think this may be where the problem is.
I also get this error message:
ViewBridge to RemoteViewService Terminated: Error Domain=com.apple.ViewBridge Code=18 "(null)" UserInfo={com.apple.ViewBridge.error.hint=this process disconnected remote view controller -- benign unless unexpected, com.apple.ViewBridge.error.description=NSViewBridgeErrorCanceled}
In order for Vulkan to only create 1 window instead of 2, I added a sleep_for method as the first line in my main method. This is a work around. I'm not sure why it works. (I didn't come up with it myself.)
int main() {
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
...
}