iOS Dev Weekly - iOS Dev Weekly - Issue 605

What are the risks of using AI code generation tools? ☢️
 

iOS Dev Weekly

 
View on the Web    Archives

ISSUE 605  April 14th 2023

 
Comment

  Comment  

 

I recently found this Copilot X plugin for Xcode from Shx Guo, and it set me thinking about my concerns about open-source licensing in AI-generated code again.

Before I get into it, I’ll clarify the problem. It relates to the implications of using code licensed under “copyleft” and GPL-style licenses in the training data for tools like CoPilot and other software based on OpenAI Codex. While successful prosecutions of GPL violations are rare, they are not unheard of, and the implications can be serious.

This case may set a precedent if it proceeds, but right now, nothing is clear. I’m not on one side of the argument or the other, honestly. I’m certainly not an advocate for copyleft licenses, but I respect that they exist and certainly care about the potential risks of using these tools.

I’d love to know how big companies like Apple are handling this risk. I can’t imagine any reality in which Apple has not prohibited these tools internally. Imagine if an Apple employee working on some code in iOS or macOS, and it happened to generate some amount of GPL-licensed code. No matter how slim the chance of that happening, or the even smaller chance of it being proven to create a derivative work, a company like Apple can’t risk being forced to open-source sections of their operating systems against their will. All of this is before I even consider how unhappy Apple would be at having any of their code transmitted to the tool as a prompt, but that’s not the main issue I’m talking about here.

You may read this as a solo developer or a small company and think this could never affect you. That you’re too small to be a target of this kind of litigation. You’re almost certainly correct, but imagine a few years from now, in the final stages of due diligence with a large company trying to acquire your app and the innocent question of “Was any of your code written with AI code generation?” comes up. 😳

I also have concerns over the vast amounts of unpaid and uncredited human effort being turned into yet more profit for huge companies, but again, to attempt to keep this short-ish, I won’t go into that here.

All that said, avoiding all new technology based on AI isn’t the correct choice either. The explosion of AI tools over the past year is only the beginning, and it will be really easy to be left behind. I’ve experimented with Midjourney quite a lot, and I pay for and use ChatGPT daily. I even used it as a starting point when researching this comment! Even with all of the problems with the early iterations of these tools, they are fascinating and already useful.

Should Apple be working to integrate tools like CoPilot into Xcode? Many people would be thrilled if they did, and I’m sure it’s not this licensing worry holding them back. If they don’t, how long will it be until Xcode is perceived to be falling behind, and how long before that affects the developer perception of Apple platforms? There are way more questions than answers here.

In all likelihood, it will be extremely challenging to prove the source of AI-generated snippets from such a large model, and that’s before you even get to the argument of whether code using those snippets could be a derivative work. GitHub CoPilot also has a feature to block generated suggestions that match public code, and while that’s a good feature it also feels like it acknowledges that there is a problem.

I’d just be much more comfortable experimenting with Codex-based tools if OpenAI had not used GPL-licensed training data.

Dave Verwer  Permalink

 
 

  Sponsored Link  

 

Build a functional Twitter clone using APIs and SwiftUI

Check out Stream's 7-part tutorial series on how to build your own Twitter in four days with Stream Chat, Algolia, 100ms, Mux, and RevenueCat. Get started now.

gstrm.io  Permalink

 
 
 

  News  

 

Compose Multiplatform UI Framework

I’ve written about Kotlin Multiplatform in the past, but what about Jetpack Compose, the declarative UI framework that looks and feels a lot like SwiftUI? JetBrains announced this week that the 1.4.0 release of their Compose Multiplatform UI Framework now supports iOS apps in alpha. You should give their marketing page a read if that sounds interesting.

jetbrains.com  Permalink

 
 

  Tools  

 

Copilot for Xcode Works Okay

Talking of CoPilot, Christian Tietze tried it, too.

Am I now complicit in exploiting closed-source authors whose code GitHub stole? Or GPL’ed code that is copy-and-pasted without attribution and without GPL’ing my own code, thus violating the license?

He has similar concerns to me. I read his post after writing the comment above, but he could not have timed this post better!

christiantietze.de  Permalink

 

Filter Xcode's Project Navigator to only show modified files

I don’t use Xcode to interact with git, but that doesn’t mean all of the source control features are useless to me. This is a great tip from Jesse Squires.

jessesquires.com  Permalink

 
 

  Code  

 

Canopy for CloudKit

Here’s Jaanus Kase with the announcement of Canopy, a wrapper around the CloudKit APIs that seems to focus primarily on testing. Testing your CloudKit storage has never been particularly easy, so this might solve some problems for you. 👍

justtact.com  Permalink

 

What I Learned Writing My Own CloudKit Syncing Library

Here’s more CloudKit syncing talk! This time from Ryan Ashcraft, who has been working for the past two years on CloudSyncSession, a CloudKit sync library that does not have a hard dependency on Core Data. The blog post is comprehensive documentation, too.

ryanashcraft.com  Permalink

 

Mastering Canvas in SwiftUI

We’ve not had any SwiftUI articles this week! So, let’s fix that with Majid Jabrayilov’s take on SwiftUI’s Canvas, including a section about combining Canvas and TimeLineView to allow animation!

swiftwithmajid.com  Permalink

 
 

  Business and Marketing  

 

Phased Releases

The phased releases feature of the App Store is great, but you don’t see it talked about much. Stuart Wheelwright changed that this week by writing up how and why he uses it.

shoppingukapp.com  Permalink

 
 

  Jobs  

 

Apple Platforms Developer @ Cascable AB – Cascable is a small "indie" company based in Stockholm, Sweden. This is the job for you if you love working with and learning about multiple technologies. We have UIKit, AppKit, SwiftUI, and Swift-on-the-Server (Vapor) across our suite of products, and you'll be working with all of them! – On-site (Sweden) with some remote work (within European timezones)

Senior iOS Engineer @ Reveri – We’re looking for an experienced, adaptable, and engaged Senior iOS Engineer looking to make a genuine positive difference in our member’s lives through self-hypnosis. 100% SwiftUI codebase, iOS 15+, Combine, and Concurrency. Small team, 3 iOS, 2 Android Engineers, every role has impact. – Remote (within European timezones)

SwiftUI and TCA Developer @ MFB Technologies, Inc. – We make Align, an enterprise platform used by top trial lawyers. Looking for a motivated dev to join our iOS team and help us add new features and integrations to our iPad client. The client app is written entirely in SwiftUI using The Composable Architecture (TCA) framework. U.S. residents only. – Remote (within US timezones)

 Permalink

 

Are you or your company hiring? You know where to click to list your open positions for free!

 Permalink

 
 

  And finally...  

 

Who else believe’s that Swift’s boolean type when being initialised from a String should also convert YES to true? Until then, we have this. ❤️

 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.
 
Shiny Development Ltd. Daresbury Innovation Centre Keckwick Lane Daresbury Cheshire WA4 4FS United Kingdom
 
 

 
 

RSS

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

Key phrases

Older messages

iOS Dev Weekly - Issue 604

Friday, April 7, 2023

Did you win a golden ticket? View on the Web Archives ISSUE 604 April 7th 2023 Comment Congratulations if you received a golden ticket to the show! I'd have loved to be there this year, but again

iOS Dev Weekly - Issue 603

Friday, March 31, 2023

Dub dub dee ceeeeee! 🎉 View on the Web Archives ISSUE 603 March 31st 2023 Comment This week's announcement of WWDC snuck up on me a bit. Is it that time of year already? Yes, it is, and as I am

iOS Dev Weekly - Issue 602

Friday, March 24, 2023

Some big news for the Swift Package Index 🚀🎉😳 View on the Web Archives ISSUE 602 March 24th 2023 Comment Note: Before starting this week's intro, I want to emphasise that I am not an impartial

iOS Dev Weekly - Issue 601

Friday, March 17, 2023

When does consistency *truly* matter? 🤷‍♂️ View on the Web Archives ISSUE 601 March 17th 2023 Comment It doesn't all need to look the same. I'm sure I'm not the only person mildly

iOS Dev Weekly - Issue 600

Friday, March 10, 2023

What do you get if you push a button six hundred times? 🤷‍♂️ View on the Web Archives ISSUE 600 March 10th 2023 Comment If you told me I had to sit at my desk and push a button 600 times, you'd

You Might Also Like

📧 Did you want this discount?

Thursday, May 2, 2024

Your chance to save on MMA is about to end. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Scoop: Tiger Global-backed Innovaccer in talks to raise $250M

Wednesday, May 1, 2024

Plus: An update on Google's layoffs and the social platform X didn't see coming View this email online in your browser By Christine Hall Wednesday, May 1, 2024 Welcome to TechCrunch PM. Today,

🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring

Wednesday, May 1, 2024

Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a

Daily Coding Problem: Problem #1428 [Hard]

Wednesday, May 1, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such

Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More

Wednesday, May 1, 2024

Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or

Infographic | Visualizing Global Gold Production in 2023 🏅

Wednesday, May 1, 2024

Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history

⚙️ GPT-5 may be releasing sooner than expected

Wednesday, May 1, 2024

Plus: Amazon rebrands AI branch ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Noonification: How to Create a CI/CD Pipeline Using GitHub and AWS EC2

Wednesday, May 1, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 1, 2024? The HackerNoon Newsletter brings the HackerNoon

Arc for Windows is better than Chrome

Wednesday, May 1, 2024

Adobe bug bounty; Rabbit's first R1 software update; Dream podcaster mic -- ZDNET ZDNET Tech Today - US May 1, 2024 placeholder Arc browser is now available for Windows and it's so much better

Is TikTok trying to get banned from the App Store early?

Wednesday, May 1, 2024

TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and