iOS exporter scheme confusion

Hi,

An audio plug-in Projucer project I want to be deployed to iOS as both a standalone app and AUv3. When I exclusively select Standalone in the Plugin Formats list, the standalone plug-in scheme appears in XCode. But when I select both Standalone and AUv3 in the Plugin Formats list, only the AUv3 scheme appears and the Standalone scheme has disappeared.

Is this intentional behaviour or a bug?

I’m running JUCE 8.0.1 with Xcode 15.4.

Best,

Jelle

Similar issues have been reported previously:

I believe when we’ve investigated this previously, the issue has appeared to be caused by a bug in Xcode itself. Occasionally, I’ll see similar behaviour in CMake-generated Xcode projects where schemes will go missing after quitting and reopening the project.

As a workaround, you should be able to add a new scheme in Xcode that builds the Standalone target if necessary.

@reuk
Thanks for the reply.

I noticed when I save and open Xcode from the Projucer using the Xcode button at the top I get this problem consistently. When I save Xcode first (using cmd + P) and open the Xcode project from the Finder, the scheme appears and the problem is resolved.

I’ve been seeing this issue a lot and have concluded it’s an Xcode problem. It’s usually solved by exporting from Projucer once, then closing the Xcode window and re-opening the project from Xcode’s Open Recent menu, although you may need to repeat this closing and re-opening a few times.