mono / Embeddinator-4000

Tools to turn .NET libraries into native libraries that can be consumed on Android, iOS, Mac, Linux and other platforms.
MIT License
758 stars 95 forks source link

mono-support.h:36:10: error: 'xamarin/xamarin.h' file not found #784

Open dymosoftware opened 3 years ago

dymosoftware commented 3 years ago

There is error while I am running Embeddinator against .Net Standard project.

mono-support.h:36:10: error: 'xamarin/xamarin.h' file not found with include; use "quotes" instead

include <xamarin/xamarin.h>

     ^~~~~~~~~~~~~~~~~~~
     "xamarin/xamarin.h"

Here is the information of the environment

=== Visual Studio Community 2019 for Mac ===

Version 8.8 (build 2913) Installation UUID: 276b7403-1b05-4438-a258-df8588ffb220 GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)

Package version: 612000093

=== Mono Framework MDK ===

Runtime: Mono 6.12.0.93 (2020-02/620cf538206) (64-bit) Package version: 612000093

=== Roslyn (Language Service) ===

3.8.0-5.20515.7+713efb0e68d34ab75faaf709e071e5c2d8d4ed0e

=== NuGet ===

Version: 5.8.0.6860

=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/5.0.100/Sdks SDK Versions: 5.0.100 3.1.403 3.1.402 3.1.401 3.1.302 3.1.301 3.1.300 3.1.202 3.1.200 3.1.102 3.0.101 3.0.100 2.1.701 MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks

=== .NET Core Runtime ===

Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 5.0.0 3.1.9 3.1.8 3.1.7 3.1.6 3.1.5 3.1.4 3.1.2 3.0.1 3.0.0 2.1.23 2.1.22 2.1.21 2.1.20 2.1.19 2.1.18 2.1.17 2.1.16 2.1.15 2.1.14 2.1.13 2.1.12

=== .NET Core 3.1 SDK ===

SDK: 3.1.403

=== Xamarin.Profiler ===

Version: 1.6.12.26 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Updater ===

Version: 11

=== Apple Developer Tools ===

Xcode 12.2 (17535) Build 12B45b

=== Xamarin.Mac ===

Version: 6.22.1.26 (Visual Studio Community) Hash: 1dc78db1a Branch: d16-8-xm Build date: 2020-09-18 17:30:35-0400

=== Xamarin.iOS ===

Version: 14.4.1.3 (Visual Studio Community) Hash: e30c41de3 Branch: d16-8 Build date: 2020-10-20 22:18:50-0400

=== Xamarin Designer ===

Version: 16.8.0.495 Hash: 1a7425b8f Branch: remotes/origin/d16-8 Build date: 2020-10-20 10:51:14 UTC

=== Xamarin.Android ===

Version: 11.1.0.17 (Visual Studio Community) Commit: xamarin-android/d16-8/c0e2b8e Android SDK: /Users/sungyun/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 5.0 (API level 21) 7.1 (API level 25) 8.1 (API level 27)

SDK Tools Version: 26.1.1 SDK Platform Tools Version: 30.0.4 SDK Build Tools Version: 29.0.2

Build Information: Mono: be2226b Java.Interop: xamarin/java.interop/d16-8@79d9533 ProGuard: Guardsquare/proguard/proguard6.2.2@ebe9000 SQLite: xamarin/sqlite/3.32.1@1a3276b Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-8@2fb1cbc

=== Microsoft OpenJDK for Mobile ===

Java SDK: /Users/sungyun/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25 1.8.0-25 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL

=== Android SDK Manager ===

Version: 16.8.0.32 Hash: 01a7774 Branch: remotes/origin/d16-8 Build date: 2020-10-13 23:32:30 UTC

=== Android Device Manager ===

Version: 16.8.0.45 Hash: fc0af5f Branch: remotes/origin/d16-8 Build date: 2020-10-13 23:32:54 UTC

=== Build Information ===

Release ID: 808002913 Git revision: c6189b3851aed1e1aadbef5807d54bd5bb505e5e Build date: 2020-11-05 07:07:20-05 Build branch: release-8.8 Xamarin extensions: c6189b3851aed1e1aadbef5807d54bd5bb505e5e

=== Operating System ===

Mac OS X 10.16.0 Darwin 20.1.0 Darwin Kernel Version 20.1.0 Sat Oct 31 00:07:11 PDT 2020 root:xnu-7195.50.7~2/RELEASE_X86_64 x86_64

JustinPorter commented 3 years ago

I am also seeing this after Visual Studio updated Xamarin.iOS to 14.6.0.15. It works with 14.2.0.12: https://dl.xamarin.com/MonoTouch/Mac/xamarin.ios-14.2.0.12.pkg.