Native Extension Swift Support

Hello, I’m currently developing an app using Defold, and I’m interested in integrating native extensions. I’ve noticed that Apple is deprecating certain APIs like StoreKit 1, and StoreKit 2 seems to only primarily support Swift.

I was wondering if there are any plans to introduce support for Swift language in native extensions within Defold?

Thanks in advance for any insights or information you can provide!

Possibly. We’re currently compiling Swift code in cocoapods, and I suppose we might be able to expand that to Swift also for the extension code. But it is not something we’ve planned for any time soon.

2 Likes

Aha, I totally get that Swift support for extension code might not be in the cards right away. Still, it’s awesome to hear that it’s at least maybe on your radar.

With Apple annoyingly (possibly) phasing out more Objective-C APIs, having Swift support for native extensions could be handy down the line.