How to cross compile libil2cpp for iOS platform?

Recently, I implemented custom encryption of global-medata.dat and that needs to change some code of MetadataLoader.cpp (ship with unity installation).

It is okay on Android platform. But I found that libil2cpp.a is prebuilt on iOS.

I need to implement the same encryption on iOS. How can I cross compile libil2cpp for iOS?

I have the same question.Does anybody have an idea?

According to Unity Technical Support, we have to compile unity source code(if you have).

I also encountered a similar problem, how to solve it.