react-native-geolocation-service icon indicating copy to clipboard operation
react-native-geolocation-service copied to clipboard

Large IPA file size - iOS

Open anastely opened this issue 4 years ago • 2 comments

Hey! First of all Thanks for this package, I have an issue with it on iOS.

As you know in the setup we add swift and bridging files, those make a size issue

So after deleting this package and related stuff (swift & bridging files) the IPA size down from 172 to 61 MB

I've opened this up to consider it. Regards

anastely avatar Feb 18 '21 17:02 anastely

Yes, using swift framework increases app size, but it shouldn't be this much as far as I know. There should be an option to strip swift symbols during archiving, can you check if it can reduce the size ? I'm not currently working in react-native projects, so can't test this.

Agontuk avatar Feb 26 '21 07:02 Agontuk

@anastely Apple will only bundle swift core library on older versions of iOS and also only required files. The true size of the app downloaded can be found in TestFlight. The IPA file contains code to support all CPU architectures so will be big.

ravirajn22 avatar Mar 15 '21 16:03 ravirajn22