@zhangxm Please try to solve this.
Cocos should release 3.17.3 and 4.1 respectfully with these bug fixes, along with other cmake changes. @giangphamreg@dragon0962@kmaker Meanwhile you can comment those code part to compile successfully.
Commenting the enum along with AudioSessionGetProperty definition an its uses seems to fix the issue. AudioSessionGetProperty does nothing anyways (it has a //TODO on its implementation), so I think this workaround won’t do any harm.
I had also an issue with CCController-apple.mm which I solved changing the macOS Deployment Target on cocos2d project settings (mine was on macOS 10.7, and Xcode 12.3 requires macOS 10.9 at least).
Hope this helps…
We haven’t forgotten about any users. I know the team is neck deep in work combining 2D and 3D, new platform support and working to combine the engines. This work will benefit Cocos2d-x and Creator users. While I don’t know every single detail I do know they are working hard and lots of extra hours.
@smitpatel88 Yes, Release compilation on Mac with Xcode 12.3. @slackmoehrle I think that’s a solution for Creator. What we need here are all cocos2d c++ precompiled libs with the new arm64 architecture for macOS (regardless the cocos2d c++ version).
Even though there are workarounds (e.g., use an older Xcode or disable arm64 arch), keep in mind that they won’t work if you have a mac with M1 chip.