Search Unity

How to cross compile libil2cpp for iOS platform?

Discussion in 'Editor & General Support' started by rayfung_unity, Nov 29, 2019.

  1. rayfung_unity

    rayfung_unity

    Joined:
    May 26, 2016
    Posts:
    4
    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?
     
  2. FantasticMiao

    FantasticMiao

    Joined:
    Dec 12, 2019
    Posts:
    2
    I have the same question.Does anybody have an idea?
     
  3. FantasticMiao

    FantasticMiao

    Joined:
    Dec 12, 2019
    Posts:
    2
    According to Unity Technical Support, we have to compile unity source code(if you have).
     
  4. OdicT

    OdicT

    Joined:
    Dec 30, 2021
    Posts:
    1
    I also encountered a similar problem, how to solve it.