How can we help you today?

Xamarin iOS

Wilhelm Oks

I am trying to use the Wikitude Xamarin SDK for iOS but could not get it to work.

The main issue seems to be that the SDK is a Xamarin component with the file extension .xam.

That was used to install components before Xamarin has been bought by Microsoft and has been integrated into Visual Studio. And before Xamarin Studio on Mac has been replaced by Visual Studio for mac.

So i could not add the sdk directly. Not on Windows and not on Mac.

I also tried to unzip the content of the .xam File and add the ios dll to the Project as a reference, but that did now word either because the dll has a yellow exclamation mark on it, indicating that something is wrong with ist and the "using Wikitude.Architect;" can not resolve the Wikitude namespace.

I tried nuget but Wikitude but no results for "Wikitude" on nuget.

I tried to install it as an old Xamarin component by creating a Xamarin account but the old Xamarin Service seems to not exist anymore because I get an Error 503 from visual studio when trying to log in to the Xamarin Components Manager.

I also tried the Example project inside the .xam archive but it cannot run because it is 32bit.

Wikitude Technical Support

With our latest release this week, we also provide NuGet packages for Xamarin. Unfortunately they are not available from our download page at the moment so here are download links for iOS and Android.

You should be able to install them from your local file system if you define a new, 'local' NuGet source.

Since they are new, please let me know if you experience any problems with them.

Best regards,

Andreas

W

Wilhelm Oks

said
about 1 month ago

Hi Andreas

Thank you for your answer.

I did use the iOS Nuget from a local source on Windows and Mac OS.On both Systems, I got the error:"Package 'com.wikitude.xamarin.component 7.2.0' is not found in the following primary source(s): 'my_colal_path'. Please verify all your online package sources are available (OR) package id, version are specified correctly."

On Mac OS, the SDK was not added to my project but on Windows it did, dispite the error message.And on Windows I added a WTArchitectView and could run the App and see that view (I colored it yellow just to test it).So I assume that the SDK works on my system now. At least on Windows Visual Studio.

But I still would like to make it work on Mac OS and avoid the error message that I am getting trying to add the nuget package.

There is unfortunately another problem:The iOS Wikitude.SDK.dll is huge! It is 926 MB.I assume that the app will be shipped with that dll (because that is how dlls work, as far as I know. They are used at runtime). And it would make the app huge for no appearant reason for the consumer.Why is the dll so huge compared to the 16 MB for Android?And can it be reduced or can you provide a smaller version?