I've been building a tool for migrating CocoaPods projects to SwiftPM
▲ 10 r/foss+3 crossposts

I've been building a tool for migrating CocoaPods projects to SwiftPM

Hey,

I've been working on this for a while and thought I'd share it here.

It's called PkgLift and basically, I wanted an easier way to deal with moving older Xcode projects from CocoaPods to Swift Package-manager.

I know you can obviously do this manually but I didn't really like the idea of going through everything by hand, especially on projects with a many dependencies!

The thing I was worried about when building it was making a tool that just changes a bunch of stuff and assumes it worked. So PkgLift doesn't really work like that.

You first run:

pkglift analyze
pkglift plan

and it tries to work out what it actually knows how to migrate.

If it isn't sure about something it just leaves it alone instead of trying to guess.

Then you can check the plan yourself before actually changing anything.

If it looks good:

pkglift migrate --apply
pod install
pkglift verify

That's pretty much the idea.

It is still early and I'm sure there are plenty of CocoaPods setups that I haven't thought about yet, which is actually one of the reasons I'm posting it here.

You can install it with:

brew install Alexsvensson99/tap/pkglift

Repo:
https://github.com/Alexsvensson99/PkgLift

If anyone has an old CocoaPods project lying around and wants to try it, I'd be interested to know what happens. Especially if it fails on something weird :)

u/Plenty-Historian9510 — 4 days ago
▲ 3 r/IPhoneApps+1 crossposts

Perfeggtion – a slightly overengineered egg timer for iPhone

Hey!

I’m the developer of Perfeggtion, a small egg timer I released on the App Store a few days ago.

I got tired of the usual soft / medium / hard timers. An XL egg straight from the fridge obviously isn’t the same as a small egg at room temperature, and I wanted something that actually takes those differences into account instead of just giving everyone the same countdown.

Perfeggtion calculates a recommended cooking time based on things like egg type and size, how you want the yolk and white, starting temperature, number of eggs, water and heat, chilling and altitude.

You can save combinations you like as favorites, keep a history of previous cooks and make small adjustments if the result was a bit too soft or too firm.

I’ve also tried to make good use of iOS rather than just putting a timer inside an app. There are Live Activities and Dynamic Island support, Home and Lock Screen widgets, Siri / App Shortcuts, Spotlight and an iPad layout.

It’s a one-time paid app. No subscription, no ads, no account and no tracking.

It only went live a few days ago and I’m curious what people here think of it. I’m especially interested in hearing if anything feels unnecessarily complicated or if there’s something you’d expect an app like this to do that it currently doesn’t.

https://apps.apple.com/app/id6757096463

u/Plenty-Historian9510 — 10 days ago