Hi there @Taobe
This is an older thread. But, I saw a user who was having this same issue. Take a peek here and see if any of the information/solutions help answer your scenario. Platform Mac is not a valid platform to build. Compile failed I hope it helps!