Laerdal.Dfu.Bindings.iOS 4.15.3.44000

Prefix Reserved
dotnet add package Laerdal.Dfu.Bindings.iOS --version 4.15.3.44000                
NuGet\Install-Package Laerdal.Dfu.Bindings.iOS -Version 4.15.3.44000                
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.iOS" Version="4.15.3.44000" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Laerdal.Dfu.Bindings.iOS --version 4.15.3.44000                
#r "nuget: Laerdal.Dfu.Bindings.iOS, 4.15.3.44000"                
#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.
// Install Laerdal.Dfu.Bindings.iOS as a Cake Addin
#addin nuget:?package=Laerdal.Dfu.Bindings.iOS&version=4.15.3.44000

// Install Laerdal.Dfu.Bindings.iOS as a Cake Tool
#tool nuget:?package=Laerdal.Dfu.Bindings.iOS&version=4.15.3.44000                

🏠 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 Compatible and additional computed target framework versions.
.NET net8.0-ios18.0 is compatible.  net9.0-ios was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0-ios18.0

    • No dependencies.

NuGet packages (1)

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

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.15.3.44000 69 1/16/2025
4.15.3.44000-ios-sim-x64 61 1/16/2025
4.15.3.44000-ios-sim-arm64 67 1/16/2025
4.15.3.43998 70 1/16/2025
4.15.3.43998-ios-sim-x64 68 1/16/2025
4.15.3.43998-ios-sim-arm64 61 1/16/2025
4.15.3.43995 287 1/15/2025
4.15.3.43995-ios-sim-x64 62 1/15/2025
4.15.3.43995-ios-sim-arm64 64 1/15/2025
4.15.3.43993 41 1/15/2025
4.15.3.43990 50 1/15/2025
4.15.3.43981 621 11/15/2024
4.15.3.43980 1,274 11/15/2024
4.15.3.43974 90 11/13/2024
4.15.3.43973 93 11/12/2024
4.15.3.43972 176 11/12/2024
4.15.3.43971 95 11/12/2024
4.15.3.43957 93 11/12/2024
4.15.3.43950 107 11/12/2024
4.15.3.43948 89 11/12/2024
4.15.3.43947 114 11/11/2024
4.15.3.43942 144 11/8/2024
4.15.3.43941 106 11/8/2024
4.15.3.43937 104 11/8/2024
4.13.0.43933 3,136 5/23/2024
4.13.0.43929 106 5/22/2024
4.13.0.43928 128 5/16/2024
4.13.0.43926 167 5/16/2024
4.13.0.43922 177 5/15/2024
4.13.0.43910 103 5/8/2024
4.13.0.43907 318 5/7/2024
4.13.0.43905 92 5/7/2024
4.13.0.43903 97 5/7/2024
4.13.0.43902 98 5/7/2024
4.13.0.43901 113 5/7/2024
4.13.0.43899 94 5/7/2024
4.13.0.43894 144 4/15/2024
4.13.0.43890 120 4/11/2024
4.13.0.43887 111 4/11/2024
4.13.0.43884 107 4/11/2024
4.13.0.43883 111 4/11/2024
4.13.0.43870 205 3/24/2024
4.13.0.43857 508 8/21/2023
4.13.0.43683 187 8/15/2023
4.13.0.43597 170 8/14/2023
4.13.0.43592 173 8/14/2023
4.13.0 119 3/21/2024
4.13.0-xamarin.43596 214 8/14/2023
4.13.0-xamarin.43593 89 8/14/2023
4.11.1.41370 162 6/26/2023
4.11.1.41338 180 6/23/2023
4.11.1-develop.41314 97 6/23/2023