-
Notifications
You must be signed in to change notification settings - Fork 1
Description
When building an AOT configured iOS Release build with full trimming, receive this error performing firmware installation.
ObjCRuntime.RuntimeException: Can't register the class McuMgrBindingsiOS.IOSFirmwareInstaller when the dynamic registrar has been linked away.
at ObjCRuntime.Class.GetClassHandle(Type, Boolean, Boolean&) + 0x1b4
at Foundation.NSObject.AllocIfNeeded() + 0x54
at McuMgrBindingsiOS.IOSFirmwareInstaller..ctor(CBPeripheral, IOSListenerForFirmwareInstaller) + 0x28
at Laerdal.McuMgr.FirmwareInstallation.FirmwareInstaller.IOSNativeFirmwareInstallerProxy..ctor(CBPeripheral bluetoothDevice, INativeFirmwareInstallerCallbacksProxy nativeFirmwareInstallerCallbacksProxy) + 0x48
at Laerdal.McuMgr.FirmwareInstallation.FirmwareInstaller.ValidateArgumentsAndConstructProxy(CBPeripheral bluetoothDevice) + 0x44
Is this a limitation of the underlying nRF libraries or something fixable in the Laerdal.McuMgr library?