Skip to content

Commit

Permalink
use name instead of uuid, add run script for copying missing framewor…
Browse files Browse the repository at this point in the history
…k for ChartsTests
  • Loading branch information
liuxuan30 committed Apr 21, 2017
1 parent faefe1c commit f4d6b64
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ before_install:
- brew update
- brew upgrade carthage || true
- carthage version
- travis_wait carthage bootstrap --platform $PLATFORM
- carthage bootstrap --platform $PLATFORM
script:
- bundle exec rake ci[$PLATFORM]
after_success:
Expand Down
15 changes: 15 additions & 0 deletions Charts.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,7 @@
06165F2A1D8110E600722320 /* Sources */,
06165F2B1D8110E600722320 /* Frameworks */,
06165F2C1D8110E600722320 /* Resources */,
B6355D621EA9B71800B74B2E /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -782,6 +783,20 @@
shellPath = /bin/sh;
shellScript = "exec \"${SRCROOT}/scripts/build-dependencies.sh\"\n";
};
B6355D621EA9B71800B74B2E /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"$(SRCROOT)/Carthage/Build/$(PLATFORM)/FBSnapshotTestCase.framework",
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "carthage copy-frameworks";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down
8 changes: 4 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def devices
{
iOS: {
sdk: 'iphonesimulator',
device: "id='57E7D476-3A98-4107-A64D-98CA0EA13EC0'",
uuid: '57E7D476-3A98-4107-A64D-98CA0EA13EC0'
device: "name='iPhone 7'",
name: 'iPhone 7'
},
macOS: {
sdk: 'macosx',
Expand All @@ -49,8 +49,8 @@ def devices
},
tvOS: {
sdk: 'appletvsimulator',
device: "id='DA272ADF-D0A3-4F0A-8F81-32D1CB993197'",
uuid: 'DA272ADF-D0A3-4F0A-8F81-32D1CB993197'
device: "name='Apple TV 1080p'",
name: 'Apple TV 1080p'
}
}
end
Expand Down

0 comments on commit f4d6b64

Please sign in to comment.