s

    subin s v

    3 years ago
    Hey guys, Just updated the 'kotlin-multiplatform' plugin from 1.3.10 and 1.3.21.. Also updated the compilations.main.outputkinds to new binaries block.. And noticed the generated iOS target framework size has increased.. Previously it was Debug Framework = 4.3MB Release Framework = 2.8MB After update Debug Framework = 4.8MB Release Framework = 7.1MB Debug version contains (Arm32, Arm64, x64) Release version contains (Arm32, Arm64) Also now release framework size is greater than the Debug version. Why is this happening. Am I doing something wrong..
    Jurriaan Mous

    Jurriaan Mous

    3 years ago
    It seems the release notes are not on github but I remember that in Kotlin 1.3.20 was stated that bitcode is now on by default. Probably that makes the difference.
    s

    subin s v

    3 years ago
    @Jurriaan Mous but still I expect release version of framework to be smaller than debug version. Correct me if I am wrong.
    s

    svyatoslav.scherbina

    3 years ago
    Yes, this is most likely caused by the embedded bitcode.
    but still I expect release version of framework to be smaller than debug version.
    Debug version doesn’t have bitcode embedded.
    s

    subin s v

    3 years ago
    That makes sense.. Thanks for the help guys.. 🙂
    Just an update.. I tried disabling bitcode and you are right.. The library size decreased.. This is due to bitcode 👍