Skip to content

Commit

Permalink
Update example for cocoa pods 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
serejahh committed Aug 5, 2016
1 parent df308dc commit 9671891
Show file tree
Hide file tree
Showing 25 changed files with 715 additions and 2,300 deletions.
120 changes: 31 additions & 89 deletions Example/DisplaySwitcher.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
objects = {

/* Begin PBXBuildFile section */
2FFBC14CDAFFF054166EB19E /* Pods_DisplaySwitcher_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 40923E5E97795B1363084FB8 /* Pods_DisplaySwitcher_Tests.framework */; };
0EA9265AE513FE8951635CE2 /* Pods_DisplaySwitcher_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AD9A4F79BB4A69C545E248BF /* Pods_DisplaySwitcher_Example.framework */; };
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
682681C658BB6E5E2F53B5A6 /* Pods_DisplaySwitcher_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31AD0EED62CD4A790C514ED9 /* Pods_DisplaySwitcher_Example.framework */; };
77C5B43A1CBBCBA5008E92DD /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77C5B4181CBBCBA5008E92DD /* AppDelegate.swift */; };
77C5B43B1CBBCBA5008E92DD /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 77C5B41A1CBBCBA5008E92DD /* LaunchScreen.storyboard */; };
77C5B43C1CBBCBA5008E92DD /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 77C5B41C1CBBCBA5008E92DD /* Main.storyboard */; };
Expand Down Expand Up @@ -42,18 +41,14 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
31AD0EED62CD4A790C514ED9 /* Pods_DisplaySwitcher_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DisplaySwitcher_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
2C6796BA1FAC50ED0FF06A03 /* Pods-DisplaySwitcher_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DisplaySwitcher_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DisplaySwitcher_Example/Pods-DisplaySwitcher_Example.debug.xcconfig"; sourceTree = "<group>"; };
36349D07B5227E52B261E05B /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
37B8DECE25E042E919B62234 /* Pods-DisplaySwitcher_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DisplaySwitcher_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DisplaySwitcher_Tests/Pods-DisplaySwitcher_Tests.debug.xcconfig"; sourceTree = "<group>"; };
40923E5E97795B1363084FB8 /* Pods_DisplaySwitcher_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DisplaySwitcher_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5E4DC8A6DF63BCD31869A71D /* DisplaySwitcher.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = DisplaySwitcher.podspec; path = ../DisplaySwitcher.podspec; sourceTree = "<group>"; };
607FACD01AFB9204008FA782 /* DisplaySwitcher_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DisplaySwitcher_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
607FACE51AFB9204008FA782 /* DisplaySwitcher_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DisplaySwitcher_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
618913E318C8AF72F445A307 /* Pods-DisplaySwitcher_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DisplaySwitcher_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DisplaySwitcher_Example/Pods-DisplaySwitcher_Example.debug.xcconfig"; sourceTree = "<group>"; };
777AD0CA7AD310E4B13F2B21 /* Pods-DisplaySwitcher_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DisplaySwitcher_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-DisplaySwitcher_Example/Pods-DisplaySwitcher_Example.release.xcconfig"; sourceTree = "<group>"; };
77C5B4171CBBCBA4008E92DD /* DisplaySwitcher_Example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DisplaySwitcher_Example-Bridging-Header.h"; sourceTree = "<group>"; };
77C5B4181CBBCBA5008E92DD /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
77C5B41B1CBBCBA5008E92DD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
Expand All @@ -75,38 +70,46 @@
77C5B4391CBBCBA5008E92DD /* UserCollectionViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = UserCollectionViewCell.xib; sourceTree = "<group>"; };
77FE01251CBBF437002BAFF4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
7B9B39F07E6158A039530CAF /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
8210CE74B2BF2FB8A2C9B723 /* Pods-DisplaySwitcher_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DisplaySwitcher_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-DisplaySwitcher_Tests/Pods-DisplaySwitcher_Tests.release.xcconfig"; sourceTree = "<group>"; };
86F3D3F84D4837774DDDC97B /* Pods-DisplaySwitcher_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DisplaySwitcher_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-DisplaySwitcher_Example/Pods-DisplaySwitcher_Example.release.xcconfig"; sourceTree = "<group>"; };
AD9A4F79BB4A69C545E248BF /* Pods_DisplaySwitcher_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DisplaySwitcher_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
607FACCD1AFB9204008FA782 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
682681C658BB6E5E2F53B5A6 /* Pods_DisplaySwitcher_Example.framework in Frameworks */,
0EA9265AE513FE8951635CE2 /* Pods_DisplaySwitcher_Example.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
607FACE21AFB9204008FA782 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
2FFBC14CDAFFF054166EB19E /* Pods_DisplaySwitcher_Tests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
13C0456C0926F485B2E28337 /* Frameworks */ = {
isa = PBXGroup;
children = (
AD9A4F79BB4A69C545E248BF /* Pods_DisplaySwitcher_Example.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
607FACC71AFB9204008FA782 = {
isa = PBXGroup;
children = (
607FACF51AFB993E008FA782 /* Podspec Metadata */,
607FACD21AFB9204008FA782 /* DisplaySwitcher-Example */,
607FACE81AFB9204008FA782 /* Tests */,
607FACD11AFB9204008FA782 /* Products */,
BCFD79B7B4A0DB3F8D41A862 /* Pods */,
7964BB03F09B24489776CACE /* Frameworks */,
EBDC51E1483053A1D8FC881F /* Pods */,
13C0456C0926F485B2E28337 /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -295,22 +298,11 @@
path = UserCollectionViewCell;
sourceTree = "<group>";
};
7964BB03F09B24489776CACE /* Frameworks */ = {
isa = PBXGroup;
children = (
31AD0EED62CD4A790C514ED9 /* Pods_DisplaySwitcher_Example.framework */,
40923E5E97795B1363084FB8 /* Pods_DisplaySwitcher_Tests.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
BCFD79B7B4A0DB3F8D41A862 /* Pods */ = {
EBDC51E1483053A1D8FC881F /* Pods */ = {
isa = PBXGroup;
children = (
618913E318C8AF72F445A307 /* Pods-DisplaySwitcher_Example.debug.xcconfig */,
777AD0CA7AD310E4B13F2B21 /* Pods-DisplaySwitcher_Example.release.xcconfig */,
37B8DECE25E042E919B62234 /* Pods-DisplaySwitcher_Tests.debug.xcconfig */,
8210CE74B2BF2FB8A2C9B723 /* Pods-DisplaySwitcher_Tests.release.xcconfig */,
2C6796BA1FAC50ED0FF06A03 /* Pods-DisplaySwitcher_Example.debug.xcconfig */,
86F3D3F84D4837774DDDC97B /* Pods-DisplaySwitcher_Example.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
Expand All @@ -322,12 +314,12 @@
isa = PBXNativeTarget;
buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DisplaySwitcher_Example" */;
buildPhases = (
853B25A7CAB1B9145518FB69 /* Check Pods Manifest.lock */,
A6A9898944FEC35F69052D80 /* [CP] Check Pods Manifest.lock */,
607FACCC1AFB9204008FA782 /* Sources */,
607FACCD1AFB9204008FA782 /* Frameworks */,
607FACCE1AFB9204008FA782 /* Resources */,
2B780C2C51A85807EB29DD22 /* Embed Pods Frameworks */,
A87ACA19B122C42B41F20848 /* Copy Pods Resources */,
47C22E1E55458763636887D0 /* [CP] Embed Pods Frameworks */,
3F42D05443725DD05DBB3918 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -342,12 +334,9 @@
isa = PBXNativeTarget;
buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DisplaySwitcher_Tests" */;
buildPhases = (
33625256BA6666D7534EE5B9 /* Check Pods Manifest.lock */,
607FACE11AFB9204008FA782 /* Sources */,
607FACE21AFB9204008FA782 /* Frameworks */,
607FACE31AFB9204008FA782 /* Resources */,
5400F477EBAE4DAFD0C054CE /* Embed Pods Frameworks */,
7CB5362C5EFB85D80D5F2B62 /* Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -426,96 +415,51 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
2B780C2C51A85807EB29DD22 /* Embed Pods Frameworks */ = {
3F42D05443725DD05DBB3918 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DisplaySwitcher_Example/Pods-DisplaySwitcher_Example-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
33625256BA6666D7534EE5B9 /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
5400F477EBAE4DAFD0C054CE /* Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DisplaySwitcher_Tests/Pods-DisplaySwitcher_Tests-frameworks.sh\"\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DisplaySwitcher_Example/Pods-DisplaySwitcher_Example-resources.sh\"\n";
showEnvVarsInLog = 0;
};
7CB5362C5EFB85D80D5F2B62 /* Copy Pods Resources */ = {
47C22E1E55458763636887D0 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DisplaySwitcher_Tests/Pods-DisplaySwitcher_Tests-resources.sh\"\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DisplaySwitcher_Example/Pods-DisplaySwitcher_Example-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
853B25A7CAB1B9145518FB69 /* Check Pods Manifest.lock */ = {
A6A9898944FEC35F69052D80 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
A87ACA19B122C42B41F20848 /* Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DisplaySwitcher_Example/Pods-DisplaySwitcher_Example-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -656,7 +600,7 @@
};
607FACF01AFB9204008FA782 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 618913E318C8AF72F445A307 /* Pods-DisplaySwitcher_Example.debug.xcconfig */;
baseConfigurationReference = 2C6796BA1FAC50ED0FF06A03 /* Pods-DisplaySwitcher_Example.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand All @@ -673,7 +617,7 @@
};
607FACF11AFB9204008FA782 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 777AD0CA7AD310E4B13F2B21 /* Pods-DisplaySwitcher_Example.release.xcconfig */;
baseConfigurationReference = 86F3D3F84D4837774DDDC97B /* Pods-DisplaySwitcher_Example.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand All @@ -689,7 +633,6 @@
};
607FACF31AFB9204008FA782 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 37B8DECE25E042E919B62234 /* Pods-DisplaySwitcher_Tests.debug.xcconfig */;
buildSettings = {
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
Expand All @@ -708,7 +651,6 @@
};
607FACF41AFB9204008FA782 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 8210CE74B2BF2FB8A2C9B723 /* Pods-DisplaySwitcher_Tests.release.xcconfig */;
buildSettings = {
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
Expand Down
10 changes: 3 additions & 7 deletions Example/Podfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
platform :ios, '9.0'

target 'DisplaySwitcher_Example', :exclusive => true do
pod 'DisplaySwitcher', :path => '../'

end
target 'DisplaySwitcher_Example' do

target 'DisplaySwitcher_Tests', :exclusive => true do
use_frameworks!
pod 'DisplaySwitcher', :path => '../'

end
6 changes: 4 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ DEPENDENCIES:

EXTERNAL SOURCES:
DisplaySwitcher:
:path: ../
:path: "../"

SPEC CHECKSUMS:
DisplaySwitcher: c23a4f751a7994de130612e9c669f8684a2cc540

COCOAPODS: 0.39.0
PODFILE CHECKSUM: 42d5f6f39d2fc86145445fd75dbb433b043dcc98

COCOAPODS: 1.0.1
6 changes: 4 additions & 2 deletions Example/Pods/Manifest.lock

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

Loading

0 comments on commit 9671891

Please sign in to comment.