Hello,
Our android App compiles and runs normally. However, we are facing problems when compiling our application on IOS with an error that refers to the calendar component of telerik. The error is the following:
Gravedad Código Descripción Proyecto Archivo Línea Estado suprimido Error Can't resolve the reference 'System.IntPtr ObjCRuntime.DisposableObject::get_Handle()', referenced from the method 'System.Void TelerikUI.TKCalendarDayCell::DrawEvents(CoreGraphics.CGContext,CoreGraphics.CGRect)' in 'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. Aioro.iOS
XCode version 13.4
Xamarin ios SDK 15.2.0.17
Telerik Version: 2022.1.222.1
Xamarin Forms Version: 5.0.0.2337
Visual Studio: 16.11.15
MAC S.O Monterey 12.3
Thanks for the support.
Hi Aitor,
Could you please share what are the Linker settings on iOS?
Hi Didi,
I file a screenshot with my Linker settings.
We have the same error when compiling on iOS with the latest version of Telerik UI for Xamarin (2022.2.505.1).
The only way to compile is to set linker setting to "Don't Link".
XCode version: 13.2.1
Xamarin iOS SDK version : 15.2.0.17,
Xamarin Forms version: 5.0.0.2337
Visual Studio version: 16.11.15
Hi all,
We have submitted our Telerik UI for Xamarin app to the apple app store and we haven't received this error. Here is the Release configuration for iPhone https://github.com/telerik/telerik-xamarin-forms-samples/blob/86b8f1ced9c1e1c62a26046b2974b379c245fc09/QSF/QSF.iOS/QSF.iOS.csproj#L60
Please compare this csproj with the csproj you have on your side and if you set the MtouchLink inside the Release configuration for iPhone - remove it and check whether this will solve the issue on your side.
Hi,
As I wrote in my previous post, yes, it works with MtouchLink to "None" (don't link) but when we set it to "SdkOnly" (Link Framework SDKs only), it doesn't. why it doesn't work with "SdkLink" which is the default value of this setting?
Thanks.
Hi,
Same issue, when we change MtouchLink to "None" the app installs in the device but when I start de app it doesn't start, it closes all the time. When we change to "Link Framework SDKs only" the error appears again. I think the error of TKCalendarDyCell comes from Telerik and no from Xamarin Forms.
Have any idea how to solve it?
Hi,
We've updated Xamarin iOS SDK to 15.8.0.3 and it seems to work fine with linker set to "Link Framework SDKs Only".
Hi,
We've updated Xamarin iOS SDK to 15.8.0.3 but another error appears.
The error that appears is the following:
Gravedad Código Descripción Proyecto Archivo Línea Estado suprimido
Error Can't resolve the reference 'System.Threading.Tasks.Task`1<Firebase.Auth.AuthDataResult> Firebase.Auth.User::ReauthenticateAndRetrieveDataAsync(Firebase.Auth.AuthCredential)', referenced from the method 'System.Void Plugin.FirebaseAuth.UserWrapper/<ReauthenticateAndRetrieveDataAsync>d__29::MoveNext()' in 'Firebase.Auth, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Aioro.iOS
The version of Plugin.FirebaseAuth that we have is 4.1.0.
Hi all,
It seems the Xamarin.iOS version somehow is related to the linker behavior.
I have built an app in release mode for iPhone with linker setting to SdkOnly and the app runs as expected with no issues and exceptions. The app was build using Xamarin.iOS sdk 15.4.0.0
Please use Xamarin.iOS 15.4.0.0. version or above to build your apps in release mode with linker settings to sdk only
Aitor,
The issue you have with the Firebase is not Telerik related issue. I can suggest you contact the appropriate team for this issue.
If you can use the Xamarin.iOS sdk version 15.4.0.0 to test the app and share the final result with us.