This pull request adds support for Swift Package Manager (#82)

This commit is contained in:
Amit Samant
2020-10-04 16:01:18 +05:30
committed by GitHub
parent 41fdbd2be0
commit 43893485cc
26 changed files with 308 additions and 434 deletions
+2 -1
View File
@@ -3,7 +3,7 @@
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode11
osx_image: xcode12
# cache: cocoapods
# podfile: Example/Podfile
before_install:
@@ -12,3 +12,4 @@ before_install:
script:
- set -o pipefail && xcodebuild -workspace Example/ScalingCarousel.xcworkspace -scheme ScalingCarousel-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=13.0,name=iPhone 11' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
- swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios13.0-simulator"
+3 -3
View File
@@ -1,5 +1,5 @@
PODS:
- ScalingCarousel (3)
- ScalingCarousel (3.1.1)
DEPENDENCIES:
- ScalingCarousel (from `../`)
@@ -9,8 +9,8 @@ EXTERNAL SOURCES:
:path: "../"
SPEC CHECKSUMS:
ScalingCarousel: 1176f9218d296682aad94380bded73e7c3d9c222
ScalingCarousel: b7968a97f8bbefdd900e089221bb39a3e2069dd9
PODFILE CHECKSUM: eb98ed396fdf8c805a77f2d1f034cb686f11deb6
COCOAPODS: 1.8.4
COCOAPODS: 1.9.3
+5 -3
View File
@@ -1,6 +1,6 @@
{
"name": "ScalingCarousel",
"version": "3",
"version": "3.1.1",
"summary": "A super simple carousel view with scaling transitions written in Swift",
"description": "ScalingCarousel provides a simple carousel-style collection view.\nIt takes care of cell presentation, scaling each cell as the collection view is scrolled.\n\nIt is used in Bikey to present bike station information.",
"homepage": "https://github.com/superpeteblaze/ScalingCarousel",
@@ -13,10 +13,12 @@
},
"source": {
"git": "https://github.com/superpeteblaze/ScalingCarousel.git",
"tag": "v3"
"tag": "v3.1.1"
},
"platforms": {
"ios": "10.0"
},
"source_files": "ScalingCarousel/Classes/**/*"
"swift_versions": "5",
"source_files": "Sources/ScalingCarousel/**/*",
"swift_version": "5"
}
Generated Vendored
+3 -3
View File
@@ -1,5 +1,5 @@
PODS:
- ScalingCarousel (3)
- ScalingCarousel (3.1.1)
DEPENDENCIES:
- ScalingCarousel (from `../`)
@@ -9,8 +9,8 @@ EXTERNAL SOURCES:
:path: "../"
SPEC CHECKSUMS:
ScalingCarousel: 1176f9218d296682aad94380bded73e7c3d9c222
ScalingCarousel: b7968a97f8bbefdd900e089221bb39a3e2069dd9
PODFILE CHECKSUM: eb98ed396fdf8c805a77f2d1f034cb686f11deb6
COCOAPODS: 1.8.4
COCOAPODS: 1.9.3
+101 -100
View File
@@ -7,19 +7,19 @@
objects = {
/* Begin PBXBuildFile section */
152CF64AFB38251021CE5AFBA8300258 /* Pods-ScalingCarousel_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C057019C5FA66D497002B93A840453A /* Pods-ScalingCarousel_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
3936C89D20F377DC53759E1A17A35CFC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; };
701FD32E541A576B60F48C5AA3C4D6FA /* ScalingCarouselView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A06DC8C9268656FFDC87328F1805774 /* ScalingCarouselView.swift */; };
853FDAE19636BBDFA505E3E88C45F473 /* ScalingCarouselCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4E0EEF3F8B4C96975BFD6CE0ECE7CCA /* ScalingCarouselCell.swift */; };
904EFCAE255D3D02DA37BAE56CE94912 /* ScalingCarousel-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A570C1D57A90547CDC4E8D7ACCF9FFA0 /* ScalingCarousel-dummy.m */; };
91AE2D8FC0263200014C645CBF177886 /* Pods-ScalingCarousel_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BFEB1A95A5DA8CCF661C4A85D81F2208 /* Pods-ScalingCarousel_Example-dummy.m */; };
B214D86BFA1DC4400EA913748023DE38 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; };
BE7971A59AAEC621AF96AEADBD698850 /* ScalingCarousel-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9F483475C1C4F29D5202F564C4485DED /* ScalingCarousel-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
EFF26F4F634480D0BD6F4AEDCF87D091 /* Pods-ScalingCarousel_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C057019C5FA66D497002B93A840453A /* Pods-ScalingCarousel_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
FBA1EE1DA92E81090F16249F3878996F /* ScalingCarouselLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 58E39C0FB5D1E00BC27B105951D0D81F /* ScalingCarouselLayout.swift */; };
3C0889E855FE65CDB1E4049B04B0A4BB /* Pods-ScalingCarousel_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BFEB1A95A5DA8CCF661C4A85D81F2208 /* Pods-ScalingCarousel_Example-dummy.m */; };
3E11DE7E4756989E49A7A7991136BF3B /* ScalingCarouselCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE490604640A4BF0C5FCFE22F4666CB6 /* ScalingCarouselCell.swift */; };
79FC93AF4690DCE9A5763EBBE3BC3353 /* ScalingCarouselView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EFD9373334A8624F8450E502CDA65414 /* ScalingCarouselView.swift */; };
904EFCAE255D3D02DA37BAE56CE94912 /* ScalingCarousel-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C743E2EF2CCE73D3A68B672C79D9A12B /* ScalingCarousel-dummy.m */; };
BE7971A59AAEC621AF96AEADBD698850 /* ScalingCarousel-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = EEDFED4CF291BEE56BAAF4E88A1D6DF1 /* ScalingCarousel-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
C7321338811EBD9125CF351023AA3A07 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; };
E694C4C7B09140D6BED894870A7A87F0 /* ScalingCarouselLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7A0070BDD7994DF4B7B9C418C62F318 /* ScalingCarouselLayout.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
73EF4B861AAC561BA04CA64A633A2D42 /* PBXContainerItemProxy */ = {
789120D85EDAE7AE0F16C5258213ED8D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */;
proxyType = 1;
@@ -29,39 +29,40 @@
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
071168D69185AC94A7626C79D6833CF3 /* ScalingCarousel.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ScalingCarousel.modulemap; sourceTree = "<group>"; };
0C057019C5FA66D497002B93A840453A /* Pods-ScalingCarousel_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ScalingCarousel_Example-umbrella.h"; sourceTree = "<group>"; };
1135B05C8FE357E9C21AE73874DCFC26 /* ScalingCarousel.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ScalingCarousel.xcconfig; sourceTree = "<group>"; };
10F4AE75069608E3A1A663A712832F20 /* ScalingCarousel.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ScalingCarousel.debug.xcconfig; sourceTree = "<group>"; };
178A30ACB07791F9CB72656C2EBD0DB2 /* Pods-ScalingCarousel_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ScalingCarousel_Example-acknowledgements.markdown"; sourceTree = "<group>"; };
22A7074ADD4DD9AE728953C1549B2483 /* ScalingCarousel-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ScalingCarousel-Info.plist"; sourceTree = "<group>"; };
24E96286E41476A4E7F4D8742B9B16D7 /* ScalingCarousel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ScalingCarousel.framework; sourceTree = BUILT_PRODUCTS_DIR; };
2A06DC8C9268656FFDC87328F1805774 /* ScalingCarouselView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScalingCarouselView.swift; path = ScalingCarousel/Classes/ScalingCarouselView.swift; sourceTree = "<group>"; };
24E96286E41476A4E7F4D8742B9B16D7 /* ScalingCarousel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ScalingCarousel.framework; path = ScalingCarousel.framework; sourceTree = BUILT_PRODUCTS_DIR; };
29E4C8048FC1403E53D491BD6675C82B /* ScalingCarousel-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ScalingCarousel-Info.plist"; sourceTree = "<group>"; };
3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
475C2044A8D3660108F2820731ED1CF0 /* ScalingCarousel-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScalingCarousel-prefix.pch"; sourceTree = "<group>"; };
4F6F7AB5D423CCFC2844CC94DBD01172 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
515169048B173FF344B3C8148D252124 /* ScalingCarousel.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = ScalingCarousel.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
524D55D0B2BB59250064F1C4C2438428 /* Pods-ScalingCarousel_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ScalingCarousel_Example-Info.plist"; sourceTree = "<group>"; };
58E39C0FB5D1E00BC27B105951D0D81F /* ScalingCarouselLayout.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScalingCarouselLayout.swift; path = ScalingCarousel/Classes/ScalingCarouselLayout.swift; sourceTree = "<group>"; };
5B5722330E8A3F7A74F1635C3DAA3508 /* ScalingCarousel.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = ScalingCarousel.podspec; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
66BEA80A778317E935AD2E5CD4F7B117 /* ScalingCarousel.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ScalingCarousel.release.xcconfig; sourceTree = "<group>"; };
957C8793F661B54511156AE97EB55F92 /* Pods-ScalingCarousel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScalingCarousel_Example.release.xcconfig"; sourceTree = "<group>"; };
9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
9F483475C1C4F29D5202F564C4485DED /* ScalingCarousel-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScalingCarousel-umbrella.h"; sourceTree = "<group>"; };
A570C1D57A90547CDC4E8D7ACCF9FFA0 /* ScalingCarousel-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ScalingCarousel-dummy.m"; sourceTree = "<group>"; };
9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
ABE3419A349E4F540D45A562F0A05014 /* Pods-ScalingCarousel_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ScalingCarousel_Example-acknowledgements.plist"; sourceTree = "<group>"; };
AC7483491FC89054EB62305993D4390D /* ScalingCarousel.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ScalingCarousel.modulemap; sourceTree = "<group>"; };
AFEADA760D3507AB6DBC19949DED0326 /* Pods-ScalingCarousel_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-ScalingCarousel_Example.modulemap"; sourceTree = "<group>"; };
B4E0EEF3F8B4C96975BFD6CE0ECE7CCA /* ScalingCarouselCell.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScalingCarouselCell.swift; path = ScalingCarousel/Classes/ScalingCarouselCell.swift; sourceTree = "<group>"; };
BFEB1A95A5DA8CCF661C4A85D81F2208 /* Pods-ScalingCarousel_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ScalingCarousel_Example-dummy.m"; sourceTree = "<group>"; };
CDD901871B51D9B59515F85B2E1601EE /* Pods_ScalingCarousel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScalingCarousel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
C3B05B9F81825947EBD9ADCDB378B766 /* ScalingCarousel-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScalingCarousel-prefix.pch"; sourceTree = "<group>"; };
C743E2EF2CCE73D3A68B672C79D9A12B /* ScalingCarousel-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ScalingCarousel-dummy.m"; sourceTree = "<group>"; };
CDD901871B51D9B59515F85B2E1601EE /* Pods_ScalingCarousel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ScalingCarousel_Example.framework; path = "Pods-ScalingCarousel_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
CE490604640A4BF0C5FCFE22F4666CB6 /* ScalingCarouselCell.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScalingCarouselCell.swift; path = Sources/ScalingCarousel/ScalingCarouselCell.swift; sourceTree = "<group>"; };
CF4CFBF1E3D92D62A025151E087C9E79 /* Pods-ScalingCarousel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScalingCarousel_Example.debug.xcconfig"; sourceTree = "<group>"; };
EB7F0E1C9CE6AB91E60E175D59D0FB6F /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
D05905B20C3970EDD11DF2651CEAC574 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = "<group>"; };
D7A0070BDD7994DF4B7B9C418C62F318 /* ScalingCarouselLayout.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScalingCarouselLayout.swift; path = Sources/ScalingCarousel/ScalingCarouselLayout.swift; sourceTree = "<group>"; };
EEDFED4CF291BEE56BAAF4E88A1D6DF1 /* ScalingCarousel-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScalingCarousel-umbrella.h"; sourceTree = "<group>"; };
EFD9373334A8624F8450E502CDA65414 /* ScalingCarouselView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScalingCarouselView.swift; path = Sources/ScalingCarousel/ScalingCarouselView.swift; sourceTree = "<group>"; };
F5C0A5E801AA33592197E98859F9BF3E /* Pods-ScalingCarousel_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ScalingCarousel_Example-frameworks.sh"; sourceTree = "<group>"; };
F5DA5A1BDAC96C6FC234BCCEEB84437A /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
6F4A83664010D5192C2C79DA77BDD30C /* Frameworks */ = {
D2DAC1F729E08F881BB54C69D58837EC /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
B214D86BFA1DC4400EA913748023DE38 /* Foundation.framework in Frameworks */,
C7321338811EBD9125CF351023AA3A07 /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -76,6 +77,31 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
2951F13B819E5437715D07401C19EBC9 /* Support Files */ = {
isa = PBXGroup;
children = (
071168D69185AC94A7626C79D6833CF3 /* ScalingCarousel.modulemap */,
C743E2EF2CCE73D3A68B672C79D9A12B /* ScalingCarousel-dummy.m */,
29E4C8048FC1403E53D491BD6675C82B /* ScalingCarousel-Info.plist */,
C3B05B9F81825947EBD9ADCDB378B766 /* ScalingCarousel-prefix.pch */,
EEDFED4CF291BEE56BAAF4E88A1D6DF1 /* ScalingCarousel-umbrella.h */,
10F4AE75069608E3A1A663A712832F20 /* ScalingCarousel.debug.xcconfig */,
66BEA80A778317E935AD2E5CD4F7B117 /* ScalingCarousel.release.xcconfig */,
);
name = "Support Files";
path = "Example/Pods/Target Support Files/ScalingCarousel";
sourceTree = "<group>";
};
2B277CD3BA52D3D04E8205C31D0AF9F5 /* Pod */ = {
isa = PBXGroup;
children = (
D05905B20C3970EDD11DF2651CEAC574 /* LICENSE */,
F5DA5A1BDAC96C6FC234BCCEEB84437A /* README.md */,
515169048B173FF344B3C8148D252124 /* ScalingCarousel.podspec */,
);
name = Pod;
sourceTree = "<group>";
};
6E942C74460FE1A1940D4DC86883DEF5 /* Pods-ScalingCarousel_Example */ = {
isa = PBXGroup;
children = (
@@ -93,20 +119,6 @@
path = "Target Support Files/Pods-ScalingCarousel_Example";
sourceTree = "<group>";
};
7CC00E87612C393D56FE9B29672BF95C /* Support Files */ = {
isa = PBXGroup;
children = (
AC7483491FC89054EB62305993D4390D /* ScalingCarousel.modulemap */,
1135B05C8FE357E9C21AE73874DCFC26 /* ScalingCarousel.xcconfig */,
A570C1D57A90547CDC4E8D7ACCF9FFA0 /* ScalingCarousel-dummy.m */,
22A7074ADD4DD9AE728953C1549B2483 /* ScalingCarousel-Info.plist */,
475C2044A8D3660108F2820731ED1CF0 /* ScalingCarousel-prefix.pch */,
9F483475C1C4F29D5202F564C4485DED /* ScalingCarousel-umbrella.h */,
);
name = "Support Files";
path = "Example/Pods/Target Support Files/ScalingCarousel";
sourceTree = "<group>";
};
88D0D8E2221E9F0EAB58860BDBC7EC31 /* Targets Support Files */ = {
isa = PBXGroup;
children = (
@@ -127,7 +139,7 @@
B9F676C58261C0923156C71D1C02F2A5 /* Development Pods */ = {
isa = PBXGroup;
children = (
F36B8082BD497CF286A316228245DA65 /* ScalingCarousel */,
EFAA991BE4E4D7E71586CED654912366 /* ScalingCarousel */,
);
name = "Development Pods";
sourceTree = "<group>";
@@ -140,16 +152,6 @@
name = iOS;
sourceTree = "<group>";
};
C73DF487C89865335733BD72511B690F /* Pod */ = {
isa = PBXGroup;
children = (
4F6F7AB5D423CCFC2844CC94DBD01172 /* LICENSE */,
EB7F0E1C9CE6AB91E60E175D59D0FB6F /* README.md */,
5B5722330E8A3F7A74F1635C3DAA3508 /* ScalingCarousel.podspec */,
);
name = Pod;
sourceTree = "<group>";
};
CF1408CF629C7361332E53B88F7BD30C = {
isa = PBXGroup;
children = (
@@ -169,14 +171,14 @@
name = Frameworks;
sourceTree = "<group>";
};
F36B8082BD497CF286A316228245DA65 /* ScalingCarousel */ = {
EFAA991BE4E4D7E71586CED654912366 /* ScalingCarousel */ = {
isa = PBXGroup;
children = (
B4E0EEF3F8B4C96975BFD6CE0ECE7CCA /* ScalingCarouselCell.swift */,
58E39C0FB5D1E00BC27B105951D0D81F /* ScalingCarouselLayout.swift */,
2A06DC8C9268656FFDC87328F1805774 /* ScalingCarouselView.swift */,
C73DF487C89865335733BD72511B690F /* Pod */,
7CC00E87612C393D56FE9B29672BF95C /* Support Files */,
CE490604640A4BF0C5FCFE22F4666CB6 /* ScalingCarouselCell.swift */,
D7A0070BDD7994DF4B7B9C418C62F318 /* ScalingCarouselLayout.swift */,
EFD9373334A8624F8450E502CDA65414 /* ScalingCarouselView.swift */,
2B277CD3BA52D3D04E8205C31D0AF9F5 /* Pod */,
2951F13B819E5437715D07401C19EBC9 /* Support Files */,
);
name = ScalingCarousel;
path = ../..;
@@ -185,14 +187,6 @@
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
0122334C7A67EC1E1731E416F5EF2801 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
EFF26F4F634480D0BD6F4AEDCF87D091 /* Pods-ScalingCarousel_Example-umbrella.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
3E4455540B0C53CA5013A83952D7CAE8 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
@@ -201,22 +195,30 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
BBA741AC737B6A8B638F8148D9A7431B /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
152CF64AFB38251021CE5AFBA8300258 /* Pods-ScalingCarousel_Example-umbrella.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
29F71F99974E37E26FD6337859016BC3 /* Pods-ScalingCarousel_Example */ = {
isa = PBXNativeTarget;
buildConfigurationList = 486E1C262B464A5022BAA781150131EB /* Build configuration list for PBXNativeTarget "Pods-ScalingCarousel_Example" */;
buildConfigurationList = 5DAD223E014E06015D8F6BC61F063CB9 /* Build configuration list for PBXNativeTarget "Pods-ScalingCarousel_Example" */;
buildPhases = (
0122334C7A67EC1E1731E416F5EF2801 /* Headers */,
634B8800F5EA2A4B5405E7367C878D11 /* Sources */,
6F4A83664010D5192C2C79DA77BDD30C /* Frameworks */,
FE5DF50A657E2D9515A48294812E426E /* Resources */,
BBA741AC737B6A8B638F8148D9A7431B /* Headers */,
AE9B589FD9AC3B1C168C5D7C59CA6FAC /* Sources */,
D2DAC1F729E08F881BB54C69D58837EC /* Frameworks */,
ADB6168C6B1396987727B38F6CEE455F /* Resources */,
);
buildRules = (
);
dependencies = (
0043499110E006A97B3E00DCBC564CB2 /* PBXTargetDependency */,
E0C9734E8F71CF9FE4F06D8FD5FD434E /* PBXTargetDependency */,
);
name = "Pods-ScalingCarousel_Example";
productName = "Pods-ScalingCarousel_Example";
@@ -277,7 +279,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
FE5DF50A657E2D9515A48294812E426E /* Resources */ = {
ADB6168C6B1396987727B38F6CEE455F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -292,28 +294,28 @@
buildActionMask = 2147483647;
files = (
904EFCAE255D3D02DA37BAE56CE94912 /* ScalingCarousel-dummy.m in Sources */,
853FDAE19636BBDFA505E3E88C45F473 /* ScalingCarouselCell.swift in Sources */,
FBA1EE1DA92E81090F16249F3878996F /* ScalingCarouselLayout.swift in Sources */,
701FD32E541A576B60F48C5AA3C4D6FA /* ScalingCarouselView.swift in Sources */,
3E11DE7E4756989E49A7A7991136BF3B /* ScalingCarouselCell.swift in Sources */,
E694C4C7B09140D6BED894870A7A87F0 /* ScalingCarouselLayout.swift in Sources */,
79FC93AF4690DCE9A5763EBBE3BC3353 /* ScalingCarouselView.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
634B8800F5EA2A4B5405E7367C878D11 /* Sources */ = {
AE9B589FD9AC3B1C168C5D7C59CA6FAC /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
91AE2D8FC0263200014C645CBF177886 /* Pods-ScalingCarousel_Example-dummy.m in Sources */,
3C0889E855FE65CDB1E4049B04B0A4BB /* Pods-ScalingCarousel_Example-dummy.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
0043499110E006A97B3E00DCBC564CB2 /* PBXTargetDependency */ = {
E0C9734E8F71CF9FE4F06D8FD5FD434E /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = ScalingCarousel;
target = 7050FECE58DF970CF84F4FE403CA67D9 /* ScalingCarousel */;
targetProxy = 73EF4B861AAC561BA04CA64A633A2D42 /* PBXContainerItemProxy */;
targetProxy = 789120D85EDAE7AE0F16C5258213ED8D /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
@@ -382,9 +384,9 @@
};
name = Debug;
};
4BDBC69BC73D43264C69A76E6597AF22 /* Debug */ = {
1C44751C4E1693621512F58EB9023FB6 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1135B05C8FE357E9C21AE73874DCFC26 /* ScalingCarousel.xcconfig */;
baseConfigurationReference = 10F4AE75069608E3A1A663A712832F20 /* ScalingCarousel.debug.xcconfig */;
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = NO;
CODE_SIGN_IDENTITY = "";
@@ -401,23 +403,22 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 3.1.0;
MODULEMAP_FILE = "Target Support Files/ScalingCarousel/ScalingCarousel.modulemap";
PRODUCT_MODULE_NAME = ScalingCarousel;
PRODUCT_NAME = ScalingCarousel;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 5;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
4C9F6077F2445B6CA3EDF1CA7CF233F4 /* Release */ = {
23FC74437DE1332D91706CE5A8EB1BF3 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 1135B05C8FE357E9C21AE73874DCFC26 /* ScalingCarousel.xcconfig */;
baseConfigurationReference = 66BEA80A778317E935AD2E5CD4F7B117 /* ScalingCarousel.release.xcconfig */;
buildSettings = {
CLANG_ENABLE_OBJC_WEAK = NO;
CODE_SIGN_IDENTITY = "";
@@ -434,14 +435,13 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 3.1.0;
MODULEMAP_FILE = "Target Support Files/ScalingCarousel/ScalingCarousel.modulemap";
PRODUCT_MODULE_NAME = ScalingCarousel;
PRODUCT_NAME = ScalingCarousel;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
SWIFT_VERSION = 5.0;
SWIFT_VERSION = 5;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
@@ -449,9 +449,9 @@
};
name = Release;
};
9795C96DE41ADECBF7EAC8AB95DF8141 /* Release */ = {
2EC9A34E68B8843F831BF26E323881E1 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 957C8793F661B54511156AE97EB55F92 /* Pods-ScalingCarousel_Example.release.xcconfig */;
baseConfigurationReference = CF4CFBF1E3D92D62A025151E087C9E79 /* Pods-ScalingCarousel_Example.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
CLANG_ENABLE_OBJC_WEAK = NO;
@@ -478,11 +478,10 @@
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
name = Debug;
};
B01D14FDC83DCF9D4BE53066BEA96D05 /* Release */ = {
isa = XCBuildConfiguration;
@@ -537,15 +536,16 @@
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
STRIP_INSTALLED_PRODUCT = NO;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.0;
SYMROOT = "${SRCROOT}/../build";
};
name = Release;
};
CBFE4CE9624504CA97ED188213BB76A1 /* Debug */ = {
EBAF77679F9989920C17364EC4616782 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = CF4CFBF1E3D92D62A025151E087C9E79 /* Pods-ScalingCarousel_Example.debug.xcconfig */;
baseConfigurationReference = 957C8793F661B54511156AE97EB55F92 /* Pods-ScalingCarousel_Example.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
CLANG_ENABLE_OBJC_WEAK = NO;
@@ -572,10 +572,11 @@
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
name = Release;
};
/* End XCBuildConfiguration section */
@@ -583,8 +584,8 @@
2F8EFF8386604440E2C802707D7DE417 /* Build configuration list for PBXNativeTarget "ScalingCarousel" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4BDBC69BC73D43264C69A76E6597AF22 /* Debug */,
4C9F6077F2445B6CA3EDF1CA7CF233F4 /* Release */,
1C44751C4E1693621512F58EB9023FB6 /* Debug */,
23FC74437DE1332D91706CE5A8EB1BF3 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
@@ -598,11 +599,11 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
486E1C262B464A5022BAA781150131EB /* Build configuration list for PBXNativeTarget "Pods-ScalingCarousel_Example" */ = {
5DAD223E014E06015D8F6BC61F063CB9 /* Build configuration list for PBXNativeTarget "Pods-ScalingCarousel_Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
CBFE4CE9624504CA97ED188213BB76A1 /* Debug */,
9795C96DE41ADECBF7EAC8AB95DF8141 /* Release */,
2EC9A34E68B8843F831BF26E323881E1 /* Debug */,
EBAF77679F9989920C17364EC4616782 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
@@ -1,71 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0930"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E9582E7E712D7CD7A32DF86E8120CBC5"
BuildableName = "ScalingCarousel.framework"
BlueprintName = "ScalingCarousel"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E9582E7E712D7CD7A32DF86E8120CBC5"
BuildableName = "ScalingCarousel.framework"
BlueprintName = "ScalingCarousel"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
@@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
@@ -46,8 +46,8 @@ install_framework()
fi
# Use filter instead of exclude so missing patterns don't throw errors.
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
local basename
basename="$(basename -s .framework "$1")"
@@ -84,27 +84,29 @@ install_framework()
# Copies and strips a vendored dSYM
install_dsym() {
local source="$1"
warn_missing_arch=${2:-true}
if [ -r "$source" ]; then
# Copy the dSYM into a the targets temp dir.
# Copy the dSYM into the targets temp dir.
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
local basename
basename="$(basename -s .framework.dSYM "$source")"
binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
basename="$(basename -s .dSYM "$source")"
binary_name="$(ls "$source/Contents/Resources/DWARF")"
binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}"
# Strip invalid architectures so "fat" simulator / device frameworks work on device
if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then
strip_invalid_archs "$binary"
strip_invalid_archs "$binary" "$warn_missing_arch"
fi
if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
# Move the stripped file into its final destination.
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
else
# The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM"
fi
fi
}
@@ -135,13 +137,16 @@ code_sign_if_enabled() {
# Strip invalid architectures
strip_invalid_archs() {
binary="$1"
warn_missing_arch=${2:-true}
# Get architectures for current target binary
binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
# Intersect them with the architectures we are building for
intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
# If there are no archs supported by this binary then warn the user
if [[ -z "$intersected_archs" ]]; then
echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
if [[ "$warn_missing_arch" == "true" ]]; then
echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
fi
STRIP_BINARY_RETVAL=0
return
fi
@@ -159,6 +164,37 @@ strip_invalid_archs() {
STRIP_BINARY_RETVAL=1
}
install_artifact() {
artifact="$1"
base="$(basename "$artifact")"
case $base in
*.framework)
install_framework "$artifact"
;;
*.dSYM)
# Suppress arch warnings since XCFrameworks will include many dSYM files
install_dsym "$artifact" "false"
;;
*.bcsymbolmap)
install_bcsymbolmap "$artifact"
;;
*)
echo "error: Unrecognized artifact "$artifact""
;;
esac
}
copy_artifacts() {
file_list="$1"
while read artifact; do
install_artifact "$artifact"
done <$file_list
}
ARTIFACT_LIST_FILE="${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt"
if [ -r "${ARTIFACT_LIST_FILE}" ]; then
copy_artifacts "${ARTIFACT_LIST_FILE}"
fi
if [[ "$CONFIGURATION" == "Debug" ]]; then
install_framework "${BUILT_PRODUCTS_DIR}/ScalingCarousel/ScalingCarousel.framework"
@@ -1,106 +0,0 @@
#!/bin/sh
set -e
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
> "$RESOURCES_TO_COPY"
XCASSET_FILES=()
# This protects against multiple targets copying the same framework dependency at the same time. The solution
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
case "${TARGETED_DEVICE_FAMILY}" in
1,2)
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
;;
1)
TARGET_DEVICE_ARGS="--target-device iphone"
;;
2)
TARGET_DEVICE_ARGS="--target-device ipad"
;;
3)
TARGET_DEVICE_ARGS="--target-device tv"
;;
4)
TARGET_DEVICE_ARGS="--target-device watch"
;;
*)
TARGET_DEVICE_ARGS="--target-device mac"
;;
esac
install_resource()
{
if [[ "$1" = /* ]] ; then
RESOURCE_PATH="$1"
else
RESOURCE_PATH="${PODS_ROOT}/$1"
fi
if [[ ! -e "$RESOURCE_PATH" ]] ; then
cat << EOM
error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
EOM
exit 1
fi
case $RESOURCE_PATH in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
;;
*.framework)
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodel)
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
;;
*.xcdatamodeld)
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
;;
*.xcmappingmodel)
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true
xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
;;
*.xcassets)
ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH"
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
;;
*)
echo "$RESOURCE_PATH" || true
echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
;;
esac
}
mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
fi
rm -f "$RESOURCES_TO_COPY"
if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
then
# Find all other xcassets (this unfortunately includes those of path pods and other targets).
OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
while read line; do
if [[ $line != "${PODS_ROOT}*" ]]; then
XCASSET_FILES+=("$line")
fi
done <<<"$OTHER_XCASSETS"
printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
fi
@@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
@@ -2,25 +2,25 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>${CURRENT_PROJECT_VERSION}</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
@@ -0,0 +1,10 @@
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ScalingCarousel
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/../..
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
@@ -7,7 +7,6 @@
objects = {
/* Begin PBXBuildFile section */
371D5443D4C13439BA9B90F3 /* Pods_ScalingCarousel_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 458709EF51094BC6F4D04000 /* Pods_ScalingCarousel_Example.framework */; };
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
607FACD81AFB9204008FA782 /* StoryboardViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* StoryboardViewController.swift */; };
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; };
@@ -15,13 +14,11 @@
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
65678AFE206FEAF900A0ED42 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 65678AFD206FEAF900A0ED42 /* Default-568h@2x.png */; };
65E99FA11E1519D50026BEC4 /* CodeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E99FA01E1519D50026BEC4 /* CodeViewController.swift */; };
C6618DAE3DE8113DB4EAFAA9 /* Pods_ScalingCarousel_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9EDBA98D3B6D4A1D88262FFD /* Pods_ScalingCarousel_Example.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
2AC39C6CC3E82205FC41C768 /* Pods-ScalingCarousel_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScalingCarousel_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ScalingCarousel_Tests/Pods-ScalingCarousel_Tests.release.xcconfig"; sourceTree = "<group>"; };
2CDA8F1B0A30ECE4574BBC6B /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
458709EF51094BC6F4D04000 /* Pods_ScalingCarousel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScalingCarousel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
54ACDAF6D64CCC3389CF9744 /* Pods-ScalingCarousel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScalingCarousel_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ScalingCarousel_Example/Pods-ScalingCarousel_Example.debug.xcconfig"; sourceTree = "<group>"; };
607FACD01AFB9204008FA782 /* ScalingCarousel_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScalingCarousel_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@@ -33,11 +30,11 @@
659A02AC202F775500587C36 /* ScalingCarousel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ScalingCarousel.h; sourceTree = "<group>"; };
659A02AD202F775500587C36 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
65E99FA01E1519D50026BEC4 /* CodeViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CodeViewController.swift; sourceTree = "<group>"; };
76B5BA65FCAD75DAB10B57A9 /* Pods_ScalingCarousel_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScalingCarousel_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
89D32616AEF95F03E816E2C3 /* Pods-ScalingCarousel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScalingCarousel_Example.release.xcconfig"; path = "Target Support Files/Pods-ScalingCarousel_Example/Pods-ScalingCarousel_Example.release.xcconfig"; sourceTree = "<group>"; };
9EDBA98D3B6D4A1D88262FFD /* Pods_ScalingCarousel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScalingCarousel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
B4E24FA6EB33F7731B8832FD /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
BA63361010B0F437C40DBABF /* Pods-ScalingCarousel_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScalingCarousel_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ScalingCarousel_Tests/Pods-ScalingCarousel_Tests.debug.xcconfig"; sourceTree = "<group>"; };
C076B0D8341FA770E7E1424B /* Pods-ScalingCarousel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScalingCarousel_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-ScalingCarousel_Example/Pods-ScalingCarousel_Example.release.xcconfig"; sourceTree = "<group>"; };
D4431AA1F74964D7F1D89BD4 /* ScalingCarousel.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = ScalingCarousel.podspec; path = ../ScalingCarousel.podspec; sourceTree = "<group>"; };
F172F921357CEEEB996B8EF4 /* Pods-ScalingCarousel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScalingCarousel_Example.debug.xcconfig"; path = "Target Support Files/Pods-ScalingCarousel_Example/Pods-ScalingCarousel_Example.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -45,22 +42,13 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
371D5443D4C13439BA9B90F3 /* Pods_ScalingCarousel_Example.framework in Frameworks */,
C6618DAE3DE8113DB4EAFAA9 /* Pods_ScalingCarousel_Example.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
3FA1F2A62E4ADD293B1EF2D3 /* Frameworks */ = {
isa = PBXGroup;
children = (
458709EF51094BC6F4D04000 /* Pods_ScalingCarousel_Example.framework */,
76B5BA65FCAD75DAB10B57A9 /* Pods_ScalingCarousel_Tests.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
607FACC71AFB9204008FA782 = {
isa = PBXGroup;
children = (
@@ -69,8 +57,8 @@
607FACD21AFB9204008FA782 /* Example */,
659A02AB202F775500587C36 /* ScalingCarousel */,
607FACD11AFB9204008FA782 /* Products */,
AB4C669AD33FFC8D61F2C71C /* Pods */,
3FA1F2A62E4ADD293B1EF2D3 /* Frameworks */,
B6A2109DB13DAE15C2E098DF /* Pods */,
977EEA47608D0E4C3AD28941 /* Frameworks */,
);
sourceTree = "<group>";
};
@@ -156,15 +144,22 @@
name = Resources;
sourceTree = "<group>";
};
AB4C669AD33FFC8D61F2C71C /* Pods */ = {
977EEA47608D0E4C3AD28941 /* Frameworks */ = {
isa = PBXGroup;
children = (
54ACDAF6D64CCC3389CF9744 /* Pods-ScalingCarousel_Example.debug.xcconfig */,
C076B0D8341FA770E7E1424B /* Pods-ScalingCarousel_Example.release.xcconfig */,
BA63361010B0F437C40DBABF /* Pods-ScalingCarousel_Tests.debug.xcconfig */,
2AC39C6CC3E82205FC41C768 /* Pods-ScalingCarousel_Tests.release.xcconfig */,
9EDBA98D3B6D4A1D88262FFD /* Pods_ScalingCarousel_Example.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
B6A2109DB13DAE15C2E098DF /* Pods */ = {
isa = PBXGroup;
children = (
F172F921357CEEEB996B8EF4 /* Pods-ScalingCarousel_Example.debug.xcconfig */,
89D32616AEF95F03E816E2C3 /* Pods-ScalingCarousel_Example.release.xcconfig */,
);
name = Pods;
path = Pods;
sourceTree = "<group>";
};
/* End PBXGroup section */
@@ -174,11 +169,11 @@
isa = PBXNativeTarget;
buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ScalingCarousel_Example" */;
buildPhases = (
BA663BC8D55C4A023C2ED9E6 /* [CP] Check Pods Manifest.lock */,
D93D57586D7582ADCFD48D6A /* [CP] Check Pods Manifest.lock */,
607FACCC1AFB9204008FA782 /* Sources */,
607FACCD1AFB9204008FA782 /* Frameworks */,
607FACCE1AFB9204008FA782 /* Resources */,
C3DFC5D82C263B445B53FBDD /* [CP] Embed Pods Frameworks */,
4E0BE5B3C02A4D44C48EE380 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
@@ -240,25 +235,7 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
BA663BC8D55C4A023C2ED9E6 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-ScalingCarousel_Example-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
C3DFC5D82C263B445B53FBDD /* [CP] Embed Pods Frameworks */ = {
4E0BE5B3C02A4D44C48EE380 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -276,6 +253,28 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ScalingCarousel_Example/Pods-ScalingCarousel_Example-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
D93D57586D7582ADCFD48D6A /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-ScalingCarousel_Example-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@@ -416,7 +415,7 @@
};
607FACF01AFB9204008FA782 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 54ACDAF6D64CCC3389CF9744 /* Pods-ScalingCarousel_Example.debug.xcconfig */;
baseConfigurationReference = F172F921357CEEEB996B8EF4 /* Pods-ScalingCarousel_Example.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
@@ -435,7 +434,7 @@
};
607FACF11AFB9204008FA782 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = C076B0D8341FA770E7E1424B /* Pods-ScalingCarousel_Example.release.xcconfig */;
baseConfigurationReference = 89D32616AEF95F03E816E2C3 /* Pods-ScalingCarousel_Example.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+29
View File
@@ -0,0 +1,29 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "ScalingCarousel",
platforms: [SupportedPlatform.iOS(.v10)],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "ScalingCarousel",
targets: ["ScalingCarousel"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "ScalingCarousel",
dependencies: []),
.testTarget(
name: "ScalingCarouselTests",
dependencies: ["ScalingCarousel"]),
]
)
+11 -1
View File
@@ -5,6 +5,7 @@
[![License](https://img.shields.io/cocoapods/l/ScalingCarousel.svg?style=flat)](http://cocoapods.org/pods/ScalingCarousel)
[![Platform](https://img.shields.io/cocoapods/p/ScalingCarousel.svg?style=flat)](http://cocoapods.org/pods/ScalingCarousel)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)
ScalingCarousel provides a simple carousel-style collection view.
It takes care of cell presentation, scaling each cell as the collection view is scrolled.
@@ -116,7 +117,7 @@ iOS 10
## Installation
ScalingCarousel is available through [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage).
ScalingCarousel is available through [CocoaPods](http://cocoapods.org), [Carthage](https://github.com/Carthage/Carthage) and [Swift Package Manager](https://swift.org/package-manager/).
To install via Cocoapods, add the following line to your Podfile:
@@ -130,6 +131,15 @@ To install via Carthage, add the following line to your Podfile:
github "superpeteblaze/ScalingCarousel"
```
To install via Swift package manager:
> Note: Instructions below are for using **SwiftPM** without the Xcode UI. It's the easiest to go to your Project Settings -> Swift Packages and add Moya from there.
To integrate using Apple's Swift package manager, without Xcode integration, add the following as a dependency to your `Package.swift`:
```swift
.package(url: "https://github.com/superpeteblaze/ScalingCarousel.git", .upToNextMajor(from: "3.1.1"))
```
## Author
Pete Smith, peadar81@gmail.com
+2 -2
View File
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'ScalingCarousel'
s.version = '3.1.0'
s.version = '3.2.0'
s.summary = 'A super simple carousel view with scaling transitions written in Swift'
s.description = <<-DESC
@@ -28,5 +28,5 @@ It is used in Bikey to present bike station information.
s.ios.deployment_target = '10.0'
s.swift_version = '5'
s.source_files = 'ScalingCarousel/Classes/**/*'
s.source_files = 'Sources/ScalingCarousel/**/*'
end
View File
+7
View File
@@ -0,0 +1,7 @@
import XCTest
import ScalingCarouselTests
var tests = [XCTestCaseEntry]()
tests += ScalingCarouselTests.allTests()
XCTMain(tests)
@@ -0,0 +1,14 @@
import XCTest
@testable import ScalingCarousel
final class ScalingCarouselTests: XCTestCase {
func testExample() {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct
// results.
}
static var allTests = [
("testExample", testExample),
]
}
@@ -0,0 +1,9 @@
import XCTest
#if !canImport(ObjectiveC)
public func allTests() -> [XCTestCaseEntry] {
return [
testCase(ScalingCarouselTests.allTests),
]
}
#endif