V4 building on Xcode 11 beta on macOS 10.15 beta

V4 building on Xcode 11 beta on macOS 10.15 beta
0

Hi guys, I have managed to get the Cocos2d-x v4 branch to build on macOS 10.15 beta using the Xcode 11 beta toolchain by using CMake 3.14 as that has built-in support for generating iOS Xcode projects without the need for a custom toolchain script.

I have created a PR for this work, which I hope will be considered for merging into upstream/v4.

I have had cpp-tests running on an iOS 13 device however while it also builds for the iOS 13 Simulator (which has hardware support for Metal) it crashes due to a shader compile error, which I have yet to look into.

-A

@zhangxm can take a look at this PR when he can.

The PR is currently failing as the CI machine has CMake 3.10 installed :slight_smile:

The error I am getting compiling the metal shader has also been seen by another user on the Apple Developer Forums when running on the iOS Simulator, so it might be a beta-thing and not a real error.

@trojanfoe great job, i will try to upgrade CMake version installed in CI machines.

Yeah I noticed there is a mac-cmake test, so I guess you can also add a ios-cmake and iossim-cmake test as well :slight_smile: Good integration testing though!