Skip to content

Commit

Permalink
Update Dependencies and Fix Build Errors (#93)
Browse files Browse the repository at this point in the history
# Update Dependencies and Fix Build Errors

## ⚙️ Release Notes 
- Moves to GitHub-hosted Action runners
- Update Dependencies and Fix Build Errors


## 📝 Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
PSchmiedmayer authored Jul 1, 2024
1 parent 3de281d commit 7c01bdc
Show file tree
Hide file tree
Showing 12 changed files with 149 additions and 70 deletions.
1 change: 0 additions & 1 deletion .github/workflows/beta-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
uses: CS342/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
secrets: inherit
with:
runsonlabels: '["macOS", "self-hosted"]'
googleserviceinfoplistpath: 'Intake/Supporting Files/GoogleService-Info.plist'
setupsigning: true
fastlanelane: beta
3 changes: 2 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
uses: CS342/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
with:
artifactname: Intake.xcresult
runsonlabels: '["macOS", "self-hosted"]'
customcommand: "fastlane test"
uploadcoveragereport:
name: Upload Coverage Report
needs: buildandtest
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2
with:
coveragereports: Intake.xcresult
secrets:
token: ${{ secrets.CODECOV_TOKEN }}
53 changes: 22 additions & 31 deletions Intake.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -551,11 +551,11 @@
653A2549283387FE005D4D48 /* Sources */,
653A254A283387FE005D4D48 /* Frameworks */,
653A254B283387FE005D4D48 /* Resources */,
2F5B528D29BD237B002020B7 /* ShellScript */,
);
buildRules = (
);
dependencies = (
2F074F7E2C33391A003F39D4 /* PBXTargetDependency */,
566155222AB83CF200209B80 /* PBXTargetDependency */,
);
name = Intake;
Expand Down Expand Up @@ -628,7 +628,7 @@
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1340;
LastUpgradeCheck = 1520;
LastUpgradeCheck = 1600;
TargetAttributes = {
653A254C283387FE005D4D48 = {
CreatedOnToolsVersion = 13.4;
Expand Down Expand Up @@ -664,6 +664,7 @@
F42AB1D02B6379B5002E13A6 /* XCRemoteSwiftPackageReference "SpeziLLM" */,
5A0C1A162B69667B00120506 /* XCRemoteSwiftPackageReference "SpeziFHIR" */,
51805C162B81898700D17109 /* XCRemoteSwiftPackageReference "SpeziMedication" */,
2F074F7C2C333912003F39D4 /* XCRemoteSwiftPackageReference "SwiftLint" */,
);
productRefGroup = 653A254E283387FE005D4D48 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -710,27 +711,6 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
2F5B528D29BD237B002020B7 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${CONFIGURATION}\" = \"Debug\" ]; then\n export PATH=\"$PATH:/opt/homebrew/bin\"\n if which swiftlint > /dev/null; then\n swiftlint\n else\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\n fi\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
653A2549283387FE005D4D48 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down Expand Up @@ -819,6 +799,10 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
2F074F7E2C33391A003F39D4 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
productRef = 2F074F7D2C33391A003F39D4 /* SwiftLintBuildToolPlugin */;
};
566155222AB83CF200209B80 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
productRef = 566155212AB83CF200209B80 /* SwiftPackageListJSONPlugin */;
Expand Down Expand Up @@ -950,7 +934,6 @@
2FEE10322998C89C000822E1 /* Test */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand All @@ -970,7 +953,6 @@
2FEE10332998C89C000822E1 /* Test */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 637867499T;
Expand Down Expand Up @@ -1208,7 +1190,6 @@
653A257528338800005D4D48 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand All @@ -1228,7 +1209,6 @@
653A257628338800005D4D48 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand All @@ -1248,7 +1228,6 @@
653A257828338800005D4D48 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 637867499T;
Expand All @@ -1267,7 +1246,6 @@
653A257928338800005D4D48 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 637867499T;
Expand Down Expand Up @@ -1329,6 +1307,14 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
2F074F7C2C333912003F39D4 /* XCRemoteSwiftPackageReference "SwiftLint" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/realm/SwiftLint.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.55.1;
};
};
2F49B7742980407B00BCB272 /* XCRemoteSwiftPackageReference "Spezi" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/StanfordSpezi/Spezi";
Expand Down Expand Up @@ -1406,7 +1392,7 @@
repositoryURL = "https://github.com/StanfordSpezi/SpeziFHIR.git";
requirement = {
kind = upToNextMinorVersion;
minimumVersion = 0.6.0;
minimumVersion = 0.6.2;
};
};
97F466E62A76BBEE005DC9B4 /* XCRemoteSwiftPackageReference "SpeziOnboarding" */ = {
Expand All @@ -1422,12 +1408,17 @@
repositoryURL = "https://github.com/StanfordSpezi/SpeziLLM";
requirement = {
kind = upToNextMinorVersion;
minimumVersion = 0.7.0;
minimumVersion = 0.8.3;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
2F074F7D2C33391A003F39D4 /* SwiftLintBuildToolPlugin */ = {
isa = XCSwiftPackageProductDependency;
package = 2F074F7C2C333912003F39D4 /* XCRemoteSwiftPackageReference "SwiftLint" */;
productName = "plugin:SwiftLintBuildToolPlugin";
};
2F49B7752980407B00BCB272 /* Spezi */ = {
isa = XCSwiftPackageProductDependency;
package = 2F49B7742980407B00BCB272 /* XCRemoteSwiftPackageReference "Spezi" */;
Expand Down
Loading

0 comments on commit 7c01bdc

Please sign in to comment.