How to play sound for iOS 8.1 simulators

372 Views Asked by At

In Xcode 6.1 AudioToolbox.framework for sound doesn't work. It works fine on iOS 7 through iOS 7.1 but not any iOS 8.1 simulators whether it's iPhone or iPad. Is this an error with iOS 8.1 sound or does AudioToolbox framework not work on iOS 8.1?

1

There are 1 best solutions below

2
On BEST ANSWER

This is a known bug in the iOS 8.x simulator runtimes. You should be able to play audio successfully with other APIs, but unfortunately AudioServicesPlaySystemSound() and related functions in AudioToolbox.framework aren't functional.