2 ms·
I'm pretty sure that the reason for this is dependencies. People don't just write apps anymore. They write CocoaPods frameworks. I was just looking at somethi
by ChrisMarshallNY 7y ago
I'm pretty sure that the reason for this is dependencies.
People don't just write apps anymore. They write CocoaPods frameworks.
I was just looking at something that someone wrote that does basically the same thing as one of my open-source utilities.
The one I wrote is a 300-line file. It's so small that it isn't even worth writing a pod for it.
The more popular one has over a dozen source files, and also brings in two dependencies.
One of the reasons, I'm sure, is that they are an "all things to all men" approach. They do a lot.
Welcome to the Roaring Twenties...
- mikestew 7y agoGood thought that I hadn’t considered, but should have. Because when Apple did their big crackdown on private APIs, one of my apps got flagged. Yup, framework I was using.
- ryandrake 7y agoGood lesson to learn: know your dependencies. Before you pull in some third party library that you think is going to be an awesome time saver, dig in to it a little and figure out what it’s actually doing. Too many Kitchen Sink third party SDKs out there.
- acdha 7y agoAre you aware of any common libraries which aren’t ad packages but do ask for Bluetooth or Location Services by default? I’ve had a handful of apps which legitimately need to talk to devices but all of the inexplicable ones were clearly using ads and had privacy policies a mile long before I deleted them.
- ChrisMarshallNY 7y agoNo. I tend to avoid dependencies. When I do use them, I'm very careful, and I don't use CocoaPods for release software (only for development utilities, like SwiftLint). I use Carthage (or even -ick- submodules) for the rare dependencies that make it into my shipping software. I'm told that Bluetooth is used for location tracking. I suspect that advertisers also like to use it. I write Bluetooth software. You need to jump through a couple of hoops to make it work. Not a big deal.