No Sound in iOS After AdMob Ad (Only When Built on MacBook M3?)

I’m developing a project using Cocos Creator 3.8 with AdMob ads on iOS. I’m using a MacBook Pro with Apple M3 chip and experiencing the following issue:

  • When an AdMob ad appears, there is often no sound in the ad.
  • After closing the ad, the app’s audio is also lost and does not return.
  • I have tried calling AVAudioSession.sharedInstance.setActive:YES after closing the ad, but it does not work.
  • This issue only occurs on my MacBook Pro M3, but when I build the project on another laptop, the audio works fine.
  • There are no errors or warnings in Xcode.

Has anyone encountered this issue before? What is the best solution to fix it?