BlinkID / blinkid-xamarin

ID scanning SDK, wrapped for cross-platform apps built with Xamarin.
https://microblink.com/blinkid
50 stars 24 forks source link

iOS : MTOUCH : error MT5214: Native linking failed #22

Closed gsalve closed 5 years ago

gsalve commented 5 years ago

While running iOS sample I am getting this linking issue. Any help for this?

screenshot 2018-11-29 at 3 52 14 pm
gsalve commented 5 years ago

While running iOS sample I am getting this linking issue. Any help for this?

screenshot 2018-11-29 at 3 52 14 pm

Using

jcular commented 5 years ago

Hi @gsalve,

does this happen when you run the sample on simulator? If yes then set BlinkIDSample -> iOS Build options like this:

xamarin-option You probably have Linker behaviour set to Don't Link for Platform IPhoneSimulator.

Kind regards, Jure

gsalve commented 5 years ago

Hi @gsalve,

does this happen when you run the sample on simulator? If yes then set BlinkIDSample -> iOS Build options like this:

xamarin-option You probably have Linker behaviour set to Don't Link for Platform IPhoneSimulator.

Kind regards, Jure

Thanks for the quick reply. I am running my code on the simulator and It's working for me now.

AdenITD commented 5 years ago

@jcular @juraskrlec This feels more like a work around than a fix. Turning on the Linker for Debug builds is sub-optimal at best. By turning on the Linker, build times are unnecessarily increased and it also prevents Hot-Reload from functioning. As a dev trying to use your product, this is highly frustrating. Please can you explain the reasoning behind requiring the Linker to be turned on for all configurations? Thanks

AmirFox commented 4 years ago

Agree with the above ^ setting linking behaviour to "Don't Link" is required for hot reloading - this has a massively negative impact on our development cycle.

pablogupi commented 2 years ago

Agree with the above ^ setting linking behaviour to "Don't Link" is required for hot reloading - this has a massively negative impact on our development cycle.

+1 I am creating an app and my work has slowed since the introduction of BlinkID. It should work with the Don't link setting on iOS for Hot reload to work. On Android it works correctly

anjapenic commented 2 years ago

Hello @pablogupi,

Could you share with us are you running the app on a simulator? Which OS are you using, MacOS or Windows? What are you setting under "Supported architectures"?

Regards, Anja

pablogupi commented 2 years ago

Hello @pablogupi,

Could you share with us are you running the app on a simulator? Which OS are you using, MacOS or Windows? What are you setting under "Supported architectures"?

Regards, Anja

Thanks for reply. I'm build app in macOS and when build to iPhone real device and link is don't link, the build has this 10 errors:

error MT5209 : Native linking error : warning: dylib (myuser/obj/iPhone/Debug/device-builds/iphone12.8-14.8/mtouch-cache/NukeProxy.framework/NukeProxy) was built for newer iOS version (13.2) than being linked (10.0)
MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBIllegalModificationException. This symbol was referenced by the managed member BlinkID.Constants.MBIllegalModificationException. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidArgumentException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidArgumentException. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidBundleException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidBundleException. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidLicenseKeyException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidLicenseKeyException. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidLicenseResourceException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidLicenseResourceException. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidLicenseeKeyException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidLicenseeKeyException. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBMissingSettingsException. This symbol was referenced by the managed member BlinkID.Constants.MBMissingSettingsException. Please verify that all the necessary frameworks have been referenced and native libraries linked.
clang : error : linker command failed with exit code 1 (use -v to see invocation)
MTOUCH : error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lc++ -lsqlite3 -lz -ObjC -lc++ -lsqlite3 -lz
    111 Warning(s)
    10 Error(s)

If build in simulador, has this 100 errors:

_"/Users/-----/Projects/----/---.iOS/----.iOS.csproj" (destino predeterminado) (1) ->
(_CompileToNative destino) -> 
  error MT5209 : Native linking error : warning: ignoring file /Users/-----/Projects/----/---.iOS/----.iOS/obj/iPhoneSimulator/Debug/mtouch-cache/Microblink.framework/Microblink, missing required architecture x86_64 in file /Users/-----/Projects/----/---.iOS/----.iOS/obj/iPhoneSimulator/Debug/mtouch-cache/Microblink.framework/Microblink (2 slices) [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBIllegalModificationException. This symbol was referenced by the managed member BlinkID.Constants.MBIllegalModificationException. Please verify that all the necessary frameworks have been referenced and native libraries linked. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidArgumentException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidArgumentException. Please verify that all the necessary frameworks have been referenced and native libraries linked. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidBundleException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidBundleException. Please verify that all the necessary frameworks have been referenced and native libraries linked. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidLicenseKeyException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidLicenseKeyException. Please verify that all the necessary frameworks have been referenced and native libraries linked. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidLicenseResourceException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidLicenseResourceException. Please verify that all the necessary frameworks have been referenced and native libraries linked. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBInvalidLicenseeKeyException. This symbol was referenced by the managed member BlinkID.Constants.MBInvalidLicenseeKeyException. Please verify that all the necessary frameworks have been referenced and native libraries linked. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5214: Native linking failed, undefined symbol: _MBMissingSettingsException. This symbol was referenced by the managed member BlinkID.Constants.MBMissingSettingsException. Please verify that all the necessary frameworks have been referenced and native libraries linked. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBarcodeElements. The symbol '_OBJC_CLASS_$_MBBarcodeElements' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBarcodeResult. The symbol '_OBJC_CLASS_$_MBBarcodeResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBaseOcrOverlaySettings. The symbol '_OBJC_CLASS_$_MBBaseOcrOverlaySettings' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBaseOverlaySettings. The symbol '_OBJC_CLASS_$_MBBaseOverlaySettings' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBaseOverlayViewController. The symbol '_OBJC_CLASS_$_MBBaseOverlayViewController' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBlinkIdCombinedRecognizer. The symbol '_OBJC_CLASS_$_MBBlinkIdCombinedRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBlinkIdCombinedRecognizerResult. The symbol '_OBJC_CLASS_$_MBBlinkIdCombinedRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBlinkIdOverlaySettings. The symbol '_OBJC_CLASS_$_MBBlinkIdOverlaySettings' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBlinkIdOverlayViewController. The symbol '_OBJC_CLASS_$_MBBlinkIdOverlayViewController' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBlinkIdRecognizer. The symbol '_OBJC_CLASS_$_MBBlinkIdRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBBlinkIdRecognizerResult. The symbol '_OBJC_CLASS_$_MBBlinkIdRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBCameraSettings. The symbol '_OBJC_CLASS_$_MBCameraSettings' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBCharWithVariants. The symbol '_OBJC_CLASS_$_MBCharWithVariants' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBClassInfo. The symbol '_OBJC_CLASS_$_MBClassInfo' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBCustomOverlayViewController. The symbol '_OBJC_CLASS_$_MBCustomOverlayViewController' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDPIBasedDewarpPolicy. The symbol '_OBJC_CLASS_$_MBDPIBasedDewarpPolicy' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDateResult. The symbol '_OBJC_CLASS_$_MBDateResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDewarpPolicy. The symbol '_OBJC_CLASS_$_MBDewarpPolicy' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDisplayableDetection. The symbol '_OBJC_CLASS_$_MBDisplayableDetection' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDisplayableObject. The symbol '_OBJC_CLASS_$_MBDisplayableObject' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDisplayablePointsDetection. The symbol '_OBJC_CLASS_$_MBDisplayablePointsDetection' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDisplayableQuadDetection. The symbol '_OBJC_CLASS_$_MBDisplayableQuadDetection' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDocumentFaceRecognizer. The symbol '_OBJC_CLASS_$_MBDocumentFaceRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDocumentFaceRecognizerResult. The symbol '_OBJC_CLASS_$_MBDocumentFaceRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDocumentOverlaySettings. The symbol '_OBJC_CLASS_$_MBDocumentOverlaySettings' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDocumentOverlayViewController. The symbol '_OBJC_CLASS_$_MBDocumentOverlayViewController' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDocumentSubview. The symbol '_OBJC_CLASS_$_MBDocumentSubview' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDocumentVerificationInstructionsSubview. The symbol '_OBJC_CLASS_$_MBDocumentVerificationInstructionsSubview' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDocumentVerificationOverlaySettings. The symbol '_OBJC_CLASS_$_MBDocumentVerificationOverlaySettings' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDocumentVerificationOverlayViewController. The symbol '_OBJC_CLASS_$_MBDocumentVerificationOverlayViewController' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDocumentVerificationSubview. The symbol '_OBJC_CLASS_$_MBDocumentVerificationSubview' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDotsResultSubview. The symbol '_OBJC_CLASS_$_MBDotsResultSubview' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDotsSubview. The symbol '_OBJC_CLASS_$_MBDotsSubview' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBDriverLicenseDetailedInfo. The symbol '_OBJC_CLASS_$_MBDriverLicenseDetailedInfo' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBEntity. The symbol '_OBJC_CLASS_$_MBEntity' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBFixedDewarpPolicy. The symbol '_OBJC_CLASS_$_MBFixedDewarpPolicy' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBFrameGrabberRecognizer. The symbol '_OBJC_CLASS_$_MBFrameGrabberRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBGlareStatusSubview. The symbol '_OBJC_CLASS_$_MBGlareStatusSubview' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBIdBarcodeRecognizer. The symbol '_OBJC_CLASS_$_MBIdBarcodeRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBIdBarcodeRecognizerResult. The symbol '_OBJC_CLASS_$_MBIdBarcodeRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBImage. The symbol '_OBJC_CLASS_$_MBImage' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBImageAnalysisResult. The symbol '_OBJC_CLASS_$_MBImageAnalysisResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBImageReturnProcessor. The symbol '_OBJC_CLASS_$_MBImageReturnProcessor' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBImageReturnProcessorResult. The symbol '_OBJC_CLASS_$_MBImageReturnProcessorResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBMicroblinkApp. The symbol '_OBJC_CLASS_$_MBMicroblinkApp' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBMicroblinkSDK. The symbol '_OBJC_CLASS_$_MBMicroblinkSDK' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBMrtdCombinedRecognizer. The symbol '_OBJC_CLASS_$_MBMrtdCombinedRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBMrtdCombinedRecognizerResult. The symbol '_OBJC_CLASS_$_MBMrtdCombinedRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBMrtdRecognizer. The symbol '_OBJC_CLASS_$_MBMrtdRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBMrtdRecognizerResult. The symbol '_OBJC_CLASS_$_MBMrtdRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBMrtdSpecification. The symbol '_OBJC_CLASS_$_MBMrtdSpecification' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBMrzResult. The symbol '_OBJC_CLASS_$_MBMrzResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBNoUpScalingDewarpPolicy. The symbol '_OBJC_CLASS_$_MBNoUpScalingDewarpPolicy' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBOcrBlock. The symbol '_OBJC_CLASS_$_MBOcrBlock' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBOcrChar. The symbol '_OBJC_CLASS_$_MBOcrChar' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBOcrLayout. The symbol '_OBJC_CLASS_$_MBOcrLayout' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBOcrLine. The symbol '_OBJC_CLASS_$_MBOcrLine' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBOverlaySettings. The symbol '_OBJC_CLASS_$_MBOverlaySettings' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBOverlayViewController. The symbol '_OBJC_CLASS_$_MBOverlayViewController' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBPassportRecognizer. The symbol '_OBJC_CLASS_$_MBPassportRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBPassportRecognizerResult. The symbol '_OBJC_CLASS_$_MBPassportRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBPosition. The symbol '_OBJC_CLASS_$_MBPosition' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBProcessor. The symbol '_OBJC_CLASS_$_MBProcessor' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBProcessorResult. The symbol '_OBJC_CLASS_$_MBProcessorResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBQuadrangle. The symbol '_OBJC_CLASS_$_MBQuadrangle' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBRecognitionModeFilter. The symbol '_OBJC_CLASS_$_MBRecognitionModeFilter' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBRecognizer. The symbol '_OBJC_CLASS_$_MBRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBRecognizerCollection. The symbol '_OBJC_CLASS_$_MBRecognizerCollection' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBRecognizerResult. The symbol '_OBJC_CLASS_$_MBRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBRecognizerRunner. The symbol '_OBJC_CLASS_$_MBRecognizerRunner' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBRecognizerRunnerMetadataDelegates. The symbol '_OBJC_CLASS_$_MBRecognizerRunnerMetadataDelegates' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBRecognizerRunnerViewControllerMetadataDelegates. The symbol '_OBJC_CLASS_$_MBRecognizerRunnerViewControllerMetadataDelegates' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBSubview. The symbol '_OBJC_CLASS_$_MBSubview' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBSuccessFrameGrabberRecognizer. The symbol '_OBJC_CLASS_$_MBSuccessFrameGrabberRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBSuccessFrameGrabberRecognizerResult. The symbol '_OBJC_CLASS_$_MBSuccessFrameGrabberRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBTapToFocusSubview. The symbol '_OBJC_CLASS_$_MBTapToFocusSubview' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBTemplatingClass. The symbol '_OBJC_CLASS_$_MBTemplatingClass' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBTemplatingRecognizer. The symbol '_OBJC_CLASS_$_MBTemplatingRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBTemplatingRecognizerResult. The symbol '_OBJC_CLASS_$_MBTemplatingRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBUsdlCombinedRecognizer. The symbol '_OBJC_CLASS_$_MBUsdlCombinedRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBUsdlCombinedRecognizerResult. The symbol '_OBJC_CLASS_$_MBUsdlCombinedRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBUsdlRecognizer. The symbol '_OBJC_CLASS_$_MBUsdlRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBUsdlRecognizerResult. The symbol '_OBJC_CLASS_$_MBUsdlRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBViewControllerFactory. The symbol '_OBJC_CLASS_$_MBViewControllerFactory' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBVisaRecognizer. The symbol '_OBJC_CLASS_$_MBVisaRecognizer' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBVisaRecognizerResult. The symbol '_OBJC_CLASS_$_MBVisaRecognizerResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: MBVizResult. The symbol '_OBJC_CLASS_$_MBVizResult' could not be found in any of the libraries or frameworks linked with your application. [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  MTOUCH : error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lc++ -lsqlite3 -lz -ObjC -lc++ -lsqlite3 -lz -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/-----/Projects/----/---.iOS/----.iOS/obj/iPhoneSimulator/Debug/Entitlements.xcent [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]
  clang : error : linker command failed with exit code 1 (use -v to see invocation) [/Users/-----/Projects/----/---.iOS/----.iOS.csproj]

    33 Advertencia(s)
    97 Errores_

This is my config:

Captura de pantalla 2021-09-22 a las 13 55 44

If change don't link to Link Framework SDKs Only, the app build and run fine in iPhone real device, but not work the Hot Reload. If I try to build with Link Framework SDKs Only in simulator, the build faild.

mijo-gracanin commented 2 years ago

Hi @pablogupi , @anjapenic The reason why the simulator build failed is most likely because of BlinkID.iOS.Binding NuGet that we built with Microblink.framework, which doesn't have simulator architectures.

To run the sample project on the simulator, you can create BlinkID.iOS.Binding NuGet based on Microblink.framework with simulator architecture.

Download the framework: https://github.com/BlinkID/blinkid-ios/tree/master/Microblink.xcframework/ios-arm64_i386_x86_64-simulator/Microblink.framework

Replace Microblink.framework in Binding project with the new one.

Open Binding project and create BlinkID.iOS.Binding NuGet.

Open the sample projects and update the NuGet, and in "the project options > Build > iOS Build" set "Linker behavior" to "Link Framework SDKs only" and set "Supported architectures" to the arch of the simulator.

pablogupi commented 2 years ago

Hi @pablogupi , @anjapenic The reason why the simulator build failed is most likely because of BlinkID.iOS.Binding NuGet that we built with Microblink.framework, which doesn't have simulator architectures.

To run the sample project on the simulator, you can create BlinkID.iOS.Binding NuGet based on Microblink.framework with simulator architecture.

Download the framework: https://github.com/BlinkID/blinkid-ios/tree/master/Microblink.xcframework/ios-arm64_i386_x86_64-simulator/Microblink.framework

Replace Microblink.framework in Binding project with the new one.

Open Binding project and create BlinkID.iOS.Binding NuGet.

Open the sample projects and update the NuGet, and in "the project options > Build > iOS Build" set "Linker behavior" to "Link Framework SDKs only" and set "Supported architectures" to the arch of the simulator.

Thank you very much for your reply. Can the project only be launched with "Link Framework SDKs only"? Can't it be launched with the Don't link behavior? Because if it is not launched with Don't link, the HotReload does not work and the compile time is much heavier.

mijo-gracanin commented 2 years ago

@pablogupi I'm not sure how to launch with "Don't link" behavior. If anyone in this thread has some ideas, I'm all ears.