Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xamarin.iOS Getting exception when going to build(System.IntPtr ObjCRuntime.NativeObjectExtensions::GetNonNullHandle(ObjCRuntime.INativeObject,System.String)', referenced from the method 'System.Void ) #68

Open
TrueTech-Source opened this issue Sep 14, 2021 · 5 comments

Comments

@TrueTech-Source
Copy link

/Users/yasir/Downloads/blinkid-xamarin-master/Samples/iOS/MTOUCH: Error MT2101: Can't resolve the reference 'System.IntPtr ObjCRuntime.NativeObjectExtensions::GetNonNullHandle(ObjCRuntime.INativeObject,System.String)', referenced from the method 'System.Void BlinkID.MBBlinkIdOverlayViewControllerDelegateWrapper::BlinkIdOverlayViewControllerDidFinishScanning(BlinkID.MBBlinkIdOverlayViewController,BlinkID.MBRecognizerResultState)' in 'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. (MT2101) (BlinkIDSample)

@anjapenic
Copy link

Hello @TrueTech-Source,

Which SDK version are you using? Could you give us a bit more info on the process of how you implemented the plugin in your project?

Best regards,
Anja

@TrueTech-Source
Copy link
Author

Hello @TrueTech-Source,

Which SDK version are you using? Could you give us a bit more info on the process of how you implemented the plugin in your project?

Screenshot 2022-04-19 at 2 12 45 AM

Best regards, Anja

@TrueTech-Source
Copy link
Author

I have also change link behaviour like SDK framework onle ,All Link ,and dont link still not working

@TrueTech-Source
Copy link
Author

Screenshot 2022-04-23 at 12 56 19 AM

`

@mparadina
Copy link

Hi @TrueTech-Source

Are you still experiencing issues when trying to build the project?
If yes, in the 'iOS Build' settings, which are entered in the 'Properties' of your iOS project, you can place:

  1. 'Linker Behaviour' to be 'Link Frameworks SDKs Only'
  2. 'Supported Arhitectures', you need to place the architectures which are not related to simulators as we do not have support for iOS simulators. Here, you can place 'ARM64' (as you did in the first screenshot).
  3. In the 'Additional mtouch arguments', can you add '--linkskip=MicroBlink', as mentioned here.

Lastly, make sure that you're using the latest version of the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants