Skip to content

Commit

Permalink
Fix Unit Tests with Carthage build phase
Browse files Browse the repository at this point in the history
  • Loading branch information
twittemb committed May 14, 2018
1 parent 940e7c8 commit ec3c281
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions RxFlow.xcodeproj/project.pbxproj
Expand Up @@ -171,6 +171,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 1A8FBE7D1FF9783100389464 /* Build configuration list for PBXNativeTarget "RxFlowTests" */;
buildPhases = (
1ADAD0C820A929A6003049A9 /* ⚙Copy Carthage Frameworks */,
1A8FBE711FF9783100389464 /* Sources */,
1A8FBE721FF9783100389464 /* Frameworks */,
1A8FBE731FF9783100389464 /* Resources */,
Expand Down Expand Up @@ -275,6 +276,24 @@
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
};
1ADAD0C820A929A6003049A9 /* ⚙Copy Carthage Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"$(SRCROOT)/Carthage/Build/iOS/RxSwift.framework",
"$(SRCROOT)/Carthage/Build/iOS/RxCocoa.framework",
);
name = "⚙Copy Carthage Frameworks";
outputPaths = (
"$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/RxSwift.framework",
"$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/RxCocoa.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/usr/local/bin/carthage copy-frameworks";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -322,6 +341,10 @@
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 3V5265LQM9;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = RxFlowTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.warpfactor.RxFlowTests;
Expand All @@ -336,6 +359,10 @@
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 3V5265LQM9;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Carthage/Build/iOS",
);
INFOPLIST_FILE = RxFlowTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = io.warpfactor.RxFlowTests;
Expand Down

0 comments on commit ec3c281

Please sign in to comment.