iOs error message using ez replay plugin

Hi!

A user of my plugin EZ Replay Manager just informed me of error messages occuring using my demo package (within is a dll). The thread and message with the errors are to find here: http://forum.unity3d.com/threads/92854-EZ-Replay-Manager?p=1036581#post1036581

Question is, do these messages appear simply because of the dll not working on iOS or are there different things not working on iOS in the package. The first message looks like something different, whereas the the second looks like something DLL specific. Or does Unity4 react on DLLs this way for some reason? Does someone have experience developing for iOS and knowing these messages? I unfortunately cannot help on this because I do not own any Apple products. Thanks in advance!

I don’t know why this is happening, but I can tell you what’s going on. When building for iOS all assemblies get converted in Arm assembler. So,your EZReplayManagerDemo.dll gets converted in EZReplayManagerDemo.dll.s. Xcode will later on take this .s file and generate Arm machine code from it. It’s the conversion from an assembly to assembler that is breaking (but I don’t know why). The first error snippet shows what happens. Your assembly is read (UnityEditor.AssemblyReferenceChecker.CollectReferences) and the code is read to determine what other code it calls into (Mono.Cecil.Cil.CodeReader.ReadCode ()). As the code body is read, an exception is generated. The code for that is:

Without knowing which of your methods is causing this crash, it’s hard for you or me to know what to do. Perhaps submit a bug report with the assembly and a small test project and the QA team can work with the Developers to figure out what is happening.

I think your error 2 and 3 just happens because the assembler file EZReplayManagerDemo.dll.s is not created.