Anyline / anyline-ocr-examples-ios

Example configurations of the Anyline OCR SDK.
https://anyline.com
Other
49 stars 12 forks source link

CoreNFC crash #16

Closed akaraul closed 3 years ago

akaraul commented 3 years ago

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

davlhd commented 3 years ago

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"

akaraul commented 3 years ago

@davlhd hi, Anlyline installed from pods

davlhd commented 3 years ago

Can you double check the setting?

akaraul commented 3 years ago

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

akaraul commented 3 years ago

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

davlhd commented 3 years ago

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

akaraul commented 3 years ago

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
akaraul commented 3 years ago

Your app in the app store also crashes @davlhd https://user-images.githubusercontent.com/20819174/109933195-32b05b80-7cdc-11eb-9478-d7a0b98b20b8.MP4

davlhd commented 3 years ago

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

akaraul commented 3 years ago

@davlhd hi. when is the next release planned?

davlhd commented 3 years ago

The release is planned for this week

akaraul commented 3 years ago

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

davlhd commented 3 years ago

Yes it should be fixed

akaraul commented 3 years ago

@davlhd But your app from the app store still crashes

philippAnyline commented 3 years ago

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.

akaraul commented 3 years ago

@philippAnyline hi, thanks for the info

akaraul commented 3 years ago

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