FacebookSDK.a increasing installed app size dramatically on iOS with Unity - ios

I have tried this with an empty project. Integrating the FacebookSDK.a lib which is linked by the official Unity Facebook plugin makes the size of the installed app (appname.app) jump from 8~9MB to 70MB.
Note that I am not talking about ipa size which stays normal, but really the installed app size.
I don't think this is normal and I am wondering if there is a way not to link the FacebookSDK.a and do it with the normal FBSDKCoreKit.framework instead ? or actually any other way that doesn't have such a huge impact on installed app size.

Related

How to decrease iOS app size xcode 7.3

i have developed an iOS app and i'm using many 3rd party libraries suck as Google, Facebook, VLC ect, when i generate IPA i'm getting 92,5MB and when i upload it to appStore i get 200MB.
Is there a way to decrease it to arround 60MB ?
Make sure you have all optimisation switched on in Build Settings.
And yes, sometimes its easier to check library code on GitHub (if it open sourced) and implement necessary logic manually, that include whole library in the project. Swift projects quite bulky, need to keep all runtime libraries inside the app

Google Places iOS - App size is too large

I want to integrate the google places autocomplete service, in an iOS app. The problem with Google Maps SDK for iOS is the size of library. After install Google Maps(include Places) the increased the size to 130MB (before only 25MB).
My question is: is there some way to reduce that size? if not, how is a better solution to looking for an address? (with autocomplete)
Regards
To check the file size of the app in Xcode 8 and up.
First go to
~/Library/Developer/CoreSimulator/Devices/
and delete complete folder and build the application. Now you only have two folders specifically related to your current app.
First folder is the one in which you should be interested.
[First folder]/data/Containers/Bundle/Application/[Application
ID]/[app Name]
I believe you are concerned with the application's size, not the project.
The 130MB is the size of your project, not your Product/App. You can check the size of the app in your iPhone settings or if you use simulator:
/Users/[username]/Library/Application Support/iPhone Simulator/[simulator version]/Applications/[appfolder]/[product name]
If you are concerned with the project's size you could use Swift solution instead of downloading the whole Google Places API:
https://github.com/watsonbox/ios_google_places_autocomplete

How to reduce size of an iOS app built with kivy-ios?

We're building an iOS app using Kivy-iOS.
Our current app size is 397MB (as compared to 40MB for the same app deployed on Android using Buildozer).
We need to drastically reduce the size of this app but can't figure out how to do it.
Are there parts of the kivy-ios library that we could exclude to reduce the app size?
If so, how would we do it?
So far, we've gone one-by-one both within the tools folder of kivy-ios and within xCodes 'linked frameworks and libraries' but haven't been able to eliminate anything of substantial size while also successfully deploying the app.

size of iOS app in relation to project size

I'm making an iOS app on XCode and the project folder size was small, ~ 1MB. Then I needed a screen which showed some information and markers on a map, so I used Google Maps for iOS. This required me to add the Google maps framework into my project folder, so now the size is ~50MB. Will the size of the app be this huge? I have searched a LOT, and I can't find a way to check the size of my app without subscribing to the Apple Developer's Program (I am not ready to pay 99$ a year yet) and I do not have sudo privileges as well (I am trying out iOS app dev using a Mac in Cloud, it is not my own Mac).
I know it is a slightly stupid question, but I can't find solutions anywhere. If you feel compelled to downvote please at least leave a comment as to why you are doing so.
You can check the app size to following path:
/Users/saurav.nagpal(User)/Library/Application Support/iPhone Simulator/7.0/Applications/yourAppFolder/ProductName
It gives you exact size of your application.

IPA file size Flash Builder export

i'm going to build an IOS app for the IPad, and i made a quick test.api. My issue is that the size of the file is already 13 MB big. i added a video and a sound for testing (together like 9 MB) so i was wondering is there a minimum file size when making a ipa in Flash Builder?
Maybe around 4 MB?
13MB - 9MB = 4 MB?
and then 4MB is the standard ipa size.
Flex/AS3 mobile apps must include the SDK in the output in order to run. It is referred to as "Captive Runtime" and is an option on Android, but mandatory on iOS. Essentially, they are native apps that run as virtual machines that allow you to display your AS3/Flex apps on the device without a hint of Objective-C or Java. Those SDKs are far from small. If you look in %FlashBuilder Install Directory%/sdks/, you'll see that those SDKs can be close to 1GB in size. Obviously, that doesn't all get included, but from my experience, the smallest IPA I have ever created was around 8MB.
I don't have a solid answer for what the absolute minimum size of those SDKs are, and Google turned up nothing, but my guess would be somewhere between 4-8MB, depending on if you used Flex or not.

Resources