Skip to content

Commit

Permalink
Added a copy artifacts workaround
Browse files Browse the repository at this point in the history
Carthage doesnt handle the dSYM files copying. As a workaround we move all the build artifacts into Artifacts/ folder, so projects using this framework can copy the dSYM from this folder
  • Loading branch information
kompozer committed Jun 17, 2015
1 parent 7e97288 commit 3a54880
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Podfile.lock
# Bundler
.bundle

Artifacts/

# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
Expand Down
28 changes: 23 additions & 5 deletions SmoothLineView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
/* Begin PBXBuildFile section */
F5155B3D1B30CA4300F1DA58 /* SmoothLineView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5155B311B30CA4300F1DA58 /* SmoothLineView.framework */; };
F5155B441B30CA4300F1DA58 /* SmoothLineViewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = F5155B431B30CA4300F1DA58 /* SmoothLineViewTests.m */; };
F5155B6C1B30D0FD00F1DA58 /* ENDDrawGestureRecognizer.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B631B30D0FD00F1DA58 /* ENDDrawGestureRecognizer.h */; };
F5155B6C1B30D0FD00F1DA58 /* ENDDrawGestureRecognizer.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B631B30D0FD00F1DA58 /* ENDDrawGestureRecognizer.h */; settings = {ATTRIBUTES = (Public, ); }; };
F5155B6D1B30D0FD00F1DA58 /* ENDDrawGestureRecognizer.m in Sources */ = {isa = PBXBuildFile; fileRef = F5155B641B30D0FD00F1DA58 /* ENDDrawGestureRecognizer.m */; };
F5155B6E1B30D0FD00F1DA58 /* ENDDrawOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B651B30D0FD00F1DA58 /* ENDDrawOperation.h */; };
F5155B6E1B30D0FD00F1DA58 /* ENDDrawOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B651B30D0FD00F1DA58 /* ENDDrawOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
F5155B6F1B30D0FD00F1DA58 /* ENDDrawOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = F5155B661B30D0FD00F1DA58 /* ENDDrawOperation.m */; };
F5155B701B30D0FD00F1DA58 /* ENDDrawSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B671B30D0FD00F1DA58 /* ENDDrawSession.h */; };
F5155B701B30D0FD00F1DA58 /* ENDDrawSession.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B671B30D0FD00F1DA58 /* ENDDrawSession.h */; settings = {ATTRIBUTES = (Public, ); }; };
F5155B711B30D0FD00F1DA58 /* ENDDrawSession.m in Sources */ = {isa = PBXBuildFile; fileRef = F5155B681B30D0FD00F1DA58 /* ENDDrawSession.m */; };
F5155B721B30D0FD00F1DA58 /* LVSmoothLineView.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B691B30D0FD00F1DA58 /* LVSmoothLineView.h */; };
F5155B721B30D0FD00F1DA58 /* LVSmoothLineView.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B691B30D0FD00F1DA58 /* LVSmoothLineView.h */; settings = {ATTRIBUTES = (Public, ); }; };
F5155B731B30D0FD00F1DA58 /* LVSmoothLineView.m in Sources */ = {isa = PBXBuildFile; fileRef = F5155B6A1B30D0FD00F1DA58 /* LVSmoothLineView.m */; };
F5155B741B30D0FD00F1DA58 /* SmoothLineView.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B6B1B30D0FD00F1DA58 /* SmoothLineView.h */; };
F5155B741B30D0FD00F1DA58 /* SmoothLineView.h in Headers */ = {isa = PBXBuildFile; fileRef = F5155B6B1B30D0FD00F1DA58 /* SmoothLineView.h */; settings = {ATTRIBUTES = (Public, ); }; };
F5155B761B30D11E00F1DA58 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = F5155B751B30D11E00F1DA58 /* Info.plist */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -153,6 +153,7 @@
F5155B2D1B30CA4300F1DA58 /* Frameworks */,
F5155B2E1B30CA4300F1DA58 /* Headers */,
F5155B2F1B30CA4300F1DA58 /* Resources */,
F5C58E231B3138250086CA8A /* Copy Artifacts */,
);
buildRules = (
);
Expand Down Expand Up @@ -234,6 +235,23 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
F5C58E231B3138250086CA8A /* Copy Artifacts */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Artifacts";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "ARTIFACTS=\"Artifacts\"\nBASE_DIR=$SRCROOT/$ARTIFACTS\nif [ -d \"${BASE_DIR}\" ];\nthen\n rm -rf $BASE_DIR\nfi\nmkdir -p $BASE_DIR\ncp -R $DWARF_DSYM_FOLDER_PATH/* $BASE_DIR";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
F5155B2C1B30CA4300F1DA58 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down

0 comments on commit 3a54880

Please sign in to comment.