Skip to content

Commit 92d3e90

Browse files
authored
Merge pull request #524 from NordicSemiconductor/fix/carthage
Carthage configuration fixed
2 parents 8efb31f + ef2d5ec commit 92d3e90

File tree

322 files changed

+1804
-1633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

322 files changed

+1804
-1633
lines changed

App/nRF DFU.xcodeproj/xcshareddata/xcschemes/dfu.xcscheme

-10
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
31-
<TestableReference
32-
skipped = "NO">
33-
<BuildableReference
34-
BuildableIdentifier = "primary"
35-
BlueprintIdentifier = "8DEF02F227EB48A400838144"
36-
BuildableName = "dfuTests.xctest"
37-
BlueprintName = "dfuTests"
38-
ReferencedContainer = "container:nRF DFU.xcodeproj">
39-
</BuildableReference>
40-
</TestableReference>
4131
<TestableReference
4232
skipped = "NO">
4333
<BuildableReference

NordicDFU.xcodeproj/project.pbxproj

+955
Large diffs are not rendered by default.

NordicDFU.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1500"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "F09DFFA52B175F50002F844E"
18+
BuildableName = "NordicDFU.framework"
19+
BlueprintName = "NordicDFU"
20+
ReferencedContainer = "container:NordicDFU.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Release"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<TestPlans>
31+
<TestPlanReference
32+
reference = "container:NordicDFU.xctestplan"
33+
default = "YES">
34+
</TestPlanReference>
35+
</TestPlans>
36+
</TestAction>
37+
<LaunchAction
38+
buildConfiguration = "Debug"
39+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
40+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
41+
launchStyle = "0"
42+
useCustomWorkingDirectory = "NO"
43+
ignoresPersistentStateOnLaunch = "NO"
44+
debugDocumentVersioning = "YES"
45+
debugServiceExtension = "internal"
46+
allowLocationSimulation = "YES">
47+
</LaunchAction>
48+
<ProfileAction
49+
buildConfiguration = "Release"
50+
shouldUseLaunchSchemeArgsEnv = "YES"
51+
savedToolIdentifier = ""
52+
useCustomWorkingDirectory = "NO"
53+
debugDocumentVersioning = "YES">
54+
<MacroExpansion>
55+
<BuildableReference
56+
BuildableIdentifier = "primary"
57+
BlueprintIdentifier = "F09DFFA52B175F50002F844E"
58+
BuildableName = "NordicDFU.framework"
59+
BlueprintName = "NordicDFU"
60+
ReferencedContainer = "container:NordicDFU.xcodeproj">
61+
</BuildableReference>
62+
</MacroExpansion>
63+
</ProfileAction>
64+
<AnalyzeAction
65+
buildConfiguration = "Debug">
66+
</AnalyzeAction>
67+
<ArchiveAction
68+
buildConfiguration = "Release"
69+
revealArchiveInOrganizer = "YES">
70+
</ArchiveAction>
71+
</Scheme>

Test App/DFU Test Performer.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme renamed to NordicDFU.xcodeproj/xcshareddata/xcschemes/NordicDFUTests.xcscheme

+6-5
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@
1414
shouldAutocreateTestPlan = "YES">
1515
<Testables>
1616
<TestableReference
17-
skipped = "NO">
17+
skipped = "NO"
18+
parallelizable = "YES">
1819
<BuildableReference
1920
BuildableIdentifier = "primary"
20-
BlueprintIdentifier = "607FACE41AFB9204008FA782"
21-
BuildableName = "Tests.xctest"
22-
BlueprintName = "Tests"
23-
ReferencedContainer = "container:DFU Test Performer.xcodeproj">
21+
BlueprintIdentifier = "F09D00312B176A23002F844E"
22+
BuildableName = "NordicDFUTests.xctest"
23+
BlueprintName = "NordicDFUTests"
24+
ReferencedContainer = "container:NordicDFU.xcodeproj">
2425
</BuildableReference>
2526
</TestableReference>
2627
</Testables>

NordicDFU.xctestplan

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"configurations" : [
3+
{
4+
"id" : "8FDB24E6-C66C-49F0-A805-427D507E961E",
5+
"name" : "Configuration 1",
6+
"options" : {
7+
8+
}
9+
}
10+
],
11+
"defaultOptions" : {
12+
13+
},
14+
"testTargets" : [
15+
{
16+
"target" : {
17+
"containerPath" : "container:NordicDFU.xcodeproj",
18+
"identifier" : "F09D00312B176A23002F844E",
19+
"name" : "NordicDFUTests"
20+
}
21+
}
22+
],
23+
"version" : 1
24+
}

Package.swift

+4-6
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,17 @@ let package = Package(
2424
.target(
2525
name: "NordicDFU",
2626
dependencies: ["ZIPFoundation"],
27-
path: "Library/",
28-
sources: ["Classes"],
27+
path: "Library",
2928
resources: [
30-
.process("Assets/PrivacyInfo.xcprivacy"),
31-
.process("Assets/Documentation.docc")
29+
.process("Assets/PrivacyInfo.xcprivacy")
3230
]
3331
),
3432
// FIXME: Exclude this target for `watchOS` Simulator, because it fails to
3533
// compile in Xcode.
3634
.testTarget(
37-
name: "Hex2BinConverterTests",
35+
name: "NordicDFUTests",
3836
dependencies: ["NordicDFU"],
39-
path: "Test App/Tests/"
37+
path: "Tests"
4038
)
4139
],
4240
swiftLanguageVersions: [.v5]

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ pod install
4242

4343
- Create a new **Cartfile** in your project's root with the following contents
4444

45-
```ogld
46-
github "NordicSemiconductor/IOS-DFU-Library" ~> x.y //Replace x.y with your required version
45+
```
46+
github "NordicSemiconductor/IOS-DFU-Library" ~> x.y // Replace x.y with your required version
4747
```
4848

4949
- Build with carthage
5050

5151
```sh
52-
carthage update --platform iOS //also OSX platform is available for macOS builds
52+
carthage update --use-xcframeworks --platform iOS // other supported platforms: macOS, tvOS, watchOS
5353
```
5454

5555
- Carthage will build the **iOSDFULibrary.framework** and **ZipFramework.framework** files in **Carthage/Build/**,
@@ -67,7 +67,7 @@ let package = Package(
6767
dependencies: [
6868
.package(
6969
url: "https://github.com/NordicSemiconductor/IOS-DFU-Library",
70-
.upToNextMajor(from: "<Desired Version, e.g. 4.14.0>")
70+
.upToNextMajor(from: "<Desired Version>")
7171
)
7272
],
7373
targets: [.target(name: "<Your Target Name>", dependencies: ["NordicDFU"])]

0 commit comments

Comments
 (0)