refer to this link with screenshots:
(https://prickle-debt-3ca.notion.site/MapBox-linker-issue-88e0bf014c0e4082a8c8b9805b10a292)
-
Created sample MAUI project
-
Encountered a
clang++
error upon addingMapbox.Maui
as a NuGet package. -
Attempted manual referencing of the library after local cloning, still encountering
clang++
error -
Verbose output from
dotnet build
when package is manually added (from step 3)
Execution is going well until there is an undefined symbol for arm64
architecture, see the following errors:
**** Tried with all supported ABIs (Application Binary interfaces)*
- Target framework is set to
net8.0-android;net8.0-ios
- on bothSampleMaui
&Mapbox.Maui
- Tried with all link behaviours: (Do not link, link SDK assemblies only, link everything) - results with the same.
Investigation about the library:
-
Latest release version is
10.11.1.1
, last updated 10 months ago -
There is a new alpha version
11.1.0
which is not ready yet, tried the same flow with it but results with the following error:.nuget/packages/dependencies.gradle/7.6.1/buildTransitive/Dependencies.Gradle.targets(30,3): error GDL001: Gradlew build failed
Seems like itβs not compatible with .net8.0,
.csproj
still usesnet6.0
-
Manually adding
MapBox 11.1.0
results in missing dependencies because of net6.0