Why is my iOS build much bigger than my Android build in debug and release mode?

Kim Strasser 1,036 Reputation points
2022-01-23T11:54:49.883+00:00

I get the following results on Android when I click on Build-->Archive for Publishing:
Shrinking not enabled:
Estimated App Store Size: 70,66 MB
Dex Compiler: d8
Code Shrinker: /

Shrinking enabled:
Estimated App Store Size: 69,78 MB
Dex Compiler: d8
Code Shrinker: r8

In addition, my game uses 153 MB in Debug mode on my Android phone.

167513-bildschirmfoto-2022-01-23-um-125001.png
167514-bildschirmfoto-2022-01-23-um-125013.png
167515-bildschirmfoto-2022-01-23-um-125029.png

I get the following results on iOS when I click on Build-->Archive for Publishing:
iOS:
Estimated App Store Size: 982,56 MB

In addition, my game uses 981,7 MB in Debug mode on my iPad.

167516-bildschirmfoto-2022-01-23-um-124928.png

Why is my iOS build much bigger than my Android build in debug and release mode? Are my build settings wrong?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,362 questions
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 66,056 Reputation points
    2022-01-23T17:13:01.02+00:00

    Two reasons,

    iOS does not allow jit compiling, so the the app is precompiled to native code which typically is larger. On android this is done when the app runs.

    An IOS app is universal, so it contains both a 32 bit version and a 64 bit version.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.