我在我的Tamarin项目中使用realm.net。当我尝试使用设备调试我的应用程序时,它显示116错误。甚至错误消息都以Native linking failed, undefined symbol:
开头我尝试了很多组合,比如清理/重建,删除了Realm包并再次添加。重新启动Xamarin工作室和mac等。但仍然收到错误。
完整的错误消息是:(仅添加了两个)
/Users<path/to/project>/MTOUCH: Error MT5214: Native linking failed, undefined symbol: _object_equals_object. This symbol was referenced by the managed member Realms.ObjectHandle/NativeMethods.equals_object. Please verify that all the necessary frameworks have been referenced and native libraries linked. (MT5214) (Project.iOS)
/Users<path/to/project>/MTOUCH: Error MT5214: Native linking failed, undefined symbol: _object_get_nullable_int64. This symbol was referenced by the managed member Realms.ObjectHandle/NativeMethods.get_nullable_int64. Please verify that all the necessary frameworks have been referenced and native libraries linked. (MT5214) (Project.iOS)
如何删除此错误
更新 我的XS信息
=== Xamarin Studio Community ===
Version 6.1.2 (build 44)
Installation UUID: 78fd21d5-9603-4a13-a6bf-e7e25e1a7fc3
Runtime:
Mono 4.8.0 (mono-4.8.0-branch/f5fbc32) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 408000344
=== NuGet ===
Version: 3.4.3.0
=== Xamarin.Profiler ===
Not Installed
=== Apple Developer Tools ===
Xcode 7.3 (10183.3)
Build 7D175
=== Xamarin.iOS ===
Version: 10.4.0.20 (Xamarin Studio Community)
Hash: 62816dd
Branch: master
Build date: 2016-11-15 06:24:02-0500
=== Xamarin.Mac ===
Version: 3.0.0.290 (Xamarin Studio Community)
=== Xamarin.Android ===
Version: 7.1.0.2 (Xamarin Studio Community)
Android SDK: /Users/johnykutty/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
6.0 (API level 23)
SDK Tools Version: 25.1.2
SDK Platform Tools Version: 24.0.0
SDK Build Tools Version: 23.0.2
Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Xamarin Android Player ===
Not Installed
=== Xamarin Inspector ===
Version: 1.0.0.0
Hash: 1f3067d
Branch: master
Build date: 11/16/2016 2:43:59 AM
=== Build Information ===
Release ID: 601020044
Git revision: 0ccfcd52b95305ebd5b7eca0d88c1017035910ae
Build date: 2016-10-28 15:12:43-04
Xamarin addins: a39a869d8a78d87bdc6775f696c13a4cc9024501
Build lane: monodevelop-lion-cycle8
=== Operating System ===
Mac OS X 10.11.6
Darwin <System name> 15.6.0 Darwin Kernel Version 15.6.0
Mon Aug 29 20:21:34 PDT 2016
root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64
=== Enabled user installed addins ===
Xamarin Inspector 1.0.0.0
也使用Realm.net 0.80.0