cocos2d-x
cocos2d-x copied to clipboard
'AudioSessionGetProperty' is unavailable: not available on macOS
trafficstars
- cocos2d-x version: 3.17
- devices test on: macOS 10.15.7
- developing environments
- Xcode version: 12.3
'AudioSessionGetProperty' is unavailable: not available on macOS
same issus.any solution?
Fixed, just try edit the project build settings->Vaild_ARCHS from arm64, x86_64 to x64 and run build again
Ensure the correct macOS version in Build settings -> macOS Development Target