when building our project for il2cpp iOS, the resulting XCode project does not compile.
il2CppAttributes.cpp tries to #include “MFMLibrary_MFMLibrary_(bla_bla_bla)_gen_35.h” through “…gen_40.h” which do not exist. There are such files for “…_gen_1.h” through “…gen_34.h” however.
MFMLibrary is an assembly we build externally (outside of Unity) and put in the Assets/Plugins folder.
We are able to build the same project (excluding the Unity 5 migration) successfully for Unity 4.6.8p1.
What might be cause of this problem? How could I approach finding a solution or at least a workaround?
I’m not sure whether it is a bug, but I reported it as 735369 to be safe.
Thanks for reporting this, it sounds like it is a bug in il2cpp.exe, as it should never generate C++ code that does not compile. We will investigate the bug report.
You might be able to work around the issue by commenting out the #include directives for the missing files in the generated code. I’m not sure if that will work though.