-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[xcode11-feature] Swift Libraries (CryptoKit and RealityKit) #6239
Comments
Just a comment, if binding to Swift natively is too difficult (although it should be easier now that the ABI has been fixed), we could always write a Swift library that exposes |
Any news on this ? Now that SceneKit is officially out, RealityKit is the way to go. And it's in swift only. |
Hey folks, while not a full solution the prototype in #15315 might help resolve part of the issue, depending on what APIs you need. |
Any progress on RealityKit ? https://developer.apple.com/augmented-reality/realitykit/ C# wrappers ? Thanks |
There is no current progress on this issue. However, using this prototype you could potentially bind the subset of the API you need yourself. |
Has there been any update on this. I have tried to bind RealityKit and have been unsuccessful multiple times. I have been working on this for months due to needing to create a LiDar scanning application with Xamarin. Is there any more news on this? I just need something. Is there anyone out there that has been successful in binding the swift only framework ? I would love to know ! |
CryptoKit is now the 3rd library (after StoreKit2 & WidgetKit) that I wanted to use, just to find out it is not supported. Really hope there will be some progress is making Swift-APIs available... |
I just found out that in .NET8, the |
Not really, in dotnet/runtime this was partially implemented in Swift, by creating C-style functions in Swift that were then consumed from C# using DllImports. In other words this is all custom, manually written, code. Exposing entire frameworks like this is quite labor intensive, and not feasible with the manpower we have available. |
Do we know whether Microsoft intends to ever support Swift Libraries? This seems quite critical to supporting the iOS platform going forward. Xamarin as a company seemed to make it their core mission to supporting all iOS and Android functionality (with same-day OS support as well). |
Yes this is on our radar and we intend to look into this in the future, I do not have a timeline for you just yet but it is something we will be actively looking into. |
@dalexsoto Thanks for the update. Much appreciated. |
@dalexsoto @rolfbjarne @jamesmontemagno @jfversluis |
Swift support is actively being worked on in dotnet/runtime (see dotnet/runtime#95633 for some of it), but it's a lot of work, so it'll take a while until we can actually use the Swift support for bindings (current estimate: not before .NET 11). |
Thanks for reply, If you can share some details like how it works may be i can try to help |
If you want to help, the best way would be to ask the runtime about it on that issue (dotnet/runtime#95633). |
Both CryptoKit and RealityKit are Swift-only, with no Objective-C binding.
Infrastructure to work on swift is in work but not public currently.
If we wish to support these libraries, we need to figure out what shipping a Swift library binding truly entails.
The text was updated successfully, but these errors were encountered: