I am using realm.net with my Tamarin project. When I try to debug my application with device it showing 116 errors. Even error message starts with Native linking failed, undefined symbol: I tried lots of combinations like clean/rebuild, removed Realm package and added again. Restarted Xamarin studio and mac etc. But still getting error.
Full error message is:(only Two added)
/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)
How to remove this errors
UPDATE:
My XS info
=== 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
Also using Realm.net 0.80.0
Related
Recently upgraded to VS for Mac 8.10.21, when building apps, I'm getting:
/Xamarin.Shared.targets(3,3): Error: dsymutil exited with code 72
This is with Xcode 13.3.
Full version details below:
Visual Studio Community 2019 for Mac
Version 8.10.21 (build 4)
Installation UUID: b7d9f3e8-a2eb-4a6a-a2fa-6a53e9637a56
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)
Package version: 612000162
Mono Framework MDK
Runtime:
Mono 6.12.0.162 (2020-02/2ca650f1f62) (64-bit)
Package version: 612000162
Roslyn (Language Service)
3.10.0-4.21269.26+029847714208ebe49668667c60ea5b0a294e0fcb
NuGet
Version: 5.9.0.7134
.NET SDK (x64)
SDK: Not installed
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks
.NET Core Runtime
Runtime: Not installed
Xamarin.Profiler
Version: 1.6.15.68
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Updater
Version: 11
Apple Developer Tools
Xcode 13.3 (20102)
Build 13E113
Xamarin.Mac
Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.
Xamarin.iOS
Version: 15.8.0.0 (Visual Studio Community)
Hash: f10d9e023
Branch: xcode13.3
Build date: 2022-03-15 11:47:35-0400
Xamarin Designer
Version: 16.11.0.60
Hash: 56f9b80b0
Branch: remotes/origin/d16-11
Build date: 2021-12-15 01:44:16 UTC
Xamarin.Android
Version: 12.0.0.3 (Visual Studio Community)
Commit: xamarin-android/d16-11/f0e3c2d
Android SDK: /Users/jon/Library/Android/sdk
Supported Android versions:
4.4 (API level 19)
5.0 (API level 21)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
8.0 (API level 26)
8.1 (API level 27)
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 32.0.0
SDK Build Tools Version: 31.0.0
Build Information:
Mono: c633fe9
Java.Interop: xamarin/java.interop/d16-11#476bb5b
ProGuard: Guardsquare/proguard/v7.0.1#912d149
SQLite: xamarin/sqlite/3.35.4#85460d3
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-11#87af37b
Eclipse Temurin JDK
Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home
1.8.0.302
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Android SDK Manager
Version: 16.10.0.13
Hash: 1b81df5
Branch: remotes/origin/d16-10
Build date: 2021-11-12 00:17:32 UTC
Android Device Manager
Version: 16.10.0.15
Hash: 89dcc0b
Branch: remotes/origin/d16-10
Build date: 2021-11-12 00:17:52 UTC
Build Information
Release ID: 810210004
Git revision: eb0b2f7259d35b7d767c79d91d356881227e0985
Build date: 2022-03-17 17:18:28-04
Build branch: release-8.10
Operating System
Mac OS X 12.1.0
Darwin 21.2.0 Darwin Kernel Version 21.2.0
Sun Nov 28 20:29:10 PST 2021
root:xnu-8019.61.5~1/RELEASE_ARM64_T8101 x86_64
Any ideas? Can't find any reference to "code 72" anywhere else.
I had this exact error.
I went inside Xcode.
Preferences>Locations> Command Line Tools. Mine was on 13.2, needed to upgrade to 13.3 (Thought I already had but it must not have done it automatically)
Thanks bro!! I actually had to downgrade my xcode version from 13.3.1 to 13.3 and it fixed my issue! I was getting this error when trying to run my ios app on a physical device in release mode. /Xamarin.Shared.targets(3,3): Error: dsymutil exited with code 72
Here's an image version of the console output for the flutter run.
Here's an image version of the console output for flutter doctor -v.
Running flutter run gives me:
'''Downloading ios tools... 7.8s
Downloading ios-profile tools... 5.5s
Downloading ios-release tools... 34.0s
Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App
Store.
Running pod install... 9.3s
Running Xcode build...
Xcode build done. 89.9s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:88:26: Error: Type
'DiagnosticableMixin' not found.
class PictureStream with DiagnosticableMixin {
^^^^^^^^^^^^^^^^^^^
../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:192:44: Error: Type
'DiagnosticableMixin' not found.
abstract class PictureStreamCompleter with DiagnosticableMixin {
^^^^^^^^^^^^^^^^^^^
../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:88:7: Error: The type
'DiagnosticableMixin' can't be mixed in.
class PictureStream with DiagnosticableMixin {
^
../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:192:16: Error: The type
'DiagnosticableMixin' can't be mixed in.
abstract class PictureStreamCompleter with DiagnosticableMixin {
^
../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:167:11: Error: Superclass has no
method named 'debugFillProperties'.
super.debugFillProperties(properties);
^^^^^^^^^^^^^^^^^^^
../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:171:30: Error: The method
'toStringShort' isn't defined for the class 'PictureStreamCompleter'.
- 'PictureStreamCompleter' is from 'package:flutter_svg/src/picture_stream.dart'
('../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toStringShort'.
ifPresent: _completer?.toStringShort(),
^^^^^^^^^^^^^
../.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.17.4/lib/src/picture_stream.dart:266:11: Error: Superclass has no
method named 'debugFillProperties'.
super.debugFillProperties(description);
^^^^^^^^^^^^^^^^^^^
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).
'''
Running flutter doctor -v gives me:
'''
Downloading android-arm-profile/darwin-x64 tools... 1.1s
Downloading android-arm-release/darwin-x64 tools... 0.9s
Downloading android-arm64-profile/darwin-x64 tools... 1.7s
Downloading android-arm64-release/darwin-x64 tools... 1.0s
Downloading android-x64-profile/darwin-x64 tools... 1.3s
Downloading android-x64-release/darwin-x64 tools... 1.0s
[✓] Flutter (Channel master, 1.20.0-1.0.pre.132, on Mac OS X 10.15.2 19C57, locale en-US)
• Flutter version 1.20.0-1.0.pre.132 at /Users/lesleychang/flutter
• Framework revision 5995661777 (6 hours ago), 2020-06-19 16:15:58 -0700
• Engine revision 676cd566f7
• Dart version 2.9.0 (build 2.9.0-17.0.dev 7e72c9ae7e)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
You may also want to add it to your PATH environment variable.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.9.3
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
[✓] Connected device (1 available)
• iPhone SE (2nd generation) • 7305F6FC-57BD-4A00-A55D-FC6741E759C4 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
! Doctor found issues in 2 categories.
'''
I can't run my Flutter app on my iOS emulator at all and I've looked at similar posts to no avail. Any pointers on what to do? Or any other communities I can try getting help from? Thanks!
Due to a breaking change made by https://github.com/flutter/flutter/pull/58635, you can upgrade flutter_svg to 0.18.0 or downgrade flutter otherwise.
upgrade your flutter_svg plugin to
flutter_svg: ^0.19.0
Version: 1.30.0 (system setup)
Commit: c6e592b2b5770e40a98cb9c2715a8ef89aec3d74
Date: 2018-12-11T22:29:11.253Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Windows_NT x64 6.1.7601
Dart VM version: 2.1.0-dev.9.4.flutter-f9ebf21297
(Thu Nov 8 23:00:07 2018 +0100) on "windows_x64"
[Dart_Reformatter] pub get
Resolving dependencies...
The current Dart SDK version is 2.1.0-dev.9.4.flutter-f9ebf21297.
Because Dart_Reformatter depends on stagehand >=3.1.4 which requires SDK version >=2.1.0 <3.0.0, version solving failed.
exit code 1
I'm not sure what I need to do to fix this.
You need to install a version of Dart (or Flutter) where the Dart SDK is >=2.1.0 – in semver, 2.1.0-dev... is < 2.1.0.
Try flutter upgrade?
I am currently trying to animate a ViewCell inside a ListView so it expands and collapses once it gets Tapped. The logic behind this works fine, but there seem to be issues with the iOS ListView that I am unable to figure out. The implementation is currently done in the shared code and not platform specific.
The ViewCell itself contains two subviews:
<?xml version="1.0" encoding="UTF-8"?>
<ViewCell xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="com.example.CollapsableCell"
Appearing="OnAppearing">
<Frame x:Name="CollapsableFrame" CornerRadius="5" HasShadow="true" Margin="5" BorderColor="Gray" OutlineColor="Gray">
<Grid>
<Grid x:Name="CollapsableContent" />
</Grid>
<Frame.GestureRecognizers>
<TapGestureRecognizer Tapped="OnTapped" />
</Frame.GestureRecognizers>
</Frame>
</ViewCell>
The method for switching between the collapsed and expanded views looks like this:
protected void OnTapped(object sender, EventArgs args)
{
Debug.WriteLine("OnTapped");
if (_isExpanded) // collapse the ViewCell
{
CollapsableFrame.LayoutTo(_collapsedBounds, 500, Easing.CubicIn);
ForceUpdateSize();
CollapsableFrame.BackgroundColor = _collapsedView.BackgroundColor;
_collapsedView.RotationY = -270.0;
_expandedView.RotateYTo(-90.0, 250, Easing.SinIn);
_expandedView.IsVisible = false;
_collapsedView.IsVisible = true;
_collapsedView.RotateYTo(-360.0, 250, Easing.SinOut);
_collapsedView.RotationY = 0.0;
_isExpanded = false;
}
else // Expand the ViewCell
{
CollapsableFrame.LayoutTo(_expandedBounds, 500, Easing.CubicOut);
ForceUpdateSize();
CollapsableFrame.BackgroundColor = _expandedView.BackgroundColor;
_expandedView.RotationY = -270.0;
_collapsedView.RotateYTo(-90.0, 250, Easing.SinIn);
_collapsedView.IsVisible = false;
_expandedView.IsVisible = true;
_expandedView.RotateYTo(-360.0, 250, Easing.SinOut);
_expandedView.RotationY = 0.0;
_isExpanded = true;
}
}
The _collapsedView and _expandedView are private members that are set via properties and are child objects to CollapsableContent,
On Android this works perfect, on iOS the scaling of the CollapsableFrame never works properly (the content extends over the Frames bounds) and in addition after executing the animation a few times the animation gets stuck and freezes the whole application. I already tried to strip the animation down to only the scaling of the CollapsableFrame, but the issue stays the same.
Here are the information of my development environment:
Visual Studio Community 2017 for Mac
Version 7.6 (build 2190)
Installation UUID: 42ba26db-6c15-44b2-a48a-811339d08d89
Runtime:
Mono 5.12.0.301 (2018-02/4fe3280bba1) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 4.4.1.178 (master / eeaeb7e6)
Package version: 512000301
NuGet
Version: 4.3.1.4445
.NET Core
Laufzeit: /usr/local/share/dotnet/dotnet
Laufzeitversionen:
2.1.2
2.1.1
SDK: /usr/local/share/dotnet/sdk/2.1.302/Sdks
SDK-Versionen:
2.1.302
2.1.301
MSBuild-SDKs: /Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/Sdks
Xamarin.Profiler
Version: 1.6.3
Speicherort: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Apple Developer Tools
Xcode 9.4.1 (14161)
Build 9F2000
Xamarin.Mac
Version: 4.6.0.13 (Visual Studio Community)
Hash: 373c313a
Branch:
Build date: 2018-07-24 23:47:12-0400
Xamarin.iOS
Version: 11.14.0.13 (Visual Studio Community)
Hash: 373c313a
Branch: HEAD
Build date: 2018-07-24 23:47:12-0400
Xamarin.Android
Version: 9.0.0.18 (Visual Studio Community)
Android SDK: /Users/ban/Library/Developer/Xamarin/android-sdk-macosx
Unterstützte Android-Versionen:
8.1 (API-Ebene 27)
Version von SDK Tools: 26.1.1
Version der SDK-Plattformtools: 28.0.0
Version der SDK-Buildtools: 27.0.3
Java SDK: /usr
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Android Designer EPL-Code ist hier verfügbar:
https://github.com/xamarin/AndroidDesigner.EPL
Xamarin Inspector
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
Build Information
Release ID: 706002190
Git revision: 329690594b336b0b810b0399136d55eb54d292ec
Build date: 2018-08-20 12:03:11+00
Build branch: release-7.6
Xamarin extensions: 23b59d33e3e5e6b7efa0f6d2d699867ab5082527
Operating System
Mac OS X 10.13.6
Darwin 17.7.0 Darwin Kernel Version 17.7.0
Thu Jun 21 22:53:14 PDT 2018
root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
I presume that I have to use a custom renderer on iOS to fix this, but at the moment I have no idea where to start. I Hope someone in the community can give me a hint.
This is now an official issue pending investigation by the Xamarin.Forms team:
https://github.com/xamarin/Xamarin.Forms/issues/4012
I am trying to build OpenCV for WinRT by following the instruction here
Opened Visual Studio 2013 developer command prompt, navigated to
cd path/opencv/platforms/winrt
then run the command
setup_winrt.bat "WP,WS" "8.0,8.1" "x86,ARM" -b
But which ended up with the following error,
INFO> Directory: E:\Software\OpenCV\opencv_winrt\opencv-master\bin\WP\8.0\x
6
INFO> Platform: WindowsPhone
INFO> Version: 8.0
INFO> Architecture: x86
INFO> Generator: Visual Studio 12 2013
INFO> Install Directory: E:\Software\OpenCV\opencv_winrt\opencv-master\bin\
nstall\WP\8.0\x86
Directory: E:\Software\OpenCV\opencv_winrt\opencv-master\bin\WP\8.0
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 17-Feb-16 11:36 PM x86
INFO> Generating project:
INFO> cmake -G Visual Studio 12 2013 -DCMAKE_SYSTEM_NAME:String=WindowsPhone -D
MAKE_SYSTEM_VERSION:String=8.0 -DCMAKE_VS_EFFECTIVE_PLATFORMS:String=x86 -DCMAK
_INSTALL_PREFIX:PATH=E:\Software\OpenCV\opencv_winrt\opencv-master\bin\install\
P\8.0\x86 E:\Software\OpenCV\opencv_winrt\opencv-master
CMake Error at CMakeLists.txt:88 (project):
A Windows Phone component with CMake requires both the Windows Desktop SDK
as well as the Windows Phone '8.0' SDK. Please make sure that you have
both installed
-- Configuring incomplete, errors occurred!
See also "E:/Software/OpenCV/opencv_winrt/opencv-master/bin/WP/8.0/x86/CMakeFil
s/CMakeOutput.log".
INFO> -----------------------------------------------
INFO> Building and installing project:
INFO> Executing: msbuild OpenCV.sln /p:Configuration='Debug' /m
Microsoft (R) Build Engine version 12.0.21005.1
[Microsoft .NET Framework, version 4.0.30319.34014]
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
Switch: OpenCV.sln
INFO> Error: Failure executing command: msbuild OpenCV.sln /p:Configuration='De
ug' /m
I have confirmed the Windows SDK installed or not by looking at
C:\Program Files (x86)\Microsoft SDKs\Windows
and I can see following directories there,
v7.0A, v7.1A, v8.0, v8.0A, v8.1, v8.1A
What could be the issue here?