SfKanban-Demo-Application crashes on Start when Debugging on iOS-Device with Xamarin Hot Reload on Windows 10 (VS 2019)

Hi,

I am having trouble trying to run the Kanban-Control (v18.2.0.44) on iOS. When I try to debug the Demo Application "https://github.com/syncfusion/xamarin-demos/tree/master/Forms/Kanban" on an iOS-Device with Xamarin Hot Reload on Windows 10 (VS 2019), I receive the following Exception (see Attachment for full Error-Stack):

[0:] An error occurred: 'Objective-C exception thrown.  Name: NSUnknownKeyException Reason: [<UICollectionViewCell 0x14f5bda30> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key CardContentView.
Native stack trace:
    0   CoreFoundation                      0x00000001a6366668 E2D6A76B-6879-31A3-8168-DF49F94E17CD + 1222248
    1   libobjc.A.dylib                     0x00000001a6088bcc objc_exception_throw + 56
    2   CoreFoundation                      0x00000001a626b918 E2D6A76B-6879-31A3-8168-DF49F94E17CD + 194840
    3   Foundation                          0x00000001a665a50c EEBCBA18-269A-351C-BCE0-D23E156923D4 + 206092
    4   UIKitCore                           0x00000001aa8cdd58 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 15605080
    5   UIKitCore                           0x00000001aa0b08f8 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 7096568
    6   CoreFoundation                      0x00000001a6241ad0 E2D6A76B-6879-31A3-8168-DF49F94E17CD + 23248
    7   UIKitCore                           0x00000001aa0adab0 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 7084720
    8   UIKitCore                           0x00000001a9c67ac0 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 2603712
    9   UIKitCore                           0x00000001a9c682f4 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 2605812
    10  Xamarin.PreBuilt.iOS                0x0000000100d8dc74 do_icall + 212
    11  Xamarin.PreBuilt.iOS                0x0000000100d8c388 do_icall_wrapper + 296
    12  Xamarin.PreBuilt.iOS                0x0000000100d82e04 interp_exec_method_full + 3128
    13  Xamarin.PreBuilt.iOS                0x0000000100d81238 interp_runtime_invoke + 336
    14  Xamarin.PreBuilt.iOS                0x0000000100be6d18 mono_jit_runtime_invoke + 904
    15  Xamarin.PreBuilt.iOS                0x0000000100c9522c mono_runtime_invoke_checked + 148
    16  Xamarin.PreBuilt.iOS                0x0000000100c98694 mono_runtime_invoke + 144
    17  Xamarin.PreBuilt.iOS                0x0000000100d786bc xamarin_invoke_trampoline + 5224
    18  Xamarin.PreBuilt.iOS                0x0000000100d7f3dc xamarin_arch_trampoline + 172
    19  Xamarin.PreBuilt.iOS                0x0000000100d7fff8 xamarin_arm64_common_trampoline + 64
    20  UIKitCore                           0x00000001a9c54f60 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 2527072
    21  UIKitCore                           0x00000001a9c59cc4 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 2546884
    22  UIKitCore                           0x00000001a9c5e07c F486088D-724E-3713-B9A5-7C9FE0A817D8 + 2564220
    23  UIKitCore                           0x00000001aa8ce7fc F486088D-724E-3713-B9A5-7C9FE0A817D8 + 15607804
    24  QuartzCore                          0x00000001ace6b494 3BA9AB80-F988-36E9-8A22-49FA9BAF7C92 + 1381524
    25  QuartzCore                          0x00000001ace715ec 3BA9AB80-F988-36E9-8A22-49FA9BAF7C92 + 1406444
    26  QuartzCore                          0x00000001ace7c128 3BA9AB80-F988-36E9-8A22-49FA9BAF7C92 + 1450280
    27  QuartzCore                          0x00000001acdc4b44 3BA9AB80-F988-36E9-8A22-49FA9BAF7C92 + 699204
    28  QuartzCore                          0x00000001acdee4e4 3BA9AB80-F988-36E9-8A22-49FA9BAF7C92 + 869604
    29  UIKitCore                           0x00000001aa4318d4 F486088D-724E-3713-B9A5-7C9FE0A817D8 + 10770644
    30  CoreFoundation                      0x00000001a62e490c E2D6A76B-6879-31A3-8168-DF49F94E17CD + 690444
    31  CoreFoundation                      0x00000001a62e4098 E2D6A76B-6879-31A3-8168-DF49F94E17CD + 688280
    32  CoreFoundation                      0x00000001a62df1fc E2D6A76B-6879-31A3-8168-DF49F94E17CD + 668156
    33  CoreFoundation                      0x00000001a62deba8 CFRunLoopRunSpecific + 424
    34  GraphicsServices                    0x00000001b044e344 GSEventRunModal + 160
    35  UIKitCore                           0x00000001aa41a3e4 UIApplicationMain + 1932
    36  Xamarin.PreBuilt.iOS                0x0000000100d8dc74 do_icall + 212
    37  Xamarin.PreBuilt.iOS                0x0000000100d8c388 do_icall_wrapper + 296
    38  Xamarin.PreBuilt.iOS                0x0000000100d82e04 interp_exec_method_full + 3128
    39  Xamarin.PreBuilt.iOS                0x0000000100d81238 interp_runtime_invoke + 336
    40  Xamarin.PreBuilt.iOS                0x0000000100be6d18 mono_jit_runtime_invoke + 904
    41  Xamarin.PreBuilt.iOS                0x0000000100c9522c mono_runtime_invoke_checked + 148
    42  Xamarin.PreBuilt.iOS                0x0000000100c9b8e0 mono_runtime_try_invoke_array + 1284
    43  Xamarin.PreBuilt.iOS                0x0000000100c43930 ves_icall_InternalInvoke + 1036
    44  Xamarin.PreBuilt.iOS                0x0000000100c53ad4 ves_icall_InternalInvoke_raw + 108
    45  Xamarin.PreBuilt.iOS                0x0000000100d8dc74 do_icall + 212
    46  Xamarin.PreBuilt.iOS                0x0000000100d8c388 do_icall_wrapper + 296
    47  Xamarin.PreBuilt.iOS                0x0000000100d82e04 interp_exec_method_full + 3128
    48  Xamarin.PreBuilt.iOS                0x0000000100d81238 interp_runtime_invoke + 336
    49  Xamarin.PreBuilt.iOS                0x0000000100be6d18 mono_jit_runtime_invoke + 904
    50  Xamarin.PreBuilt.iOS                0x0000000100c9522c mono_runtime_invoke_checked + 148
    51  Xamarin.PreBuilt.iOS                0x0000000100c9a4d0 mono_runtime_exec_main_checked + 128
    52  Xamarin.PreBuilt.iOS                0x0000000100bcb8f4 mono_jit_exec + 376
    53  Xamarin.PreBuilt.iOS                0x0000000100d7ecc4 xamarin_main + 2148
    54  Xamarin.PreBuilt.iOS                0x0000000100b93980 main + 84
    55  libdyld.dylib                       0x00000001a61668f0 0CB11832-70AD-3EC6-A191-AFB85E3BF348 + 6384
'. Callstack: '  at ObjCRuntime.Runtime.ThrowNSException (System.IntPtr ns_exception) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.20.2.2/src/Xamarin.iOS/ObjCRuntime/Runtime.cs:407
[...]


Regards,
Daniel


Attachment: Exception_88ec9334.7z

5 Replies 1 reply marked as answer

YP Yuvaraj Palanisamy Syncfusion Team August 10, 2020 01:16 AM UTC

Hi Daniel Schittkowski,  
   
Currently we are validating the reported query and we will update the complete details on or before 12th August 2020.  
  
Regards,  
Yuvaraj 



YP Yuvaraj Palanisamy Syncfusion Team August 14, 2020 11:13 AM UTC

 
We have checked your reported query and we can’t reproduce the reported problem at our end. Can you please share the following details, Which is helpful to serve you better solution for us. 
·       Windows Visual Studio version 
·       Mac Version 
·       IPhone Simulator version 
 
Regards, 
Yuvaraj 



DS Daniel Schittkowski replied to Yuvaraj Palanisamy August 15, 2020 02:36 PM UTC

 
We have checked your reported query and we can’t reproduce the reported problem at our end. Can you please share the following details, Which is helpful to serve you better solution for us. 
·       Windows Visual Studio version 
·       Mac Version 
·       IPhone Simulator version 
 
Regards, 
Yuvaraj 


Hi Yuvaraj,

I didn't meant Xamarin Hot Reload but Xamarin Hot Restart, so I don't need a Mac or a Simulator. I tested some of your Demo Applications for other controls and those work with Xamarin Hot Restart - only the Kanban-Control does not.

Have you tried to debug your Demo Application for the Kanban-Control (v.18.2.0.44) with Xamarin Hot Restart on an iOS-Device?

I am sorry for the confusion with Xamarin Hot Reload and Xamarin Hot Restart.

Thanks a lot for your help and best regards,
Daniel




YP Yuvaraj Palanisamy Syncfusion Team August 17, 2020 12:43 PM UTC

Hi Daniel Schittkowski,   
    
Currently we are validating the reported query with Hot Restart and we will update the complete details on or before 18th August 2020.   
   
Regards,   
Yuvaraj  



YP Yuvaraj Palanisamy Syncfusion Team August 18, 2020 02:00 PM UTC

Hi Daniel Schittkowski,    
  
Thanks for the patience. 
  
We have ensured the Kanban demo app with Xamarin Hot Restart, we were able to reproduce the reported issue at our end. Already we have logged this issue in Xamarin.Forms forum. We will update you, once we got solution from Xamarin.Forms forum.  
  
We would like to let you know that it works fine after upgrading Xamarin.Forms version above 4.1 and paired with mac. 
 
Regards, 
Yuvaraj 


Marked as answer
Loader.
Up arrow icon