Skip to content

Commit

Permalink
Specify project for UITests target in Podfile
Browse files Browse the repository at this point in the history
Signed-off-by: Susan Stevens <susan.stevens@getbraintree.com>
  • Loading branch information
scannillo committed Nov 24, 2020
1 parent 31ebce4 commit e840b32
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 2 deletions.
51 changes: 51 additions & 0 deletions Demo/Demo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
8068E520256D73D5002904E6 /* BraintreeDropIn_UITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8068E51F256D73D5002904E6 /* BraintreeDropIn_UITests.swift */; };
8068E52C256D7459002904E6 /* BraintreeDropIn_EditMode_UITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8068E52B256D7459002904E6 /* BraintreeDropIn_EditMode_UITests.swift */; };
8068E532256D7489002904E6 /* Helpers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8068E531256D7489002904E6 /* Helpers.swift */; };
FCA5265E2CD9C575A6ADE23E /* Pods_Tests_UITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A79129E828EFE75431B56262 /* Pods_Tests_UITests.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -65,6 +66,9 @@
8068E52B256D7459002904E6 /* BraintreeDropIn_EditMode_UITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BraintreeDropIn_EditMode_UITests.swift; sourceTree = "<group>"; };
8068E531256D7489002904E6 /* Helpers.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Helpers.swift; sourceTree = "<group>"; };
A4F2154C11B116BA29329F2F /* Pods_Demo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Demo.framework; sourceTree = BUILT_PRODUCTS_DIR; };
A79129E828EFE75431B56262 /* Pods_Tests_UITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Tests_UITests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
B351757E940A37C7A75EE4C9 /* Pods-Tests-UITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests-UITests.debug.xcconfig"; path = "Target Support Files/Pods-Tests-UITests/Pods-Tests-UITests.debug.xcconfig"; sourceTree = "<group>"; };
B4370975631249C0C82A7200 /* Pods-Tests-UITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests-UITests.release.xcconfig"; path = "Target Support Files/Pods-Tests-UITests/Pods-Tests-UITests.release.xcconfig"; sourceTree = "<group>"; };
B4F67689ED383BC55464B120 /* Pods-Demo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Demo.debug.xcconfig"; path = "Target Support Files/Pods-Demo/Pods-Demo.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand All @@ -82,6 +86,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
FCA5265E2CD9C575A6ADE23E /* Pods_Tests_UITests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -185,6 +190,8 @@
children = (
B4F67689ED383BC55464B120 /* Pods-Demo.debug.xcconfig */,
7C60C37B4119D7299F6A4EE2 /* Pods-Demo.release.xcconfig */,
B351757E940A37C7A75EE4C9 /* Pods-Tests-UITests.debug.xcconfig */,
B4370975631249C0C82A7200 /* Pods-Tests-UITests.release.xcconfig */,
);
name = Pods;
path = ../Pods;
Expand All @@ -206,6 +213,7 @@
children = (
8068E4DF256D7087002904E6 /* BraintreeDropIn.framework */,
A4F2154C11B116BA29329F2F /* Pods_Demo.framework */,
A79129E828EFE75431B56262 /* Pods_Tests_UITests.framework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -236,9 +244,11 @@
isa = PBXNativeTarget;
buildConfigurationList = 8068E526256D73D5002904E6 /* Build configuration list for PBXNativeTarget "UITests" */;
buildPhases = (
83776249CBE09339E6C2AEBB /* [CP] Check Pods Manifest.lock */,
8068E519256D73D5002904E6 /* Sources */,
8068E51A256D73D5002904E6 /* Frameworks */,
8068E51B256D73D5002904E6 /* Resources */,
3CED917D591D08DDAA62B20A /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -312,6 +322,23 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
3CED917D591D08DDAA62B20A /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Tests-UITests/Pods-Tests-UITests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Tests-UITests/Pods-Tests-UITests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Tests-UITests/Pods-Tests-UITests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
77C2BB2986B8D51ACDF4A9F8 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -329,6 +356,28 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Demo/Pods-Demo-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
83776249CBE09339E6C2AEBB /* [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-Tests-UITests-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;
};
E4CDA044D3220EAB74C55BA4 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -579,6 +628,7 @@
};
8068E524256D73D5002904E6 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = B351757E940A37C7A75EE4C9 /* Pods-Tests-UITests.debug.xcconfig */;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 43253H4X22;
Expand All @@ -598,6 +648,7 @@
};
8068E525256D73D5002904E6 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = B4370975631249C0C82A7200 /* Pods-Tests-UITests.release.xcconfig */;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 43253H4X22;
Expand Down
4 changes: 3 additions & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ abstract_target 'Tests' do
pod 'Braintree/PaymentFlow'

target 'UnitTests'
target 'UITests'
target 'UITests' do
project 'Demo/Demo'
end
end

2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ SPEC CHECKSUMS:
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66
xcbeautify: 34e667aac66c3357794431c9dd4037808cdab025

PODFILE CHECKSUM: 3dce7b69cb0b76346226518377b03c1b8f1de346
PODFILE CHECKSUM: e2babd54d9d4ea6bdfcfbaf0c525b4d7b261637e

COCOAPODS: 1.9.3

0 comments on commit e840b32

Please sign in to comment.