Skip to content

Commit d859882

Browse files
committed
CocoaPods repo renamed to NordidDFU
1 parent 2db0d4f commit d859882

31 files changed

+2058
-793
lines changed

iOSDFULibrary.podspec renamed to NordicDFU.podspec

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Pod::Spec.new do |s|
2-
s.name = "iOSDFULibrary"
3-
s.module_name = 'NordicDFU'
4-
s.version = "4.15.3"
2+
s.name = "NordicDFU"
3+
s.version = "4.16.0"
54
s.summary = "This repository contains a library to perform Device Firmware Update on the nRF5x devices."
65
s.description = <<-DESC
76
The nRF5x Series chips are flash-based SoCs, and as such they represent the most flexible solution available. A key feature of the nRF5x Series and their associated software architecture and S-Series SoftDevices is the possibility for Over-The-Air Device Firmware Upgrade (OTA-DFU). See Figure 1. OTA-DFU allows firmware upgrades to be issued and downloaded to products in the field via the cloud and so enables OEMs to fix bugs and introduce new features to products that are already out on the market. This brings added security and flexibility to product development when using the nRF5x Series SoCs.
@@ -12,7 +11,7 @@ The nRF5x Series chips are flash-based SoCs, and as such they represent the most
1211
s.license = 'BSD 3-Clause'
1312
s.authors = { "Aleksander Nowakowski" => "[email protected]" }
1413
s.source = { :git => "https://github.com/NordicSemiconductor/IOS-DFU-Library.git", :tag => s.version.to_s }
15-
s.social_media_url = 'https://twitter.com/nordictweets'
14+
s.social_media_url = 'https://x.com/nordictweets'
1615
s.swift_versions = ['4.2', '5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8', '5.9']
1716

1817
s.ios.deployment_target = '12.0'

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Settings screen allows to change the DFU library parameters used for uploading f
1111

1212
# iOS DFU Library
1313

14-
[![Version](http://img.shields.io/cocoapods/v/iOSDFULibrary.svg)](http://cocoapods.org/pods/iOSDFULibrary)
14+
[![Version](http://img.shields.io/cocoapods/v/NordicDFU.svg)](http://cocoapods.org/pods/NordicDFU)
1515
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
1616

1717
## Installation
@@ -23,7 +23,7 @@ Settings screen allows to change the DFU library parameters used for uploading f
2323
```ruby
2424
target 'YourAppTargetName' do
2525
use_frameworks!
26-
pod 'iOSDFULibrary'
26+
pod 'NordicDFU'
2727
end
2828
```
2929

@@ -52,7 +52,7 @@ github "NordicSemiconductor/IOS-DFU-Library" ~> x.y // Replace x.y with your req
5252
carthage update --use-xcframeworks --platform iOS // other supported platforms: macOS, tvOS, watchOS
5353
```
5454

55-
- Carthage will build the **iOSDFULibrary.framework** and **ZipFramework.framework** files in **Carthage/Build/**,
55+
- Carthage will build the **NordicDFU.framework** and **ZipFramework.framework** files in **Carthage/Build/**,
5656
you may now copy all those files to your project and use the library, additionally, carthage also builds **\*.dsym** files
5757
if you need to resymbolicate crash logs. you may want to keep those files bundled with your builds for future use.
5858

@@ -160,7 +160,7 @@ The library is compatible with nRF51 and nRF52 devices with S-Series Soft Device
160160
* **SDK 14.0.0** - Buttonless DFU no longer experimental. New buttonless characteristic added for bonded devices (requires bond, cache cleaning relies on Service Changed indication).
161161
* **SDK 15.0.0** - Support for higher MTUs added.
162162

163-
This library is fully backwards compatible and supports both the new and legacy DFU. The experimental buttonless DFU service from SDK 12 is supported since version 1.1.0. Due to the fact, that this experimental service from SDK 12 is not safe, you have to set [enableUnsafeExperimentalButtonlessServiceInSecureDfu](https://github.com/NordicSemiconductor/IOS-DFU-Library/blob/master/iOSDFULibrary/Classes/Implementation/DFUServiceInitiator.swift#L296) to true to enable it, this is off by default. Read the method documentation for details. It is recommended to use the Buttonless service from SDK 13 (for non-bonded devices, or 14 for bonded). Both are supported since DFU Library 1.3.0.
163+
This library is fully backwards compatible and supports both the new and legacy DFU. The experimental buttonless DFU service from SDK 12 is supported since version 1.1.0. Due to the fact, that this experimental service from SDK 12 is not safe, you have to set [enableUnsafeExperimentalButtonlessServiceInSecureDfu](https://github.com/NordicSemiconductor/IOS-DFU-Library/blob/main/Library/Classes/Implementation/DFUServiceInitiator.swift#L325) to true to enable it, this is off by default. Read the method documentation for details. It is recommended to use the Buttonless service from SDK 13 (for non-bonded devices, or 14 for bonded). Both are supported since DFU Library 1.3.0.
164164

165165
Check platform folders for mode details about compatibility for each library.
166166

README_OBJC.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# iOS DFU Library
22

3-
[![Version](http://img.shields.io/cocoapods/v/iOSDFULibrary.svg)](http://cocoapods.org/pods/iOSDFULibrary)
3+
[![Version](http://img.shields.io/cocoapods/v/NordicDFU.svg)](http://cocoapods.org/pods/NordicDFU)
44

55
## Installation instructions for Obj-C projects
66

@@ -10,7 +10,7 @@
1010
```
1111
target 'YourAppTargetName' do
1212
use_frameworks!
13-
pod 'iOSDFULibrary'
13+
pod 'NordicDFU'
1414
end
1515
```
1616
- Install dependencies
@@ -20,7 +20,7 @@ pod install
2020
- Open the newly created `.xcworkspace` and begin working on your project.
2121
- If Xcode asks to migrate code to Swift 5.5, choose **Later**. (The codebase is Swift 5.5 already)
2222
- Click on the `Pods` project, then go to the `Build Settings`
23-
- Click on the `iOSDFULibrary` target, then set the `Use Legacy Swift version` setting to `No`
23+
- Click on the `NordicDFU` target, then set the `Use Legacy Swift version` setting to `No`
2424
- Repeat the same for the `ZIPFoundation` target.
2525
- Build the project, it should now succeed.
2626
- Import the library to any of your obj-c classes by using `@import NordicDFU;` and begin working on your project.

Test App/DFU Test Performer.xcodeproj/project.pbxproj

+7-11
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/* End PBXBuildFile section */
3030

3131
/* Begin PBXFileReference section */
32-
3B0557890E61EFF388A8734B /* iOSDFULibrary.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = iOSDFULibrary.podspec; path = ../iOSDFULibrary.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
32+
3B0557890E61EFF388A8734B /* NordicDFU.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = NordicDFU.podspec; path = ../NordicDFU.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
3333
5223723E2029C40F00068EE4 /* DFUViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DFUViewController.swift; sourceTree = "<group>"; };
3434
522372432029CCDE00068EE4 /* DFUTestSet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DFUTestSet.swift; sourceTree = "<group>"; };
3535
522372452029CFFD00068EE4 /* nRF51TestSet.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = nRF51TestSet.swift; sourceTree = "<group>"; };
@@ -165,7 +165,7 @@
165165
607FACF51AFB993E008FA782 /* Podspec Metadata */ = {
166166
isa = PBXGroup;
167167
children = (
168-
3B0557890E61EFF388A8734B /* iOSDFULibrary.podspec */,
168+
3B0557890E61EFF388A8734B /* NordicDFU.podspec */,
169169
8EE39CA79039E8FFBDA0C9D3 /* README.md */,
170170
5288C1E1236C3C7400321ED3 /* README_OBJC.md */,
171171
52A9C166230D633A0036792A /* changelog.md */,
@@ -213,7 +213,7 @@
213213
attributes = {
214214
BuildIndependentTargetsInParallel = YES;
215215
LastSwiftUpdateCheck = 0920;
216-
LastUpgradeCheck = 1530;
216+
LastUpgradeCheck = 1610;
217217
ORGANIZATIONNAME = CocoaPods;
218218
TargetAttributes = {
219219
607FACCF1AFB9204008FA782 = {
@@ -293,13 +293,13 @@
293293
);
294294
inputPaths = (
295295
"${PODS_ROOT}/Target Support Files/Pods-DFU Test Performer/Pods-DFU Test Performer-frameworks.sh",
296+
"${BUILT_PRODUCTS_DIR}/NordicDFU/NordicDFU.framework",
296297
"${BUILT_PRODUCTS_DIR}/ZIPFoundation/ZIPFoundation.framework",
297-
"${BUILT_PRODUCTS_DIR}/iOSDFULibrary/NordicDFU.framework",
298298
);
299299
name = "[CP] Embed Pods Frameworks";
300300
outputPaths = (
301-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ZIPFoundation.framework",
302301
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NordicDFU.framework",
302+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ZIPFoundation.framework",
303303
);
304304
runOnlyForDeploymentPostprocessing = 0;
305305
shellPath = /bin/sh;
@@ -345,7 +345,6 @@
345345
607FACED1AFB9204008FA782 /* Debug */ = {
346346
isa = XCBuildConfiguration;
347347
buildSettings = {
348-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
349348
ALWAYS_SEARCH_USER_PATHS = NO;
350349
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
351350
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
@@ -408,7 +407,6 @@
408407
607FACEE1AFB9204008FA782 /* Release */ = {
409408
isa = XCBuildConfiguration;
410409
buildSettings = {
411-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
412410
ALWAYS_SEARCH_USER_PATHS = NO;
413411
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
414412
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
@@ -466,7 +464,6 @@
466464
isa = XCBuildConfiguration;
467465
baseConfigurationReference = A53D3A4C2442F2EDB0E18C1E /* Pods-DFU Test Performer.debug.xcconfig */;
468466
buildSettings = {
469-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
470467
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
471468
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
472469
CODE_SIGN_IDENTITY = "iPhone Developer";
@@ -482,7 +479,7 @@
482479
"$(inherited)",
483480
"@executable_path/Frameworks",
484481
);
485-
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
482+
MACOSX_DEPLOYMENT_TARGET = 11.0;
486483
MARKETING_VERSION = 1.0.0;
487484
MODULE_NAME = ExampleApp;
488485
PRODUCT_BUNDLE_IDENTIFIER = "com.nordicsemi.DFU-Example";
@@ -498,7 +495,6 @@
498495
isa = XCBuildConfiguration;
499496
baseConfigurationReference = EC4C9A434AF0A6D23C24D283 /* Pods-DFU Test Performer.release.xcconfig */;
500497
buildSettings = {
501-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
502498
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
503499
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
504500
CODE_SIGN_IDENTITY = "iPhone Developer";
@@ -514,7 +510,7 @@
514510
"$(inherited)",
515511
"@executable_path/Frameworks",
516512
);
517-
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
513+
MACOSX_DEPLOYMENT_TARGET = 11.0;
518514
MARKETING_VERSION = 1.0.0;
519515
MODULE_NAME = ExampleApp;
520516
PRODUCT_BUNDLE_IDENTIFIER = "com.nordicsemi.DFU-Example";

Test App/DFU Test Performer.xcodeproj/xcshareddata/xcschemes/DFU Test Performer.xcscheme

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1530"
3+
LastUpgradeVersion = "1610"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"

Test App/Podfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use_frameworks!
22
target 'DFU Test Performer' do
33
platform :ios, '12.0'
4-
pod 'iOSDFULibrary', :path => '../'
5-
end
4+
pod 'NordicDFU', :path => '../'
5+
end

Test App/Podfile.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
PODS:
2-
- iOSDFULibrary (4.15.3):
2+
- NordicDFU (4.16.0):
33
- ZIPFoundation (= 0.9.19)
44
- ZIPFoundation (0.9.19)
55

66
DEPENDENCIES:
7-
- iOSDFULibrary (from `../`)
7+
- NordicDFU (from `../`)
88

99
SPEC REPOS:
1010
trunk:
1111
- ZIPFoundation
1212

1313
EXTERNAL SOURCES:
14-
iOSDFULibrary:
14+
NordicDFU:
1515
:path: "../"
1616

1717
SPEC CHECKSUMS:
18-
iOSDFULibrary: ef7e1fbb3fc7a5fabd106297a9cd0e775bcfcec6
18+
NordicDFU: 116a4ec458945889f8e0e71759e03b23c39c3482
1919
ZIPFoundation: b8c29ea7ae353b309bc810586181fd073cb3312c
2020

21-
PODFILE CHECKSUM: ae4b20f609dc65f886ce92e7f350ae5ef1fa65ca
21+
PODFILE CHECKSUM: 9a7e01b8ffa6bf429152c8dacc8e138552ed18aa
2222

23-
COCOAPODS: 1.15.2
23+
COCOAPODS: 1.16.2

Test App/Pods/Local Podspecs/iOSDFULibrary.podspec.json renamed to Test App/Pods/Local Podspecs/NordicDFU.podspec.json

+4-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Test App/Pods/Manifest.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)