blinkid-flutter icon indicating copy to clipboard operation
blinkid-flutter copied to clipboard

Implementation for ios : not found object signResult, digitalSignature and digitalSignatureVersion

Open mohachouch opened this issue 3 years ago • 11 comments

Hello,

I try Blink on ios with flutter but I have the following errors :

/Users/mohamedchouchane/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:46:24: error: property 'signResult' not found on object of type 'MBUsdlCombinedRecognizer *' /Users/mohamedchouchane/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:74:39: error: property 'digitalSignature' not found on object of type 'MBUsdlCombinedRecognizerResult *' /Users/mohamedchouchane/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:75:74: error: property 'digitalSignatureVersion' not found on object of type 'MBUsdlCombinedRecognizerResult *'

Thanks for your assistance

mohachouch avatar Feb 04 '22 15:02 mohachouch

Hi @mohachouch

Would you mind sharing the steps on how did you reproduce the mentioned exception?

Was the issue reproduced with our sample application, or when you tried to integrate the plugin into your project? Also, was the issue reproduced with the current latest version (v5.15)?

Regards, Milan

mparadina avatar Feb 04 '22 15:02 mparadina

Thanks @mparadina for your response :

I integrated the tool in my application.

I use the following versions:

iOS Target 13 flutter 2.8.1 blinkid_flutter 5.15.1

Thanks

mohachouch avatar Feb 04 '22 16:02 mohachouch

@mparadina The error is because of the new version 5.15.1, I forced the version to 5.15.0 and the compilation is ok.

image

mohachouch avatar Feb 07 '22 07:02 mohachouch

Hello, v5.15.0 is retracted from pub.dev, and v5.15.1 is not compiling (see logs above). Remarks pretty same same symptoms as @mohachouch, can you provide support, we can't build our product anymore. I precise that we have a valid licence (p42 company). We need last version wich include last id cards.

error.txt

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.8.1, on macOS 11.5.2 20G95 darwin-x64, locale en-FR) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)

volvicoasis avatar Feb 08 '22 19:02 volvicoasis

@volvicoasis You can force the version of blink 5.15.0 in the podspec

image

mohachouch avatar Feb 09 '22 09:02 mohachouch

Thx dude @mohachouch , we use in our Podfile => pod 'PPBlinkID', '5.15.0'

volvicoasis avatar Feb 09 '22 18:02 volvicoasis

Hi @volvicoasis,

Just to confirm, did @mohachouch's suggested solution solve the issue?

Regards, Anja

anjapenic avatar Feb 10 '22 11:02 anjapenic

Hello, yes, it is working in order to compile. But we are not happy at all. First this morning we understood that our contract will be more expensive for this year. Second we need the last version in order to manage a new id card from France.Please, try on your side with flutter 2.8.1 and the last version of v5.15.1 on ios. You will see that specifying podspec is not a good solution at all since we dont have new features.

KR, Jacques

volvicoasis avatar Feb 10 '22 13:02 volvicoasis

Hi @volvicoasis,

We've added support for the new France ID in v5.15.0, so there should be no issues with that document when using v5.15.0. If you're experiencing any issues regarding the new France ID, please let us know so we could check it out. There were no major changes between v5.15.0 and v5.15.1, we've only updated our newly rebranded logo.

We're aware of the issue with BlinkID Flutter v5.15.1 and are working towards fixing it in v5.16.0. In the meantime, please use v5.15.0 and let us know if you encounter any issues.

Best regards, Anja

anjapenic avatar Feb 10 '22 15:02 anjapenic

I have the same issue on both v5.15.0 and v5.15.1. Try to add and remove this plugin. Clean up the project. But still the same issue:

` Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code

Semantic Issue (Xcode): Property 'signResult' not found on object of type 'MBUsdlCombinedRecognizer *' /Users/dman/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:45:23

Semantic Issue (Xcode): Property 'digitalSignature' not found on object of type 'MBUsdlCombinedRecognizerResult *' /Users/dman/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:73:38

Semantic Issue (Xcode): Property 'digitalSignatureVersion' not found on object of type 'MBUsdlCombinedRecognizerResult *' /Users/dman/.pub-cache/hosted/pub.dartlang.org/blinkid_flutter-5.15.1/ios/Classes/MicroblinkModule/Recognizers/Wrappers/MBUsdlCombinedRecognizerWrapper.m:74:73 `

dev4jam avatar Feb 11 '22 05:02 dev4jam

@dev4jam I think you update the pub file. Force the version in the iOS podfile.

mohachouch avatar Feb 11 '22 12:02 mohachouch