Anyline/anyline-ocr-examples-ios

CoreNFC crash

akaraul opened this issue · 17 comments

On iPhone 6 with iOS 12.5.1 the application crashes:

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: /System/Library/Frameworks/CoreNFC.framework/CoreNFC | Referenced from: /private/var/containers/Bundle/Application/Frameworks/Anyline.framework/Anyline | Reason: image not found
Triggered by Thread: 0

Hello,
have you added the Anyline framework and chosen Embed & Sign?
You can find that option in the "General" tab of the application under "Frameworks, Libraries, and Embedded Content"

@davlhd hi, Anlyline installed from pods

Can you double check the setting?

image
Why should it be here if Anyline is installed via pods?

Crash only on iOS 12.5.1 and so far it is known that only on iPhone 6. On other devices, everything is ok

Thats strange. Can you please try to add it manually and see if that changes anything?

I tried to run your sample project on an iPhone 5s with iOS 12. Got a crash again @davlhd
But on iPhone XR (iOS 14) everything is fine.

Check this: https://developer.apple.com/forums/thread/106057
I tried adding the CoreNFC framework as an optional but it didn't help.

UPD: The application starts only with version Anyline 25

Screenshot 2021-03-04 at 10 44 38

We opened a ticket for this issue and will hopefully be able to fix this in the upcoming release.

@davlhd hi. when is the next release planned?

The release is planned for this week

@davlhd Hi. Is the problem fixed in the new release?

Yes it should be fixed

@davlhd But your app from the app store still crashes

Hi @akaraul, short update from our side, sorry for the miscommunication: We are currently testing a fix for the core nfc crash and will release a hotfix as soon as possible. I hope we can get everything ready until Monday.

@philippAnyline hi, thanks for the info

@davlhd @philippAnyline the problem is fixed in version 29.1. Thanks