Hello, I’ve tried to build one of my projects (audio effector) for iOS app.
In case of iPadOS 16.6 it works well as both standalone & AUv3.
In case of iOS 15.8.3 (iPhone 6s), it works well as AUv3, whereas
the standalone version will crash or remain with a black screen.
I tried to build “GainPlunginDemo” for iphone 6s.
The same phenomenon does occur, that is the standalone will remain with a black screen, whereas there is no problem in AUv3.
It seems that the problem is perhaps around “plugin channel configurations”. When I intentionally set it to be {0,0},{1,1},{2,2} the standalone will be normally launched, although “unmute input” message does not appear.
Are you using any external audio interface, bluetooth headphones/mic, or any other external audio hardware?
You mentioned that the standalone’s UI remains black after launching. How long are you waiting after launching? If you wait for a minute or so, does the UI display eventually?
Are you running the standalone under a debugger? If so, does the debugger hit any assertions when the app is launched? If you hit “continue” after triggering any assertion, does the app eventually launch correctly?
I’ve tested the GainPluginDemo and AudioPluginDemo standalones in the 15.4 and 16.0 simulators, and they launch and display their UIs without issues. Unfortunately there’s no 15.8 simulator, and I don’t have access to a device running this OS version, so I can’t check the problematic environment.
Hi, iPhone6s has only a monaural speaker, which I think is an obstacle for AUv3-wrapped standalone. In other words when plugging some audio interface or headphone/mic (provided with stereo output), as you know, there is no problem.
Debugger says:
Assertion failure in juce_AudioSampleBuffer.h:305
no. the app will be abnormally launched with black screen and remain for ever until I delete it. But In case of audio interface or headphone plugged, the app will work correctly.
We made some changes to the AudioProcessorPlayer class recently, which might help to avoid issues caused by mismatched channel layouts between t he audio device and the hosted plugin:
Please could you try updating to the latest develop branch, and check whether the issue is still present for you? Thanks!