Link error with custom standalone app on iOS

I’m trying to create a custom standalone app using the flag:


It works on Mac, but when trying to compile the exact same thing on the iOS simulator, I get a link error:

Undefined symbol: juce_GetIOSCustomDelegateClass()

To reproduce, you can build the “PluginWithCustomStandaloneFilter” target here:

Just to clarify, I don’t want to create a custom iOS-specific delegate (just a custom juce::Component).

Any ideas?

You have to define juce_GetIOSCustomDelegateClass, but you can make it return nullptr like in

1 Like

Thanks @mcmartin! That totally works.