Skip to content

Commit

Permalink
Fixed pods integration with Example project
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashton-W committed Mar 20, 2015
1 parent c8358ce commit e70ae3e
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 14 deletions.
76 changes: 63 additions & 13 deletions Example/CRToastDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
2D8F2E0B18CED50A0077A7F6 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E2FFB5A18367C01003333F8 /* UIKit.framework */; };
2D8F2E1118CED50A0077A7F6 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 2D8F2E0F18CED50A0077A7F6 /* InfoPlist.strings */; };
2D8F2E1318CED50A0077A7F6 /* CRToastTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 2D8F2E1218CED50A0077A7F6 /* CRToastTests.m */; };
46DF1C161ABBC8DF00003563 /* Pods-CRToastDemo.debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 46DF1C151ABBC8DF00003563 /* Pods-CRToastDemo.debug.xcconfig */; };
46DF1C181ABBC90E00003563 /* Pods-CRToastDemo.release.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 46DF1C171ABBC90E00003563 /* Pods-CRToastDemo.release.xcconfig */; };
547BC2421A4FCA42004C45FE /* CRToastViewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 547BC2411A4FCA42004C45FE /* CRToastViewTests.m */; };
547BC2441A4FCA54004C45FE /* CRToastManagerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 547BC2431A4FCA54004C45FE /* CRToastManagerTests.m */; };
5E2FFB5718367C01003333F8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E2FFB5618367C01003333F8 /* Foundation.framework */; };
Expand All @@ -30,6 +32,8 @@
5E2FFB8F18367CA3003333F8 /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5E2FFB8D18367CA3003333F8 /* MainViewController.xib */; };
AAF56E40E966478D95F1083B /* libPods-Acceptance Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BB3C952144CC436CA47D11A2 /* libPods-Acceptance Tests.a */; };
D83A0D57216959730067800C /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6EB1C17FDA2A1B9E6D98192B /* libPods.a */; };
DDE8941E4BE33746BB148B08 /* libPods-CRToastTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 020AEF901F7DE5ED0CEAC293 /* libPods-CRToastTests.a */; };
E5BDD93D16860D0B51550EFE /* libPods-CRToastDemo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C3F4F7E1A1743A67A1851677 /* libPods-CRToastDemo.a */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -50,6 +54,7 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
020AEF901F7DE5ED0CEAC293 /* libPods-CRToastTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CRToastTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
2D10DF4219235FE90087C18A /* RotationTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RotationTests.h; sourceTree = "<group>"; };
2D10DF4319235FE90087C18A /* RotationTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RotationTests.m; sourceTree = "<group>"; };
2D240E3519235A280079F079 /* Acceptance Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Acceptance Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -61,14 +66,16 @@
2D8F2E1018CED50A0077A7F6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
2D8F2E1218CED50A0077A7F6 /* CRToastTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CRToastTests.m; sourceTree = "<group>"; };
2D8F2E1418CED50A0077A7F6 /* CRToastTests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CRToastTests-Prefix.pch"; sourceTree = "<group>"; };
33D71C7E09C021EB17C41039 /* Pods-Acceptance Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Acceptance Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Acceptance Tests/Pods-Acceptance Tests.release.xcconfig"; sourceTree = "<group>"; };
462283BB1ABBB80A00D89604 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
462283BC1ABBB80A00D89604 /* CONTRIBUTING.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CONTRIBUTING.md; sourceTree = "<group>"; };
462283BD1ABBB80A00D89604 /* CRToast.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CRToast.podspec; sourceTree = "<group>"; };
462283BE1ABBB80A00D89604 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
462283BF1ABBB80A00D89604 /* Versions */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Versions; sourceTree = "<group>"; };
46DF1C151ABBC8DF00003563 /* Pods-CRToastDemo.debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "Pods-CRToastDemo.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CRToastDemo/Pods-CRToastDemo.debug.xcconfig"; sourceTree = "<group>"; };
46DF1C171ABBC90E00003563 /* Pods-CRToastDemo.release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = "Pods-CRToastDemo.release.xcconfig"; path = "Pods/Target Support Files/Pods-CRToastDemo/Pods-CRToastDemo.release.xcconfig"; sourceTree = "<group>"; };
547BC2411A4FCA42004C45FE /* CRToastViewTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CRToastViewTests.m; sourceTree = "<group>"; };
547BC2431A4FCA54004C45FE /* CRToastManagerTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CRToastManagerTests.m; sourceTree = "<group>"; };
56E21D16D0A5B551EC7F898B /* Pods-Acceptance Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Acceptance Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Acceptance Tests/Pods-Acceptance Tests.debug.xcconfig"; sourceTree = "<group>"; };
5E2FFB5318367C01003333F8 /* CRToastDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CRToastDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
5E2FFB5618367C01003333F8 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
5E2FFB5818367C01003333F8 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
Expand All @@ -84,11 +91,12 @@
5E2FFB8B18367CA3003333F8 /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
5E2FFB8C18367CA3003333F8 /* MainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
5E2FFB8D18367CA3003333F8 /* MainViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainViewController.xib; sourceTree = "<group>"; };
63720CEB7ACA9E1885D7981B /* Pods-CRToastTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CRToastTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CRToastTests/Pods-CRToastTests.debug.xcconfig"; sourceTree = "<group>"; };
6EB1C17FDA2A1B9E6D98192B /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; };
79DA33C1BA40E2B7D0BAEEDB /* Pods-Acceptance Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Acceptance Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Acceptance Tests/Pods-Acceptance Tests.release.xcconfig"; sourceTree = "<group>"; };
85F9B6A6B83F20F30949FBCC /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
A5C34B8CE5D5385C9E763484 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
8995A7F5E1FD74AAE84995CC /* Pods-Acceptance Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Acceptance Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Acceptance Tests/Pods-Acceptance Tests.debug.xcconfig"; sourceTree = "<group>"; };
BB3C952144CC436CA47D11A2 /* libPods-Acceptance Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Acceptance Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
C3F4F7E1A1743A67A1851677 /* libPods-CRToastDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-CRToastDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
E877C2B3BD6E390EAB0A1F81 /* Pods-CRToastTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CRToastTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CRToastTests/Pods-CRToastTests.release.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -110,6 +118,7 @@
2D8F2E0918CED50A0077A7F6 /* XCTest.framework in Frameworks */,
2D8F2E0B18CED50A0077A7F6 /* UIKit.framework in Frameworks */,
2D8F2E0A18CED50A0077A7F6 /* Foundation.framework in Frameworks */,
DDE8941E4BE33746BB148B08 /* libPods-CRToastTests.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -121,6 +130,7 @@
5E2FFB5B18367C01003333F8 /* UIKit.framework in Frameworks */,
5E2FFB5718367C01003333F8 /* Foundation.framework in Frameworks */,
D83A0D57216959730067800C /* libPods.a in Frameworks */,
E5BDD93D16860D0B51550EFE /* libPods-CRToastDemo.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -221,6 +231,8 @@
5E2FFB6F18367C01003333F8 /* XCTest.framework */,
BB3C952144CC436CA47D11A2 /* libPods-Acceptance Tests.a */,
6EB1C17FDA2A1B9E6D98192B /* libPods.a */,
C3F4F7E1A1743A67A1851677 /* libPods-CRToastDemo.a */,
020AEF901F7DE5ED0CEAC293 /* libPods-CRToastTests.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -253,10 +265,12 @@
E4E4AA5EC795FD2639745FD3 /* Pods */ = {
isa = PBXGroup;
children = (
56E21D16D0A5B551EC7F898B /* Pods-Acceptance Tests.debug.xcconfig */,
79DA33C1BA40E2B7D0BAEEDB /* Pods-Acceptance Tests.release.xcconfig */,
85F9B6A6B83F20F30949FBCC /* Pods.debug.xcconfig */,
A5C34B8CE5D5385C9E763484 /* Pods.release.xcconfig */,
46DF1C171ABBC90E00003563 /* Pods-CRToastDemo.release.xcconfig */,
46DF1C151ABBC8DF00003563 /* Pods-CRToastDemo.debug.xcconfig */,
8995A7F5E1FD74AAE84995CC /* Pods-Acceptance Tests.debug.xcconfig */,
33D71C7E09C021EB17C41039 /* Pods-Acceptance Tests.release.xcconfig */,
63720CEB7ACA9E1885D7981B /* Pods-CRToastTests.debug.xcconfig */,
E877C2B3BD6E390EAB0A1F81 /* Pods-CRToastTests.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
Expand Down Expand Up @@ -288,9 +302,11 @@
isa = PBXNativeTarget;
buildConfigurationList = 2D8F2E1718CED50A0077A7F6 /* Build configuration list for PBXNativeTarget "CRToastTests" */;
buildPhases = (
ED0A034E379288F250D059BB /* Check Pods Manifest.lock */,
2D8F2E0418CED50A0077A7F6 /* Sources */,
2D8F2E0518CED50A0077A7F6 /* Frameworks */,
2D8F2E0618CED50A0077A7F6 /* Resources */,
82CF6268C20A15A936CDB4FB /* Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -381,9 +397,11 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
46DF1C181ABBC90E00003563 /* Pods-CRToastDemo.release.xcconfig in Resources */,
5E2FFB6118367C01003333F8 /* InfoPlist.strings in Resources */,
5E2FFB8F18367CA3003333F8 /* MainViewController.xib in Resources */,
5E2FFB6918367C01003333F8 /* Images.xcassets in Resources */,
46DF1C161ABBC8DF00003563 /* Pods-CRToastDemo.debug.xcconfig in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -402,7 +420,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-CRToastDemo/Pods-CRToastDemo-resources.sh\"\n";
showEnvVarsInLog = 0;
};
43ED98BCD1F943D3B72E14E0 /* Copy Pods Resources */ = {
Expand All @@ -420,6 +438,21 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Acceptance Tests/Pods-Acceptance Tests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
82CF6268C20A15A936CDB4FB /* 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-CRToastTests/Pods-CRToastTests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
84095A9B6D2D472DB5FBB6E1 /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -435,6 +468,21 @@
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;
};
ED0A034E379288F250D059BB /* 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;
};
F505BC1637948CA84D3ED336 /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -526,7 +574,7 @@
/* Begin XCBuildConfiguration section */
2D240E4419235A280079F079 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 56E21D16D0A5B551EC7F898B /* Pods-Acceptance Tests.debug.xcconfig */;
baseConfigurationReference = 8995A7F5E1FD74AAE84995CC /* Pods-Acceptance Tests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/CRToastDemo.app/CRToastDemo";
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -552,7 +600,7 @@
};
2D240E4519235A280079F079 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 79DA33C1BA40E2B7D0BAEEDB /* Pods-Acceptance Tests.release.xcconfig */;
baseConfigurationReference = 33D71C7E09C021EB17C41039 /* Pods-Acceptance Tests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/CRToastDemo.app/CRToastDemo";
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -573,6 +621,7 @@
};
2D8F2E1818CED50A0077A7F6 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 63720CEB7ACA9E1885D7981B /* Pods-CRToastTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/CRToastDemo.app/CRToastDemo";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
Expand All @@ -598,6 +647,7 @@
};
2D8F2E1918CED50A0077A7F6 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = E877C2B3BD6E390EAB0A1F81 /* Pods-CRToastTests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/CRToastDemo.app/CRToastDemo";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
Expand Down Expand Up @@ -691,7 +741,7 @@
};
5E2FFB8018367C01003333F8 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 85F9B6A6B83F20F30949FBCC /* Pods.debug.xcconfig */;
baseConfigurationReference = 46DF1C151ABBC8DF00003563 /* Pods-CRToastDemo.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
Expand All @@ -714,7 +764,7 @@
};
5E2FFB8118367C01003333F8 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = A5C34B8CE5D5385C9E763484 /* Pods.release.xcconfig */;
baseConfigurationReference = 46DF1C171ABBC90E00003563 /* Pods-CRToastDemo.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
Expand Down
9 changes: 8 additions & 1 deletion Example/Podfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'

pod 'CRToast', :path => "../"
target 'CRToastDemo' do
pod 'CRToast', :path => "../"
end

target 'CRToastTests', :exclusive => true do
pod 'CRToast', :path => "../"
end

target 'Acceptance Tests', :exclusive => true do
pod 'KIF', '~> 3.0'
Expand Down

0 comments on commit e70ae3e

Please sign in to comment.