renderplugin example not working on ios

I am trying to build the renderplugin example from unity without any modifications

I keep getting these errors on ios builds:

Undefined symbols for architecture armv7:
“_UnitySetGraphicsDevice”, referenced from:
-[MyAppController shouldAttachRenderDelegate] in MyAppController.o
“_UnityRenderEvent”, referenced from:
-[MyAppController shouldAttachRenderDelegate] in MyAppController.o
“_SetTimeFromUnity”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_SetTextureFromUnity”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)​

Any advice? Using xcode 6.1.1 and unity.4.6.3f1

I have looked at unityAppController and there’s no such function as UnitySetGraphicsDevice

Is this plugin example never supposed to work on ios? Is there any way to read in data from a compiled c library and use it as a texture to draw onto a rectangle in unity?

Thanks for any help you can provide

You have to add manually “RenderingPluginGLES.cpp” to the Build Phases. Import the files and drag RenderingPluginGLES.cpp to Build Phases.