Bindings.Mapbox.iOS.Common 24.23.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Bindings.Mapbox.iOS.Common --version 24.23.0.1
                    
NuGet\Install-Package Bindings.Mapbox.iOS.Common -Version 24.23.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bindings.Mapbox.iOS.Common" Version="24.23.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bindings.Mapbox.iOS.Common" Version="24.23.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Bindings.Mapbox.iOS.Common" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bindings.Mapbox.iOS.Common --version 24.23.0.1
                    
#r "nuget: Bindings.Mapbox.iOS.Common, 24.23.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bindings.Mapbox.iOS.Common@24.23.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bindings.Mapbox.iOS.Common&version=24.23.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Bindings.Mapbox.iOS.Common&version=24.23.0.1
                    
Install as a Cake Tool

iOS Mapbox Bindings

This folder owns the iOS side of mapbox-for-dotnet: .NET iOS binding projects for Mapbox's native SDK frameworks, the Objective-C bridge binding, and the quickstart solution used to smoke-test the packaged NuGets.

Primary Attribution

This iOS binding work is based directly on Tuyen Vu Duc's repositories:

The binding itself and the Objective-C bridge strategy come from Tuyen's work. This folder keeps that work together with the Android bindings and shared test harnesses in mapbox-for-dotnet.

Current Binding Set

The checked-in iOS package metadata targets the Mapbox 11.23.0 stack:

Project Package Current version
MapboxMaps.iOS Bindings.Mapbox.iOS 11.23.0.1
MapboxCoreMaps.iOS Bindings.Mapbox.iOS.CoreMaps 11.23.0.1
MapboxMapsObjC.iOS Bindings.Mapbox.iOS.MapsObjC 11.23.0.1
MapboxCommon.iOS Bindings.Mapbox.iOS.Common 24.23.0.1
Turf.iOS Bindings.Mapbox.iOS.Turf 4.0.0.1

All binding projects target net10.0-ios and set SupportedOSPlatformVersion to 15.0.

NuGet package versions use the native Mapbox SDK version plus a final package revision component for binding-only maintenance updates.

Package Use

For a map-view app, reference the Mapbox Maps package and the Objective-C bridge package. The remaining iOS packages are pulled in by package dependencies.

dotnet add package Bindings.Mapbox.iOS --version 11.23.0.1
dotnet add package Bindings.Mapbox.iOS.MapsObjC --version 11.23.0.1

Consumer app builds need:

  • MAPBOX_DOWNLOADS_TOKEN: secret Mapbox downloads token used by the package targets to download MapboxMaps.zip.
  • MapboxAccessToken: public Mapbox access token MSBuild property, or an MBXAccessToken app manifest entry, for runtime tile access.

The native Mapbox framework package targets download Mapbox's MapboxMaps.zip archive with Xamarin.Build.Download. MapboxMapsObjC.iOS carries the rebuilt MapboxMapObjC.xcframework bridge as MapboxMapsObjC-11.23.0.zip inside the NuGet package and extracts it into the consuming project's intermediate output folder.

Quickstart

Create the ignored quickstart props file from the template:

cp ios/qs/Mapbox.iOSQs/Mapbox.iOSQs.props.template \
  ios/qs/Mapbox.iOSQs/Mapbox.iOSQs.props

Then fill in:

<MAPBOX_DOWNLOADS_TOKEN>sk...</MAPBOX_DOWNLOADS_TOKEN>
<MapboxAccessToken>pk...</MapboxAccessToken>

Build the quickstart from the repo root:

dotnet build ios/qs/Mapbox.iOSQs/Mapbox.iOSQs.csproj \
  -f net10.0-ios \
  -p:RuntimeIdentifier=iossimulator-arm64 \
  -p:CodesignKey= \
  -p:CodesignProvision=

Build Packages

From the repo root:

dotnet pack ios/mapbox-ios.sln -c Release -t:Clean,Rebuild --output ios/nugets

The current package build succeeds locally with warnings from generated binding code about hidden inherited members. Those warnings are expected for the current hand-reconciled binding surface.

Regeneration And Upgrade Notes

ios/gen.sh is a Sharpie helper, not a full upgrade pipeline. Current behavior:

  • It hardcodes SDK=iphoneos17.4.
  • It only invokes binding generation for MapboxCommon.
  • The other framework bind calls are commented out.

Use MAPBOX_IOS_SDK_AUDIT.md as the current upgrade runbook before publishing a refreshed iOS package set. Mapbox does not ship MapboxMapObjC.xcframework, so future SDK upgrades must rebuild that bridge against the target Mapbox SDK version and update the packaged bridge archive.

License

The binding code is released under the 3-Clause BSD license. See LICENSE for details.

This license does not override or replace the Mapbox native SDK license in artifacts/LICENSE.md.

Product Compatible and additional computed target framework versions.
.NET net10.0-ios26.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Bindings.Mapbox.iOS.Common:

Package Downloads
Bindings.Mapbox.iOS

C# bindings for Mapbox iOS SDK - MapboxMaps

Bindings.Mapbox.iOS.CoreMaps

.NET iOS bindings for Mapbox SDK - MapboxCoreMaps

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
24.35.2.1 53 11/24/2026
24.23.0.2 162 5/6/2026
24.23.0.1 125 5/6/2026
24.8.0 125 5/5/2026