Rahul Jat
Rahul Jat

Reputation: 706

how can i reduce expo build ios size, it is around 188 MB,

I have successfully run the expo build: ios command but the resultant IPA file is close to 188MB which is really strange as the app has only a few pages with listViews etc. What may be the reason for such a huge size? The same build size for Android is only about 22MB.

Upvotes: 2

Views: 1438

Answers (1)

Rajesh N
Rajesh N

Reputation: 6673

I had the same problem with Expo. Then I Create Project with Bare workflow in Expo.

Using these i can still use all feature of Expo like running app using bar-code etc.

With this work flow android and ios folder are created and you have complete control on the project.

Then I build apk and ipa as we do using react-native-cli and Result is APK reduced from 50 MB to 18 MB. And iPA reduced from 190 MB to 5 MB.

Using bare work flow you can use react-native-cli node module as well.

Building ipa and apk using expo build:platform always increase size of build.

Upvotes: 2

Related Questions