Skip to content

Commit 6316225

Browse files
committed
Embed SwiftyJSON into project; otherwise deployment target is too old.
1 parent 544dd71 commit 6316225

File tree

7 files changed

+1408
-31
lines changed

7 files changed

+1408
-31
lines changed

Package.resolved

Lines changed: 0 additions & 16 deletions
This file was deleted.

Package.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@ let package = Package(
1515
targets: ["ExampleCommandLineApp"]),
1616
],
1717
dependencies: [
18-
.package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", from: "5.0.0"),
1918
],
2019
targets: [
2120
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2221
// Targets can depend on other targets in this package, and on products in packages this package depends on.
2322
.target(
2423
name: "PodcastAPI",
25-
dependencies: ["SwiftyJSON"]),
24+
dependencies: []),
2625
.testTarget(
2726
name: "PodcastAPITests",
2827
dependencies: ["PodcastAPI"]),

PodcastAPI.podspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ Pod::Spec.new do |s|
1515
# s.tvos.deployment_target = "9.0"
1616
s.source = { :git => "https://github.com/ListenNotes/podcast-api-swift.git", :tag => "#{s.version}" }
1717
s.source_files = "Sources/PodcastAPI/*.swift"
18-
s.dependency "SwiftyJSON", "~> 5.0"
1918
end

Sources/ExampleIOSApp/ExampleIOSApp.xcodeproj/project.pbxproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 51;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -88,7 +88,6 @@
8888
438B8D7B093D5DD60DF2A1D8 /* Pods-ExampleIOSApp.debug.xcconfig */,
8989
B18204F2D6D45CC98913C0B0 /* Pods-ExampleIOSApp.release.xcconfig */,
9090
);
91-
name = Pods;
9291
path = Pods;
9392
sourceTree = "<group>";
9493
};
@@ -358,6 +357,7 @@
358357
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
359358
CODE_SIGN_STYLE = Automatic;
360359
INFOPLIST_FILE = ExampleIOSApp/Info.plist;
360+
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
361361
LD_RUNPATH_SEARCH_PATHS = (
362362
"$(inherited)",
363363
"@executable_path/Frameworks",
@@ -377,6 +377,7 @@
377377
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
378378
CODE_SIGN_STYLE = Automatic;
379379
INFOPLIST_FILE = ExampleIOSApp/Info.plist;
380+
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
380381
LD_RUNPATH_SEARCH_PATHS = (
381382
"$(inherited)",
382383
"@executable_path/Frameworks",

Sources/ExampleIOSApp/Podfile.lock

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
11
PODS:
2-
- PodcastAPI (1.1.6):
3-
- SwiftyJSON (~> 5.0)
4-
- SwiftyJSON (5.0.0)
2+
- PodcastAPI (1.1.6)
53

64
DEPENDENCIES:
75
- PodcastAPI (from `../..`)
86

9-
SPEC REPOS:
10-
trunk:
11-
- SwiftyJSON
12-
137
EXTERNAL SOURCES:
148
PodcastAPI:
159
:path: "../.."
1610

1711
SPEC CHECKSUMS:
18-
PodcastAPI: 272b7c622f46588b807c0436d47a4551cf4f94ca
19-
SwiftyJSON: 36413e04c44ee145039d332b4f4e2d3e8d6c4db7
12+
PodcastAPI: 02ea00bda553e914356f57674d0845c194b7e07a
2013

2114
PODFILE CHECKSUM: a0f3ac29f2e50f06e13ba6997a45f525dbae37c7
2215

Sources/PodcastAPI/ApiResponse.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Foundation
2-
import SwiftyJSON
2+
// import SwiftyJSON
33

44
public class ApiResponse {
55
var data: Data?

0 commit comments

Comments
 (0)