Skip to content

Commit 15b3fc7

Browse files
committed
Use pinned carthage
1 parent 60237fd commit 15b3fc7

File tree

5 files changed

+5
-18
lines changed

5 files changed

+5
-18
lines changed

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ github "dexman/Minizip" "6be834b517aedb2b3b51e997a1244af738bb41f8"
88
github "i-schuetz/SwiftCharts" "0.6.5"
99
github "instacart/TrueTime.swift" "5.1.0"
1010
github "ps2/NightscoutService" "f141e1e3ac5c52b2b2d3595200dfb24464b538fe"
11-
github "ps2/rileylink_ios" "8d2ea727cd4d862a794b17ac0b63ccd93428c45e"
11+
github "ps2/rileylink_ios" "e2d3915cefcd94ada8a1c9e38e011aa73a54f5b4"

Loop.xcodeproj/project.pbxproj

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
isa = PBXAggregateTarget;
1212
buildConfigurationList = 432CF87820D8B8380066B889 /* Build configuration list for PBXAggregateTarget "Cartfile" */;
1313
buildPhases = (
14-
432CF88220D8BCD90066B889 /* Homebrew & Carthage Setup */,
1514
432CF87B20D8B8490066B889 /* Build Carthage Dependencies */,
1615
);
1716
dependencies = (
@@ -1383,6 +1382,7 @@
13831382
C178249F1E19CF9800D9D25C /* GlucoseThresholdTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GlucoseThresholdTableViewController.swift; sourceTree = "<group>"; };
13841383
C17824A21E19EAB600D9D25C /* recommend_temp_basal_start_very_low_end_high.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = recommend_temp_basal_start_very_low_end_high.json; sourceTree = "<group>"; };
13851384
C17824A41E1AD4D100D9D25C /* ManualBolusRecommendation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ManualBolusRecommendation.swift; sourceTree = "<group>"; };
1385+
C17E500B25C672D3004829E3 /* carthage.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = carthage.sh; sourceTree = "<group>"; };
13861386
C1814B85225E507C008D2D8E /* Sequence.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Sequence.swift; sourceTree = "<group>"; };
13871387
C18913B42524F24C007B0683 /* DeviceDataManager+SimpleBolusViewModelDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DeviceDataManager+SimpleBolusViewModelDelegate.swift"; sourceTree = "<group>"; };
13881388
C18A491222FCC22800FDA733 /* build-derived-assets.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "build-derived-assets.sh"; sourceTree = "<group>"; };
@@ -2488,6 +2488,7 @@
24882488
C18A491122FCC20B00FDA733 /* Scripts */ = {
24892489
isa = PBXGroup;
24902490
children = (
2491+
C17E500B25C672D3004829E3 /* carthage.sh */,
24912492
C1D197FE232CF92D0096D646 /* capture-build-details.sh */,
24922493
C125F31A22FE7CE200FD0545 /* copy-frameworks.sh */,
24932494
C18A491222FCC22800FDA733 /* build-derived-assets.sh */,
@@ -3225,20 +3226,6 @@
32253226
shellScript = "if [ -f $PROJECT_DIR/.gitmodules ]; then\n echo \"Skipping checkout due to presence of .gitmodules file\"\n if [ $ACTION = \"install\" ]; then\n echo \"You're installing: Make sure to keep all submodules up-to-date and run carthage build after changes.\"\n fi\nelse\n echo \"Bootstrapping Carthage dependencies...\"\n unset LLVM_TARGET_TRIPLE_SUFFIX\n\n if ! cmp -s Cartfile.Resolved Carthage/Cartfile.resolved; then\n time ./Scripts/carthage.sh bootstrap --project-directory \"$SRCROOT\" --platform ios,watchos --cache-builds --verbose || exit 1\n cp Cartfile.resolved Carthage\n else\n echo \"Carthage: not bootstrapping\"\n fi\nfi\n";
32263227
showEnvVarsInLog = 0;
32273228
};
3228-
432CF88220D8BCD90066B889 /* Homebrew & Carthage Setup */ = {
3229-
isa = PBXShellScriptBuildPhase;
3230-
buildActionMask = 2147483647;
3231-
files = (
3232-
);
3233-
inputPaths = (
3234-
);
3235-
name = "Homebrew & Carthage Setup";
3236-
outputPaths = (
3237-
);
3238-
runOnlyForDeploymentPostprocessing = 0;
3239-
shellPath = /bin/sh;
3240-
shellScript = "if ! [ -x \"$(command -v brew)\" ]; then\n # Install Homebrew\n ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\nfi\n\nif brew ls carthage > /dev/null; then\n brew upgrade carthage || echo \"Continuing…\"\nelse\n brew install carthage\nfi\n";
3241-
};
32423229
43D9FFE221EAE40600AF44BF /* Copy Frameworks with Carthage */ = {
32433230
isa = PBXShellScriptBuildPhase;
32443231
buildActionMask = 2147483647;

Scripts/carthage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ echo 'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x8
1616
echo 'EXCLUDED_ARCHS = $(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))' >> $xcconfig
1717

1818
export XCODE_XCCONFIG_FILE="$xcconfig"
19-
carthage "$@"
19+
"${SRCROOT}/bin/carthage" "$@"

Scripts/copy-frameworks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ for COUNTER in $(seq 0 $(($SCRIPT_INPUT_FILE_COUNT - 1))); do
3838
done
3939

4040
echo "Copy Frameworks with Carthage"
41-
carthage copy-frameworks
41+
"${SRCROOT}/bin/carthage" copy-frameworks

bin/carthage

5.32 MB
Binary file not shown.

0 commit comments

Comments
 (0)