SQLitePCL.raw icon indicating copy to clipboard operation
SQLitePCL.raw copied to clipboard

No Xamarin.WatchOS support

Open dalexsoto opened this issue 7 years ago • 12 comments

It seems there is no support for Xamarin.WatchOS, I have added the bits in this PR https://github.com/ericsink/SQLitePCL.raw/pull/96 let me know if you need any changes 😄

dalexsoto avatar Sep 12 '16 11:09 dalexsoto

So I do my builds on Windows with Visual Studio. This works fine for iOS, but the WatchOS build fails due to a lack of the Xamarin.WatchOS.CSharp.targets file.

Any idea if this SHOULD work?

ericsink avatar Sep 12 '16 15:09 ericsink

mmm... well that is surprising let me find out, will get back to you asap

dalexsoto avatar Sep 12 '16 15:09 dalexsoto

@ericsink This will require the Xamarin version that is currently in beta channel, the one that has support for the new iOS 10 bits which should hit stable sometime this week according to Xamarin's release blog https://releases.xamarin.com/beta-preview-4-cycle-8/

Sorry, I totally forgot I was on beta channel

dalexsoto avatar Sep 12 '16 15:09 dalexsoto

Ah, very good. Thanks.

ericsink avatar Sep 12 '16 16:09 ericsink

@ericsink It seems we will need to wait a little longer https://bugzilla.xamarin.com/show_bug.cgi?id=44199

Currently you can't build watchOS library projects in VS, just in Xamarin Studio so until the above 🐛 is fixed we'll need to have the watchOS support out 😞 but thanks for having a look at it 😄 will let you know ASAP I hear more about it

dalexsoto avatar Sep 12 '16 17:09 dalexsoto

@ericsink nugget of knowledge which might be useful to you - With Cycle 8 (in STABLE) it is now possible to compile Xamarin.Mac MSIL assemblies in Visual Studio without a Mac. Similar behaviour to Xamarin.iOS MSIL assembly compilation when your attached Mac is detached/turned off.

ghuntley avatar Sep 21 '16 00:09 ghuntley

@ericsink Any chance you would have time to look at this again to see if it's now possible? I'm looking at using Akavache in my Xamarin.WatchOS App.

https://github.com/akavache/Akavache/issues/391

Thanks,

John

renzska avatar Nov 07 '17 16:11 renzska

(public reminder to self to review this again)

ericsink avatar Dec 07 '17 20:12 ericsink

@ericsink Merry Christmas, is there any update or workaround for this?

motoko89 avatar Dec 26 '17 00:12 motoko89

I've been digging into this problem a bit more, but it looks like I've got some more learning curve to climb before I can make real progress. Unfortunately, I have no experience developing for watchOS. But I still do hope to get this done.

ericsink avatar Dec 27 '17 16:12 ericsink

@ericsink I have no experience with C but I worked with WatchOS (Swift) and currently with Xamarin. Let me know if that is of any use in this case. Btw, FMDB is the native library that works with SQLite on WatchOS. I tried to create binding library but apparently I can only create Xamarin iOS binding, not Xamarin.WatchOS

motoko89 avatar Dec 28 '17 08:12 motoko89

A few things have improved over the years. You can now compile Mac and iOS assemblies without a Mac on a Windows computer as long as you have the "Xamarin" payload selected in the VS installer. Likewise VSTS and AppVeyor both support building this configuration.

aka

If folks still want to do this then help out eric as the ecosystem now supports your usecase without having to use my msbuild hacks.

ghuntley avatar Jul 24 '18 12:07 ghuntley

Closing old/stale issue.

ericsink avatar Sep 22 '22 21:09 ericsink