Skip to content

Commit 5592953

Browse files
Added SPM support
1 parent 6748cbc commit 5592953

27 files changed

+536
-421
lines changed

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Constrictor.xcodeproj/project.pbxproj

Lines changed: 5 additions & 8 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 */
@@ -585,16 +585,11 @@
585585
files = (
586586
);
587587
inputFileListPaths = (
588-
);
589-
inputPaths = (
590-
"${PODS_ROOT}/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests-frameworks.sh",
591-
"${BUILT_PRODUCTS_DIR}/SnapshotTesting/SnapshotTesting.framework",
588+
"${PODS_ROOT}/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
592589
);
593590
name = "[CP] Embed Pods Frameworks";
594591
outputFileListPaths = (
595-
);
596-
outputPaths = (
597-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SnapshotTesting.framework",
592+
"${PODS_ROOT}/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
598593
);
599594
runOnlyForDeploymentPostprocessing = 0;
600595
shellPath = /bin/sh;
@@ -818,6 +813,7 @@
818813
"@executable_path/Frameworks",
819814
"@loader_path/Frameworks",
820815
);
816+
MARKETING_VERSION = 6.0.1;
821817
PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Constrictor;
822818
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
823819
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -846,6 +842,7 @@
846842
"@executable_path/Frameworks",
847843
"@loader_path/Frameworks",
848844
);
845+
MARKETING_VERSION = 6.0.1;
849846
PRODUCT_BUNDLE_IDENTIFIER = pedrommcarrasco.Constrictor;
850847
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
851848
PROVISIONING_PROFILE_SPECIFIER = "";

Constrictor/Constrictor/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0</string>
18+
<string>$(MARKETING_VERSION)</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

Constrictor/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ PODS:
22
- SnapshotTesting (1.4.0)
33

44
DEPENDENCIES:
5-
- SnapshotTesting (~> 1.4.0)
5+
- SnapshotTesting (~> 1.4)
66

77
SPEC REPOS:
8-
https://github.com/cocoapods/specs.git:
8+
trunk:
99
- SnapshotTesting
1010

1111
SPEC CHECKSUMS:
1212
SnapshotTesting: f50ca26f5f9dd8b26e158289ea1c2a89e2e54742
1313

14-
PODFILE CHECKSUM: de5dc4e277c07572740e623da59f8e811be4246d
14+
PODFILE CHECKSUM: c7d2884de26c51c97b0299c09914c7d5dc798b39
1515

16-
COCOAPODS: 1.6.0.beta.1
16+
COCOAPODS: 1.8.3

Constrictor/Pods/Manifest.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 405 additions & 393 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests-acknowledgements.plist

Lines changed: 56 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests-frameworks-Debug-input-files.xcfilelist

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests-frameworks-Debug-output-files.xcfilelist

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests-frameworks-Release-input-files.xcfilelist

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests-frameworks-Release-output-files.xcfilelist

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests-frameworks.sh

Lines changed: 21 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests.debug.xcconfig

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Target Support Files/Pods-ConstrictorTests/Pods-ConstrictorTests.release.xcconfig

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Constrictor/Pods/Target Support Files/SnapshotTesting/SnapshotTesting.xcconfig

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// swift-tools-version:5.1
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "Constrictor",
7+
platforms: [
8+
.iOS(.v11),
9+
],
10+
products: [
11+
.library(
12+
name: "Constrictor",
13+
targets: ["Constrictor"]),
14+
],
15+
dependencies: [],
16+
targets: [
17+
.target(
18+
name: "Constrictor",
19+
dependencies: [],
20+
path: "Constrictor/Constrictor"),
21+
]
22+
)

0 commit comments

Comments
 (0)