iink SDK on Device

MyScript v1.4 crashing on older simulators and possibly devices.

Hi,

I recently updated to v1.4 and I am encountering a crash on this line of code (SIGABRT)

guard let engine = IINKEngine(certificate: data) els

The following is printed on the console:

   

dyld: lazy symbol binding failed: Symbol not found: _objc_alloc_init
  Referenced from: /Users/MyUser/Library/Developer/CoreSimulator/Devices/{MySimulatorID}/data/Containers/Bundle/Application/{MyApp ID}/MyApp.app/MyApp
  Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_alloc_init
  Referenced from: /Users/MyUser/Library/Developer/CoreSimulator/Devices/{MySimulatorID}/data/Containers/Bundle/Application/{MyApp ID}/MyApp.app/MyApp
  Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib

Please note, we were able to recreate this crash is on simulator having iOS 10.3.1, 11.3 and 12.0. Everything is working fine on iOS 13 devices and simulators.

Please let me know if you need more information.

Thanks,

Vaibhav  


1 person has this question

To add to above, I used .a files from "ios-x64+armv7+arm64" folder.

Dear Vaibhav,


thank you for contacting us.


This has normally been solved. Can you please download the latest 1.4.1 packages, and confirm it works?


Best regards,


Olivier

Yes, it's fixed in v1.4.1.

Thank you.