Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit f6103a3

Browse files
須藤将史須藤将史
authored andcommitted
add setup script
1 parent 92ca812 commit f6103a3

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ SPEC CHECKSUMS:
99

1010
PODFILE CHECKSUM: 99cb6e8dd53026dd13517c24451af319e5c1a23a
1111

12-
COCOAPODS: 1.2.0
12+
COCOAPODS: 1.2.1

StudyplusSDK.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@
439439
);
440440
runOnlyForDeploymentPostprocessing = 0;
441441
shellPath = /bin/sh;
442-
shellScript = "diff \"${PODS_ROOT}/../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";
442+
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";
443443
showEnvVarsInLog = 0;
444444
};
445445
/* End PBXShellScriptBuildPhase section */

setup.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh -x
2+
3+
rm Podfile.lock
4+
rm Cartfile.resolved
5+
rm -rf Pods
6+
rm -rf StudyplusSDK.xcworkspace
7+
8+
pod install
9+
carthage update --no-use-binaries --platform iOS
10+

0 commit comments

Comments
 (0)