Skip to content

Reduce app size #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mikew opened this issue Dec 26, 2018 · 0 comments
Open

Reduce app size #2

mikew opened this issue Dec 26, 2018 · 0 comments

Comments

@mikew
Copy link
Owner

mikew commented Dec 26, 2018

Built apps are ~14M. A good chunk of that is just swift:

$ du -shc Contents/Frameworks/*
236K	Contents/Frameworks/libswiftAppKit.dylib
6.2M	Contents/Frameworks/libswiftCore.dylib
 96K	Contents/Frameworks/libswiftCoreData.dylib
 40K	Contents/Frameworks/libswiftCoreFoundation.dylib
200K	Contents/Frameworks/libswiftCoreGraphics.dylib
 48K	Contents/Frameworks/libswiftCoreImage.dylib
104K	Contents/Frameworks/libswiftDarwin.dylib
340K	Contents/Frameworks/libswiftDispatch.dylib
2.9M	Contents/Frameworks/libswiftFoundation.dylib
 44K	Contents/Frameworks/libswiftIOKit.dylib
 92K	Contents/Frameworks/libswiftMetal.dylib
 60K	Contents/Frameworks/libswiftObjectiveC.dylib
 60K	Contents/Frameworks/libswiftQuartzCore.dylib
 44K	Contents/Frameworks/libswiftXPC.dylib
 76K	Contents/Frameworks/libswiftos.dylib
 11M	total

Although this project was started to learn Swift, maybe Objective-C would drastically reduce the final app sizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant