JTZS
JTZS

Reputation: 83

iOS App's executable file size exceeded

In my project, when Valid Architectures is armv7 armv7s,the size of my app's executable file is 45MB.

But, when Valid Architectures is armv7 armv7s arm64 , the size of my app's executable file is 90+ MB.

So, when I submit my app , I got an error

invalid executable size, the size of your app's executable file app_Name is 94208000 bytes,which exceeds the maximum allowed size of 80MB.

I think,if add arm64, the code is compiled twice - once for 32 and once for 64-bit architectures. But the executable size is too large.

Do you have any idea what I can do about this?

Upvotes: 1

Views: 2798

Answers (2)

yano
yano

Reputation: 4453

You can drop support for armv7s. All those devices can use the armv7 slice. It is no longer needed, and not included by default in Xcode 6's settings.

Upvotes: 0

Ganesh Somani
Ganesh Somani

Reputation: 2360

Definitely this will happen as you are trying to build for multiple architectures.

I just found a similar post with some good suggestions for how to reduce build size. Please have a look at it.

Upvotes: 1

Related Questions