The samples are not building for Xamarin.iOS

3277
6
Jump to solution
11-28-2016 09:09 PM
YashvitNaik
New Contributor III

Anyone stuck with this error on build? Using Esri.ArcGISRuntime.Xamarin.iOS v100.0.0

MTOUCH: error MT5209: Native linking error: framework not found ArcGIS-sim64
MTOUCH: error MT5202: Native linking failed. Please review the build log.

I'm on latest version of Xamarin Studio for Mac(6.1.2 build 44) with Xamarin.IOS Version: 10.2.1.5 & XCode Version 8.1.

Have tried installing the Esri library from local nuget package(installed the vsix on visual studio and extracted it from there) and also directly from nuget.

The samples from github seem to build fine for Android but NOT iOS.

1 Solution

Accepted Solutions
RichZwaap
Occasional Contributor III

There was an issue with how the iOS and Android samples were referencing the ArcGIS Runtime assemblies.  This should be fixed now - please pull latest source from the samples repository and try again.  Sorry for the inconvenience.

-Rich

View solution in original post

0 Kudos
6 Replies
SchuylerDuarte
New Contributor II

I wonder if this is related the same issue I was having.  Try changing the iOS Build options linker behavior to "Don't Link" as answered in my post:

Default constructor not found for type Esri.ArcGISRuntime.Xamarin.Forms.MapView 

0 Kudos
RichZwaap
Occasional Contributor III

There was an issue with how the iOS and Android samples were referencing the ArcGIS Runtime assemblies.  This should be fixed now - please pull latest source from the samples repository and try again.  Sorry for the inconvenience.

-Rich

0 Kudos
liknhwfw_egf
New Contributor

i am using xamarin form and calling your sdk via dependency service in both ios and droid 

droid works fine but ios keep generating this error at build 

what should i do?

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi,

Are you referencing ArcGIS Runtime SDK for .NET NuGet package that targets Xamarin Forms? (NuGet Gallery | ArcGIS Runtime SDK for .NET - Xamarin.Forms 100.0.0)

Cheers

Mike

0 Kudos
liknhwfw_egf
New Contributor

yes , iam

0 Kudos
VladPredovic
New Contributor

Hello I am having the same error.

I am developing on VS 2017 Windows machine linked to a mac. my applications builds and runs well on Android (verified after multiple QA runs). 

However we are getting this native linking error when building on IOS. Using the newest version of ESRI maps nuget package for .NET. Both ESRI.Forms and ESRI.IOS are installed through nuget and I have tried both versions available just in case. Any help would be appreciated.


Error Native linking error: framework not found ArcGIS-sim64 RT.iOS C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets 747


Error Native linking error: warning: directory not found for option '-F/Users/vlad/Library/Caches/Xamarin/mtbs/builds/RT.iOS/9bd34334c2bb0c14c8bdf794fb67e9fc/framework'

RT.iOS C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets 747

0 Kudos