iOS Dev Weekly - iOS Dev Weekly - Issue 676

What's happening with CocoaPods these days? It's time for an update from the team.
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 676  August 30th 2024

 
Comment

  Comment  

 

I don’t know how I missed Orta Therox announcing that CocoaPods is in maintenance mode a couple of weeks ago, but I did! Or, to be accurate, the post clarifies that CocoaPods has been in maintenance for a while now:

Strictly speaking,we don’t plan on changing how we’re maintaining CocoaPods*. We’re just going to start being clear how CocoaPods has been maintained:*

SwiftPM had a slow start. Apple announced it in 2015 but didn’t see significant usage until four years later when they shipped iOS and macOS support. The writing was on the wall for CocoaPods with support for those platforms, but it’s a slow process to convince people they should switch dependency managers. It’s hard for teams to prioritise work like that when the old system isn’t broken, and CocoaPods wasn’t (and isn’t) broken!

That said, we’re now five years further on, and it feels like most teams eventually found time to migrate. SwiftPM is now the dominant dependency management tool for Swift, and that’s a good thing.

Of course, if you still want or need to use CocoaPods, the post has some very good news for you. CocoaPods is not going away any time soon. In fact, the team is committing to biannual maintenance releases to keep up with new versions of Xcode. You can also expect security updates if issues arise. There’s just no feature work planned.

This announcement is a great time to say an enormous thank you to everyone who worked on the CocoaPods team over the years. You made an incredible tool that saved millions of people time and filled a gaping hole in the Objective-C and Swift ecosystems and the project was exceptionally well-operated. Your innovation made things possible for millions of developers.

I also want to thank Orta for making this announcement. It’s never easy to communicate something like this well, and there’s never a right time to do it. I’m really happy that we have clarity on the plan.

Thank you all for your work over the years.

Dave Verwer  Permalink

 
 

  Sponsored Link  

 

Efficient iOS deployment: 50+ Workflow Recipes for better CI/CD Performance

Looking for ways to speed up builds, automate tests, and release iOS apps faster? Check out Bitrise’s “Masters of Efficiencies,” 50 workflows to save time and deploy higher quality code. This comprehensive guide includes modular code configurations and plug-and-play workflows that streamline mobile development, reduce errors, and boost productivity. Download the guide today.

bitrise.io  Permalink

 
 
 

  News  

 

Skip

I had a thought as I felt my scepticism rising while browsing the marketing material for this new cross-platform UI (iOS and Android) solution that uses Swift and SwiftUI. It doesn’t need to be as good as using SwiftUI or Jetpack Compose, it only needs to be better than Flutter, React Native, and friends.

So, is it? I haven’t tried it, but it does sound promising after reading the FAQ. This might be worth a look if you’re staring down the barrel of a new cross-platform app.

skip.tools  Permalink

 
 

  Tools  

 

Swift Build Times and Module Verification

Paulo Andrade recommending using Xcode’s Build with Timing Summary feature:

Building with timing summary is your friend. Don’t forget to call it periodically to see what’s up.

He reduced his debug builds from 3.5 minutes to less than a minute. Could you be missing a similar saving?

pfandrade.me  Permalink

 
 

  Code  

 

SwiftOpenAIProxy

What an interesting new package from Ronald Mannak. The readme recaps the tragic story of his OpenAI API key being discovered and used without his permission. It inspired him to create this Hummingbird server app that validates App Store receipts before passing back an API key. This is clearly useful in apps using OpenAI or similar APIs, but you could adapt the concept to any data based on an IAP or subscription. What a great idea!

swiftpackageindex.com  Permalink

 

JavaScript to Swift and back: Bridging location services in WKWebView

This post is not only a tutorial on working around a double pop-up alert situation from location services from an embedded web view. It’s also a nice walkthrough of two-way communication between JavaScript in the web view and Swift in the host app.

swiftlybald.com  Permalink

 

Send data Between iOS Apps and Extensions

No, not NSNotificationCenter and friends, instead Rizwan Ahmed dives a little deeper than that into Darwin notifications. One key benefit is that they aren’t limited to your app’s process, which makes them suitable for IPC with your app extensions.

ohmyswift.com  Permalink

 

Can a broken iPhone screen get a Snapchat account banned?

Finn Voorhees makes a good point in his latest blog post:

After a bit more research, I remembered the DeviceCheck framework. DeviceCheck allows developers to set and query two bits of data per device, which persist across app deletions, reinstalls, factory resets, and even device transfers between users. Apple’s documentation suggests using this for limiting free trials to once per user or banning devices with known fraudulent activity. They even mention that developers are responsible for resetting these bits when a device changes ownership, but it’s unclear how developers could verify that this has occurred.

It’s true that the documentation suggests:

You’re also responsible for determining when to reset the bits for a given device; for example, when a user sells the device to someone else.

Developers have no way for a device to notify them when a device gets sold or reset by Apple as part of a refurbishment. So, if you use these bits, make sure you can reset them if you get a support request like Finn’s!

finnvoorhees.com  Permalink

 
 

  Business and Marketing  

 

Writing Great Release Notes Doesn't Need to Be Hard

There are some great tips on writing engaging release notes, and in fact on writing anything, in Eli Perkins’ latest blog post. The only slight hiccup is that since Apple switched everyone over to automatic updates, it’s rare for anyone to look at them. I know it’s been many years since I visited that screen.

Don’t give up, though! There are far more effective outlets for letting your most passionate users know what has changed with your software, like an opt-in newsletter, a company blog, or social media. Get writing. ✍️

eliperkins.com  Permalink

 
 

  Jobs  

 

Mobile Developer (iOS) @ Planning Center – Our Mobile Team works on both iOS and Android. While focuses are leveraged, there is a healthy bit of collaboration in the execution of how things are released. – Remote (within US timezones) with some on-site work (United States in CA)

iOS Engineer @ Pika Earth – We're a high-growth, Sequoia backed climate tech company. iOS is our main user surface area, so you'll be responsible for many high-impact features that touch our core users. There are a ton of interesting technical problems, from offline mode to AR/VR modeling, and we have a world-class team. – On-site (United States in CA or NY) with some remote work (within US timezones)

 Permalink

 

Don’t forget that you can post any open Swift or Apple platform jobs for free over at iOS Dev Jobs. Get yourself a new colleague who's already subscribed to iOS Dev Weekly. 😂

 Permalink

 
 

  And finally...  

 

What’s that in your expansion slot? Is it a Macintosh Plus? 🤷‍♂️

 Permalink

 
You received this email because you subscribed via the iOS Dev Weekly site.
We'll be sorry to see you go but you can unsubscribe instantly.
 
iOS Dev Weekly is published by Verwer Services Ltd. with a registered office at 5 Albert Road, Southsea, Hampshire, England, PO5 2SE.
 
 

 
 

RSS

 
©2024 iOS Dev Weekly | Privacy Policy | Mastodon | Suggest a Link
 
Published with Curated

Older messages

iOS Dev Weekly - Issue 675

Friday, August 23, 2024

Will there be two app stores and two app store teams? 🔄 View on the Web Archives ISSUE 675 August 23rd 2024 Comment If you've been reading for a while, you'll know I rarely talk about rumours,

iOS Dev Weekly - Issue 674

Tuesday, August 20, 2024

It's so nice to see an app store that isn't focused on extracting the most profit possible succeed! ❤️ View on the Web Archives ISSUE 674 August 16th 2024 Comment I can't find it in the iOS

iOS Dev Weekly - Issue 673

Friday, August 9, 2024

Is the race to the bottom now a race to the top? 📈 View on the Web Archives ISSUE 673 August 9th 2024 Comment I'm sure you already read this week's news that Apple's profit from services is

iOS Dev Weekly - Issue 672

Friday, August 2, 2024

Links, links, and more links. That's what this issue is all about! ⛓️ View on the Web Archives ISSUE 672 August 2nd 2024 Comment Sometimes I have so much to write here I can't decide which

iOS Dev Weekly - Issue 671

Friday, July 26, 2024

There are two types of apps on the visionOS App Store. Will you create an app that makes people reach for the headset? 🥽 View on the Web Archives ISSUE 671 July 26th 2024 Comment In the last two weeks

You Might Also Like

Weekend Reading — More time to write

Sunday, November 24, 2024

More Time to Write A fully functional clock that ticks backwards, giving you more time to write. Tech Stuff Martijn Faassen (FWIW I don't know how to use any debugger other than console.log) People

🕹️ Retro Consoles Worth Collecting While You Still Can — Is Last Year's Flagship Phone Worth Your Money?

Saturday, November 23, 2024

Also: Best Outdoor Smart Plugs, and More! How-To Geek Logo November 23, 2024 Did You Know After the "flair" that servers wore—buttons and other adornments—was made the butt of a joke in the

JSK Daily for Nov 23, 2024

Saturday, November 23, 2024

JSK Daily for Nov 23, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Not Ready For The Camera 📸

Saturday, November 23, 2024

What (and who) video-based social media leaves out. Here's a version for your browser. Hunting for the end of the long tail • November 23, 2024 Not Ready For The Camera Why hasn't video

Daily Coding Problem: Problem #1617 [Easy]

Saturday, November 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. You are given an string representing the initial conditions of some dominoes.

Ranked | The Tallest and Shortest Countries, by Average Height 📏

Saturday, November 23, 2024

These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3

⚙️ Your own Personal AI Agent, for Everything

Saturday, November 23, 2024

November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital

Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?

Saturday, November 23, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 23, 2024? The HackerNoon

🐍 New Python tutorials on Real Python

Saturday, November 23, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Black Friday Giveaway @ Real Python This Black

Re: Hackers may have stolen everyone's SSN!

Saturday, November 23, 2024

I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for