BlinkID / blinkid-xamarin

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

Azure Team Service build error for iOS #39

Open gnout opened 4 years ago

gnout commented 4 years ago

Xamarin.Forms 4.3.0.947036
BlinkID.Forms 5.0.0

I’m using the code that is provided by the example for Xamarin.Forms with a minor change (I use the IMrtdRecognizer instead of the IBlinkIdRecognizer)

I’m using Azure Team Services to build my app. My app was building successfully before integrating BlinkId.
I encountered the following error in the build step of the Build Process

MTOUCH : error MT2101: Can't resolve the reference 'Foundation.NSArray Foundation.NSArray::FromNSObjects(!!0[])', referenced from the method 'System.Void Microblink.MBRecognizerCollection::.ctor(Microblink.MBRecognizer[])'

Any idea on how to correct the issue?

Not sure if it’s relevant but I’m choosing the version of Xcode in a different step of the build process

sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_16_0
echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'/Applications/Xcode_10.2.app;sudo xcode-select --switch /Applications/Xcode_10.2.app/Contents/Developer