Skip to content

Commit

Permalink
Merge pull request #3 from RobotsAndPencils/addSPMPackage
Browse files Browse the repository at this point in the history
Adds version and Package Manifest
  • Loading branch information
markpokornycos authored Apr 5, 2022
2 parents 1fa2e6a + b0bef33 commit 1b2c0ac
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions AsyncNetworkService.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
8347924927FCBCC100AFDDF3 /* Package.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
E8A9142C279B2D3800095A98 /* AsyncNetworkService.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AsyncNetworkService.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E8A9142F279B2D3800095A98 /* AsyncNetworkService.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AsyncNetworkService.h; sourceTree = "<group>"; };
E8A91430279B2D3800095A98 /* AsyncNetworkService.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = AsyncNetworkService.docc; sourceTree = "<group>"; };
Expand Down Expand Up @@ -113,6 +114,7 @@
E8A91422279B2D3800095A98 = {
isa = PBXGroup;
children = (
8347924927FCBCC100AFDDF3 /* Package.swift */,
E8A9142E279B2D3800095A98 /* AsyncNetworkService */,
E8A9143A279B2D3800095A98 /* AsyncNetworkServiceTests */,
E8A91468279B3C8800095A98 /* AsyncNetworkServiceExample */,
Expand Down Expand Up @@ -560,7 +562,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0;
MARKETING_VERSION = 0.1;
PRODUCT_BUNDLE_IDENTIFIER = com.robotsandpencils.AsyncNetworkService;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -589,7 +591,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0;
MARKETING_VERSION = 0.1;
PRODUCT_BUNDLE_IDENTIFIER = com.robotsandpencils.AsyncNetworkService;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand Down
31 changes: 31 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// swift-tools-version:5.5
import PackageDescription

let package = Package(
name: "AsyncNetworkService",
platforms: [
.iOS(.v13),
.macOS(.v10_15)
],
products: [
.library(
name: "AsyncNetworkService",
targets: ["AsyncNetworkService"]
)
],
dependencies: [
.package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", from: "9.0.0")
],
targets: [
.target(
name: "AsyncNetworkService",
dependencies: [],
path: "./AsyncNetworkService"
),
.testTarget(
name: "AsyncNetworkServiceTests",
dependencies: ["OHHTTPStubs"],
path: "./AsyncNetworkServiceTests"
)
]
)

0 comments on commit 1b2c0ac

Please sign in to comment.