简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM