Xamarin iOS - Binding Project - Warning -


am using

xamarin studio - 4.0.4 (build 2) mono - 2.10.11 xamarin.ios - 6.3.5.43 mac os x - 10.8.2

when building wrapper binding class, warning saying 'system.runtime.compilerservices.extensionattribute' present in multiple assemblies. warning, builds .dll file.

target generatebindings:

tool /developer/monotouch/usr/bin/btouch execution started arguments: /unsafe /d:debug apidefinition.cs /s:structsandenums.cs /tmpdir:obj/debug/ios/ /sourceonly:obj/debug/ios//sources.list

warning cs1685:

the predefined type system.runtime.compilerservices.extensionattribute' defined in multiple assemblies. using definition frommscorlib'

/developer/monotouch/usr/lib/mono/2.1/mscorlib.dll (location of symbol related previous warning) /library/frameworks/mono.framework/versions/2.10.11/lib/mono/2.0/system.core.dll (location of symbol related previous warning)

but when using created binding class in project, gives error saying compiling native code - 'error mt5202: native linking failed. please review build log.'

in build log ld: file not found: /var/folders/w4/xsz8x8vx0_51hjxj474r1_fxhlq7x3/t/tmp9aef74.tmp/libprint.a collect2: ld returned 1 exit status

note : libprint.a static library

-update-

when binding libprint.a file wrapper class, .a file should added project , not inside 'resources' folder. solved issue facing.

does libprint.a support architecture building ios project for?

iow, if compiling simulator, libprint.a needs support i386.

if compiling device, needs support whatever arm arch targeting.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -