Skip to content

Commit 3682c55

Browse files
authored
Merge pull request #109 from NordicSemiconductor/refreshing
Migration to Xcode 12.5, DFU 4.10.1, McuMgr 0.12.0
2 parents 992c9a6 + 1ce9c72 commit 3682c55

File tree

20 files changed

+42
-49
lines changed

20 files changed

+42
-49
lines changed

Podfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
use_frameworks!
22
target "nRF Toolbox" do
3-
pod 'iOSDFULibrary', '~> 4.7'
4-
# pod 'EVReflection', '~> 5.10'
3+
pod 'iOSDFULibrary', '~> 4.10.1'
54
pod 'SWRevealViewController', '~> 2.3'
6-
pod 'CorePlot', '~> 2.2'
7-
pod 'Charts', '~> 3.5'
8-
pod 'AEXML', '~> 4.5'
9-
pod 'McuManager', '~> 0.10'
5+
pod 'Charts', '~> 3.6'
6+
pod 'AEXML', '~> 4.6'
7+
pod 'McuManager', '~> 0.12'
108
end

Podfile.lock

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,42 @@
11
PODS:
2-
- AEXML (4.5.0)
3-
- Charts (3.5.0):
4-
- Charts/Core (= 3.5.0)
5-
- Charts/Core (3.5.0)
6-
- CorePlot (2.3)
7-
- iOSDFULibrary (4.7.1):
2+
- AEXML (4.6.0)
3+
- Charts (3.6.0):
4+
- Charts/Core (= 3.6.0)
5+
- Charts/Core (3.6.0)
6+
- iOSDFULibrary (4.10.1):
87
- ZIPFoundation (= 0.9.11)
9-
- McuManager (0.10.0):
8+
- McuManager (0.12.0):
109
- SwiftCBOR (= 0.4.3)
1110
- SwiftCBOR (0.4.3)
1211
- SWRevealViewController (2.3.0)
1312
- ZIPFoundation (0.9.11)
1413

1514
DEPENDENCIES:
16-
- AEXML (~> 4.5)
17-
- Charts (~> 3.5)
18-
- CorePlot (~> 2.2)
19-
- iOSDFULibrary (~> 4.7)
20-
- McuManager (~> 0.10)
15+
- AEXML (~> 4.6)
16+
- Charts (~> 3.6)
17+
- iOSDFULibrary (~> 4.10.1)
18+
- McuManager (~> 0.12)
2119
- SWRevealViewController (~> 2.3)
2220

2321
SPEC REPOS:
2422
trunk:
2523
- AEXML
2624
- Charts
27-
- CorePlot
2825
- iOSDFULibrary
2926
- McuManager
3027
- SwiftCBOR
3128
- SWRevealViewController
3229
- ZIPFoundation
3330

3431
SPEC CHECKSUMS:
35-
AEXML: 0e8f1d874fa033ca6b3909452a8bc362faad46e6
36-
Charts: 40a08591df1f8ad5c223ddedfb1a06da92f24f7c
37-
CorePlot: 6bfe6d30d215beec3cfd18ee43e434620119bc1e
38-
iOSDFULibrary: f912fa3880137df8d81bf220dd70ebe036f2d601
39-
McuManager: a734d3ef5cbf2fb6021388c79f8c7895b3281e38
32+
AEXML: 2fbb73d8724797ed2cde888731e176fa4d44dd83
33+
Charts: b1e3a1f5a1c9ba5394438ca3b91bd8c9076310af
34+
iOSDFULibrary: 54dfe3f729cabc2250b0420147d0f864d76e7b54
35+
McuManager: 04fbec94566eaaf5508175246b1d5b0c5f1b83dd
4036
SwiftCBOR: c7d740966575e0fd5d971466de2b6776db3f10c3
4137
SWRevealViewController: 6d3fd97f70112fd7cef9de14df4260eacce4c63a
4238
ZIPFoundation: b1f0de4eed33e74a676f76e12559ab6b75990197
4339

44-
PODFILE CHECKSUM: 231a987b95c8a931837051e6800bdf1778d188ee
40+
PODFILE CHECKSUM: 886189cf4c5addbc3754f4b102eb11c866fab740
4541

46-
COCOAPODS: 1.9.3
42+
COCOAPODS: 1.10.1

nRF Toolbox.xcodeproj/project.pbxproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,7 @@
17831783
isa = PBXProject;
17841784
attributes = {
17851785
LastSwiftUpdateCheck = 1140;
1786-
LastUpgradeCheck = 1030;
1786+
LastUpgradeCheck = 1250;
17871787
ORGANIZATIONNAME = "Nordic Semiconductor";
17881788
TargetAttributes = {
17891789
014C4E8F2404038A0003E601 = {
@@ -1808,10 +1808,9 @@
18081808
};
18091809
buildConfigurationList = 5217F3DD1859EE0000F2D5BB /* Build configuration list for PBXProject "nRF Toolbox" */;
18101810
compatibilityVersion = "Xcode 3.2";
1811-
developmentRegion = English;
1811+
developmentRegion = en;
18121812
hasScannedForEncodings = 0;
18131813
knownRegions = (
1814-
English,
18151814
en,
18161815
Base,
18171816
);
@@ -1930,7 +1929,6 @@
19301929
"${PODS_ROOT}/Target Support Files/Pods-nRF Toolbox/Pods-nRF Toolbox-frameworks.sh",
19311930
"${BUILT_PRODUCTS_DIR}/AEXML/AEXML.framework",
19321931
"${BUILT_PRODUCTS_DIR}/Charts/Charts.framework",
1933-
"${BUILT_PRODUCTS_DIR}/CorePlot/CorePlot.framework",
19341932
"${BUILT_PRODUCTS_DIR}/McuManager/McuManager.framework",
19351933
"${BUILT_PRODUCTS_DIR}/SWRevealViewController/SWRevealViewController.framework",
19361934
"${BUILT_PRODUCTS_DIR}/SwiftCBOR/SwiftCBOR.framework",
@@ -1941,7 +1939,6 @@
19411939
outputPaths = (
19421940
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AEXML.framework",
19431941
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Charts.framework",
1944-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CorePlot.framework",
19451942
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/McuManager.framework",
19461943
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SWRevealViewController.framework",
19471944
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftCBOR.framework",
@@ -2304,6 +2301,7 @@
23042301
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
23052302
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
23062303
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
2304+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
23072305
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
23082306
CLANG_WARN_STRICT_PROTOTYPES = YES;
23092307
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -2414,6 +2412,7 @@
24142412
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
24152413
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
24162414
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
2415+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
24172416
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
24182417
CLANG_WARN_STRICT_PROTOTYPES = YES;
24192418
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -2474,6 +2473,7 @@
24742473
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
24752474
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
24762475
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
2476+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
24772477
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
24782478
CLANG_WARN_STRICT_PROTOTYPES = YES;
24792479
CLANG_WARN_SUSPICIOUS_MOVE = YES;

nRF Toolbox.xcodeproj/xcshareddata/xcschemes/nRF Toolbox Tests 1.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1140"
3+
LastUpgradeVersion = "1250"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

nRF Toolbox.xcodeproj/xcshareddata/xcschemes/nRF Toolbox Tests.xcscheme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1140"
3+
LastUpgradeVersion = "1250"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -16,7 +16,7 @@
1616
skipped = "NO">
1717
<BuildableReference
1818
BuildableIdentifier = "primary"
19-
BlueprintIdentifier = "0169B5A423FBEA9600907C1B"
19+
BlueprintIdentifier = "014C4E8F2404038A0003E601"
2020
BuildableName = "nRF Toolbox Tests.xctest"
2121
BlueprintName = "nRF Toolbox Tests"
2222
ReferencedContainer = "container:nRF Toolbox.xcodeproj">

nRF Toolbox.xcodeproj/xcshareddata/xcschemes/nRF Toolbox.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1100"
3+
LastUpgradeVersion = "1250"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

nRF Toolbox/Connection/ConnectionViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
import UIKit
3434

35-
protocol ConnectionViewControllerDelegate: class {
35+
protocol ConnectionViewControllerDelegate: AnyObject {
3636
func requestConnection(to peripheral: Peripheral)
3737
}
3838

nRF Toolbox/Connection/PeripheralScanner.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import CoreBluetooth
3434
import os.log
3535

36-
protocol PeripheralScannerDelegate: class {
36+
protocol PeripheralScannerDelegate: AnyObject {
3737
func statusChanges(_ status: PeripheralScanner.Status)
3838
func newPeripherals(_ peripherals: [Peripheral], willBeAddedTo existing: [Peripheral])
3939
func peripherals(_ peripherals: [Peripheral], addedTo old: [Peripheral])

nRF Toolbox/Profiles/DeviceFirmwareUpdate/DFURouter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ enum PresentationType {
3838
case push, present
3939
}
4040

41-
protocol DFURouterType: class {
41+
protocol DFURouterType: AnyObject {
4242
@discardableResult
4343
func initialState() -> UIViewController
4444

nRF Toolbox/Profiles/DeviceFirmwareUpdate/Utils/PeripheralHolder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
import UIKit
3434

35-
protocol PeripheralConnectionCallback: class {
35+
protocol PeripheralConnectionCallback: AnyObject {
3636
func peripheralWasSelected(_ peripheral: Peripheral)
3737
}
3838

0 commit comments

Comments
 (0)