Laerdal.Dfu.Bindings.iOS 4.13.0.43901

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Laerdal.Dfu.Bindings.iOS --version 4.13.0.43901                
NuGet\Install-Package Laerdal.Dfu.Bindings.iOS -Version 4.13.0.43901                
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.13.0.43901" />                
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.13.0.43901                
#r "nuget: Laerdal.Dfu.Bindings.iOS, 4.13.0.43901"                
#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.13.0.43901

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

🏠 Laerdal.Dfu.Bindings.iOS

This is an Xamarin binding library for the Nordic Semiconductors iOS library for updating the firmware of their devices over the air via Bluetooth Low Energy.

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

🚀 Getting Started

You'll need :

  • MacOS
    • with XCode
    • with .NET6-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

dotnet build

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

    • 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.13.0.43933 1,659 5/23/2024
4.13.0.43929 81 5/22/2024
4.13.0.43928 101 5/16/2024
4.13.0.43926 134 5/16/2024
4.13.0.43922 144 5/15/2024
4.13.0.43910 75 5/8/2024
4.13.0.43907 201 5/7/2024
4.13.0.43905 70 5/7/2024
4.13.0.43903 73 5/7/2024
4.13.0.43902 76 5/7/2024
4.13.0.43901 87 5/7/2024
4.13.0.43899 75 5/7/2024
4.13.0.43894 121 4/15/2024
4.13.0.43890 97 4/11/2024
4.13.0.43887 88 4/11/2024
4.13.0.43884 83 4/11/2024
4.13.0.43883 85 4/11/2024
4.13.0.43870 147 3/24/2024
4.13.0.43857 481 8/21/2023
4.13.0.43683 160 8/15/2023
4.13.0.43597 146 8/14/2023
4.13.0.43592 147 8/14/2023
4.13.0 95 3/21/2024
4.13.0-xamarin.43596 199 8/14/2023
4.13.0-xamarin.43593 75 8/14/2023
4.11.1.41370 136 6/26/2023
4.11.1.41338 159 6/23/2023
4.11.1-develop.41314 85 6/23/2023