Bindings.Mapbox.iOS.Common
24.23.0.1
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
<PackageReference Include="Bindings.Mapbox.iOS.Common" Version="24.23.0.1" />
<PackageVersion Include="Bindings.Mapbox.iOS.Common" Version="24.23.0.1" />
<PackageReference Include="Bindings.Mapbox.iOS.Common" />
paket add Bindings.Mapbox.iOS.Common --version 24.23.0.1
#r "nuget: Bindings.Mapbox.iOS.Common, 24.23.0.1"
#:package Bindings.Mapbox.iOS.Common@24.23.0.1
#addin nuget:?package=Bindings.Mapbox.iOS.Common&version=24.23.0.1
#tool nuget:?package=Bindings.Mapbox.iOS.Common&version=24.23.0.1
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 downloadMapboxMaps.zip.MapboxAccessToken: public Mapbox access token MSBuild property, or anMBXAccessTokenapp 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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.0 is compatible. |
-
net10.0-ios26.0
- Xamarin.Build.Download (>= 0.11.4)
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.