• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by timchiang · Jun 21, 2012 at 02:59 PM · size

Really big iOS release

Hi All, I build a iOS app from unity. but my ipa seems is almost 70mb , it really to large for me. after that I try to build a empty project in unity. the ipa is smaller , but the app file is nearly the same as my project.

then I found there is a file named "libiPhone-lib.a" this one appears 336mb .

anyone can tell me how can I reduce my app size , it seems the demo ipas from unity are not so large like "angrybots"

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image DannRees · Feb 10, 2015 at 08:33 PM 0
Share

Same problem here. 288mb!

Also the added annoyance of not being able to commit it to Github.

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by zastrow · Jul 12, 2015 at 07:42 PM

This is an old post, but with no solution so here's mine;

Go to Build Settings and check: Symlink Unity Libraries.

You'll find your build size folder drop down to normal levels.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by jason-yi-kai · May 11, 2013 at 12:42 AM

I have the same problem where libiPhone-lib.a is way too big(321mb). Help will be kindly appreciate. :)

Thank you

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by quile · Sep 07, 2016 at 03:23 PM

Share from Unity Teachnology:

I created empty project with Unity 5.3.4p1. Archived it in Xcode 7.3 and exported with distribution profile for App Store deployment and did following analysis.. IPA size was: 159MB (Unity-iPhone.ipa) Then I extracted it and got following folders: 18MB BCSymbolMaps (these are symbol files supporting Bitcode, won't be delivered to end user)
 243MB Payload (includes game assets, extra files and executable, which was 238M) 58MB Symbols (these are symbol files, won't be delivered to end user) Now I had to analyze Payload, which was mostly executable + standard engine assets. Since assets were only ~5 MB, I won't dig into that, but rather focus on executable. I analyzed it with otool, by running it twice: 1) otool -arch armv7 -l exec_name, 2) otool -arch arm64 -l exec_name. Then I checked included segment sizes: 1. armv7: 1. TEXT segment (code): 7.5 MB 2. DATA segment (various static fields for code and il2cpp metadata): 0.3 MB 3. LLVM (Bitcode) segment: 111.1 MB (will be stripped by Apple servers and won't be delivered to end users). 4. LINKEDIT (linking with dynamic libraries) segment: 0.9 MB 2. arm64: 1. TEXT segment (code): 8.4 MB 2. DATA segment (various static fields for code and il2cpp metadata): 0.5 MB 3. LLVM (Bitcode) segment: 110.2 MB (will be stripped by Apple servers and won't be delivered to end users). 4. LINKEDIT (linking with dynamic libraries) segment: 0.8 MB Exec size without Bitcode for armv7 is 8.7 MB and for arm64 it is 9.7 MB. Total exec size without Bitcode: 18.4 MB Estimated installation size (exec + assets): 23.4 MB Expected download size without app thinning : 1.25 MB (compressed assets) + 15.9 MB (TEXT segment, which doesn't compress well because of encryption) + 0.5 MB (DATA+LINKEDIT, they compress pretty well) = 17.65 MB

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

why the Apk file size is too larger after build........? 2 Answers

Large bundles caching problem 0 Answers

Why does a simple scene take up almost 50mb on android? 1 Answer

the bullet is same size then the player how can i resolve that ? 0 Answers

Updating app in GP 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges