ObjectAL-for-iPhone icon indicating copy to clipboard operation
ObjectAL-for-iPhone copied to clipboard

AudioSessionProperty deprecated - warnings in iOS 7

Open LearnCocos2D opened this issue 11 years ago • 1 comments

AudioSessionProperty is deprecated in favor of AVAudioSession properties. Building ObjectAL with iOS 7 will bring up corresponding deprecated warnings (about 5) in OALAudioSession, first couple methods under the "Internal Use" pragma mark.

See dev forum thread: https://devforums.apple.com/message/859752#859752

I just disabled deprecated warnings for now:

pragma clang diagnostic push

pragma clang diagnostic ignored "-Wdeprecated-declarations"

// ...

pragma clang diagnostic pop // deprecated warning

LearnCocos2D avatar Aug 18 '13 15:08 LearnCocos2D

Fixed in https://github.com/kstenerud/ObjectAL-for-iPhone/commit/e409b21c021bf032d268f5338dac60dd50603cc1

kstenerud avatar Aug 23 '13 03:08 kstenerud