Search Unity

IL2CPP, 64-bit, Debug vs Release app size (Unity 4.6.7p3)

Discussion in 'iOS and tvOS' started by dzkdes, Aug 12, 2015.

  1. dzkdes

    dzkdes

    Joined:
    Apr 18, 2015
    Posts:
    18
    Hi,

    I have noticed that when I run my project by selecting the release mode in Xcode, the app size increases substantially. So I go ahead and created an empty project, here are the results:

    Debug Mode: 35 mb
    Release Mode: 52 mb

    Is that normal? I would expect release mode is always a bit smaller than debug mode (so says the official documentation)

    Here are my settings:
    Unity 4.6.7p3
    Xcode 6.4
    Scripting Backend: IL2CPP
    Architecture: Universal
    Target Device: iPhone + iPad
    Graphics API: Automatic
    Target iOS Version: 6.0
     
  2. dzkdes

    dzkdes

    Joined:
    Apr 18, 2015
    Posts:
    18
    I think that was a hard question. Let me simplify:

    a) This is the intended behaviour.
    b) This is a known issue. We are on it.

    a or b?
     
  3. amaike

    amaike

    Joined:
    Mar 6, 2014
    Posts:
    8
    I think a.
    Because, Release Mode is include 32bit and 64bit.
    You see that the number of files during the build is in the double.
     
  4. dzkdes

    dzkdes

    Joined:
    Apr 18, 2015
    Posts:
    18
    Ok, thanks for the clarification.
     
  5. Cascho01

    Cascho01

    Joined:
    Mar 19, 2010
    Posts:
    1,347
    An compiling takes ages at least on my old Mac...