VOOZH about

URL: https://www.nuget.org/packages/Laerdal.Dfu.Bindings.MacCatalyst/

⇱ NuGet Gallery | Laerdal.Dfu.Bindings.MacCatalyst 4.16.0.44003




👁 Image
Laerdal.Dfu.Bindings.MacCatalyst 4.16.0.44003

Prefix Reserved
dotnet add package Laerdal.Dfu.Bindings.MacCatalyst --version 4.16.0.44003
 
 
NuGet\Install-Package Laerdal.Dfu.Bindings.MacCatalyst -Version 4.16.0.44003
 
 
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="Laerdal.Dfu.Bindings.MacCatalyst" Version="4.16.0.44003" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Laerdal.Dfu.Bindings.MacCatalyst" Version="4.16.0.44003" />
 
Directory.Packages.props
<PackageReference Include="Laerdal.Dfu.Bindings.MacCatalyst" />
 
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 Laerdal.Dfu.Bindings.MacCatalyst --version 4.16.0.44003
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Laerdal.Dfu.Bindings.MacCatalyst, 4.16.0.44003"
 
 
#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 Laerdal.Dfu.Bindings.MacCatalyst@4.16.0.44003
 
 
#: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=Laerdal.Dfu.Bindings.MacCatalyst&version=4.16.0.44003
 
Install as a Cake Addin
#tool nuget:?package=Laerdal.Dfu.Bindings.MacCatalyst&version=4.16.0.44003
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

🏠 Laerdal.Dfu.Bindings.iOS

This is an MAUI binding library for iOS/MacCatalyst fueled by Nordic's native iOS-DFU library for updating the firmware of their devices over the air via BLE.

The native iOS Pod library is located here: https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library

🚀 Getting Started

You'll need :

  • MacOS
    • with XCode 16.1+
    • with .NET8-ios
    • with Carthage
    • [with ObjectiveSharpie] (optional)

🛠️ Build

brew cask install objectivesharpie

More about Objective Sharpie

Steps to build on Local-Dev

1) Checkout

git clone https://github.com/Laerdal/Laerdal.Dfu.Bindings.iOS.git

2) Build


# Note If carthage fails in macos try cleaning up your carthage cache like so and then try again
# Note
# Note rm -rf ~/Library/Caches/org.carthage.CarthageKit
# Note
# 
# on macos
dotnet msbuild \
 Laerdal.Scripts/Laerdal.Builder.targets \
 '"/m:1"' \
 '"/p:Laerdal_Version_Full=1.0.x.0"' \
 '"/p:Laerdal_Github_Access_Token=<place your github access token here - its needed by carthage>"' 

# on windows powershell
dotnet msbuild ^
 Laerdal.Scripts\Laerdal.Builder.targets ^
 /m:1 ^
 /p:Laerdal_Version_Full=1.0.x.0 ^
 /p:Laerdal_Github_Access_Token="<place your github access token here - its needed by carthage>"

You'll find the nuget in Output/

❗ Known issues

Fix : https://github.com/Laerdal/Laerdal.Dfu.iOS/issues/3#issuecomment-783298581 |

#!/usr/bin/env sh

xcode_lib_path="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos"
app_path=$1
app_name=<insert app name>
libs=("$app_path/Products/Applications/$app_name/Frameworks/"*.dylib)

for i in "${libs[@]}"
do
 cp "$xcode_lib_path/$(basename "$i")" "$app_path/SwiftSupport/iphoneos/"
 cp "$xcode_lib_path/$(basename "$i")" "$app_path/Products/Applications/$app_name/Frameworks/"
done

-- Thanks @OliverFlecke

Fix : You might need to add "--optimize=-remove-dynamic-registrar" to your apps mtouch args.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0-maccatalyst18.0 net8.0-maccatalyst18.0 is compatible.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0-maccatalyst18.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Laerdal.Dfu.Bindings.MacCatalyst:

Package Downloads
Laerdal.Dfu

Wrapper around Nordic.Dfu

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.16.0.44003 1,511 3/17/2025
4.16.0.44002 304 3/6/2025
4.15.3.44000 364 1/16/2025
4.15.3.43998 197 1/16/2025
4.15.3.43995 644 1/15/2025
4.15.3.43993 186 1/15/2025
4.15.3.43990 177 1/15/2025