Thread
#multiplatform
    sendoav

    sendoav

    1 year ago
    Hi all, I'm creating a single iOS Framework from an umbrella multiplatform module which contains 4 modules. The operation takes 4 minutes approximately. Is there any optimization I could try to lower the generation time? Could the increase of the number of submodules within the umbrella module affect positively?
    Kris Wong

    Kris Wong

    1 year ago
    are you pulling the klibs from Maven, or are you building them all inline?
    sendoav

    sendoav

    1 year ago
    Maven
    que most time consuming tasks are compileIos and linkFrameworkIos
    Kris Wong

    Kris Wong

    1 year ago
    what is it compiling?
    sendoav

    sendoav

    1 year ago
    what do you mean?
    Kris Wong

    Kris Wong

    1 year ago
    if you're only pulling in klibs, what is there to compile?
    sendoav

    sendoav

    1 year ago
    ah sorry I misunderstood you, I'm compiling my code locally and generating the framework. With the cocoapods plugin I use it in the iOS solution. All operations are local
    Kris Wong

    Kris Wong

    1 year ago
    well there you go
    you're compiling everything every time. if you used Maven that wouldn't be the case, but you'd have development overheard in other ways.
    sendoav

    sendoav

    1 year ago
    I was thinking on increasing the number of submodules, in kotlin it reduces the built time, but I do not know if it also affects the framework creation time
    s

    sergey.bogolepov

    1 year ago
    sendoav

    sendoav

    1 year ago
    So, in your opinion splitting modules into smaller modules and put them together within the umbrella framework could reduce time?
    s

    sergey.bogolepov

    1 year ago
    It might make
    compileFOO
    task faster (can't give any estimates, though). I suggest to try tips from the document I mentioned before diving into refactoring.