Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I'm guessing you have quite a few dependencies as well. The problem with CocoaPods + Swift is that you have to use the '!use_frameworks' directive, which means all your dependencies are compiled into a Pods framework. This process is not optimised by Xcode (I'm guessing it assumes a framework is third-party software that should be messed with), leading to both longer compilations and slower app launches (the whole framework needs to be loaded into memory at once).
-
My advice to you is:
1- have fewer dependencies, if possible
2- use git modules if #1 above fails
I know git modules are a pain in a lot of parts of the body. However, I honestly think the cost of using dependencies must be on the developer, not on the user. -
awol679y@BellAppLab I'll talk to my buds in charge of managing the workspace. I believe we're already ignoring the frameworks. Modulizing might help but with short deadlines the major refactor required would get us fired probably. And you're right we've got a lot of dependencies.
Related Rants
-
arwinneil34Just found the best dev ever. https://alcohollick.com/tfw.html
-
dfox81As a long-time iPhone user, I am really sorry to say it but I think Apple has completed their transition to be...
-
rizasif9230Apple rejected my app, because they throught there was a frickin Windows phone on my loading screen. How inse...
I can't take this Swift compile time anymore. It's up to 40 minutes now and all we can say is "optimize the code" and "get faster computers"
undefined
swift
xcode
ios