I’m testing FMOD2.0 core api on iOS14 beta 3 (18A5332e) simulator and facing a crash when trying to init the system.
FMOD::System *system;
FMOD_RESULT result;
result = FMOD::System_Create(&system);
ERRCHECK(result);
result = system->init(32, FMOD_INIT_NORMAL, extradriverdata);
ERRCHECK(result);
Running same above code on real device iOS14 beta 3 (18A5332f), works fine (no crash).
The only difference we see is the iOS minor version between simulator and real device (‘f’ instead of ‘e’).
Do you familiar with this crash? is something that you need to fix in your library or is it an iOS issue?
FMOD::System *system;
FMOD_RESULT result;
unsigned int version;
/*
Create a System object and initialize
*/
result = FMOD::System_Create(&system);
ERRCHECK(result);
result = system->getVersion(&version);
ERRCHECK(result);
if (version < FMOD_VERSION)
{
// FMOD lib version doesn't match header version
}
result = system->init(32, FMOD_INIT_NORMAL, NULL);
I can repro the issue. I suspect it’s an issue with the simulator beta, as it doesn’t occur with the last official release. I also was unable to run siri on the simulator.
For the crash, it appears to be reporting that the api cannot connect with a input (ie. microphone). If the issue persists into the full release, please let us know and we will investigate further.
When we investigated the previous issue, it was due to the simulator, as initializing the audio device would cause the issue and would crash inside the apple api calls. If it’s the same issue, there’s not really anything we can do on our end - the apple apis need to not crash
Having said that, I didn’t encounter any issues testing using up to date simulator releases, and this issue has not shown up on actual devices, so you should be able to work around it by upgrading XCode or testing on device.
Thanks for the reply, there’s actually no issues on simulator for iOS14 and iOS15, can you confirm that you tested this on iOS13 as well? I’m on latest XCode, and some of our devs require the ability to test under iOS13 on Simulator.