From 49fe3d80b7075af4d0a30cb11e05c087977a8048 Mon Sep 17 00:00:00 2001 From: Robbie Murray Date: Tue, 23 Apr 2024 16:36:47 +0100 Subject: [PATCH] Fix ios tests --- .github/workflows/ios-tests.yml | 13 +- .../xcshareddata/swiftpm/Package.resolved | 112 ------------------ 2 files changed, 11 insertions(+), 114 deletions(-) delete mode 100644 apps/ios/GuideDogs.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/.github/workflows/ios-tests.yml b/.github/workflows/ios-tests.yml index dd9e7a48..fcdcd233 100644 --- a/.github/workflows/ios-tests.yml +++ b/.github/workflows/ios-tests.yml @@ -16,7 +16,16 @@ jobs: runs-on: macos-14 steps: - uses: actions/checkout@v4 + - name: setup + run: | + sudo xcode-select -s /Applications/Xcode_15.3.app/Contents/Developer + gem install xcpretty - name: Build - run: xcodebuild build-for-testing -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 13' + run: xcodebuild build-for-testing -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 15' CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO |tee xcodebuild.log | xcpretty + - name: uploadlog + uses: actions/upload-artifact@v2 + with: + name: xcodebuild-log + path: xcodebuild.log - name: Test - run: xcodebuild test-without-building -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 13' + run: xcodebuild test-without-building -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 15' diff --git a/apps/ios/GuideDogs.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/apps/ios/GuideDogs.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved deleted file mode 100644 index 153b63c1..00000000 --- a/apps/ios/GuideDogs.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ /dev/null @@ -1,112 +0,0 @@ -{ - "pins" : [ - { - "identity" : "appcenter-sdk-apple", - "kind" : "remoteSourceControl", - "location" : "https://github.com/Microsoft/AppCenter-SDK-Apple", - "state" : { - "revision" : "b2dc99cfedead0bad4e6573d86c5228c89cff332", - "version" : "4.4.3" - } - }, - { - "identity" : "azure-notificationhubs-ios", - "kind" : "remoteSourceControl", - "location" : "https://github.com/Azure/azure-notificationhubs-ios", - "state" : { - "revision" : "f16d75b983a011ea60c596afe01d067870970ca7", - "version" : "3.1.5" - } - }, - { - "identity" : "cocoalumberjack", - "kind" : "remoteSourceControl", - "location" : "https://github.com/CocoaLumberjack/CocoaLumberjack", - "state" : { - "revision" : "0188d31089b5881a269e01777be74c7316924346", - "version" : "3.8.0" - } - }, - { - "identity" : "dznemptydataset", - "kind" : "remoteSourceControl", - "location" : "https://github.com/dzenbot/DZNEmptyDataSet", - "state" : { - "revision" : "9bffa69a83a9fa58a14b3cf43cb6dd8a63774179" - } - }, - { - "identity" : "nvactivityindicatorview", - "kind" : "remoteSourceControl", - "location" : "https://github.com/ninjaprox/NVActivityIndicatorView", - "state" : { - "revision" : "bcb52371f2259254bac6690f92bb474a61768c47", - "version" : "5.1.1" - } - }, - { - "identity" : "plcrashreporter", - "kind" : "remoteSourceControl", - "location" : "https://github.com/microsoft/PLCrashReporter.git", - "state" : { - "revision" : "81cdec2b3827feb03286cb297f4c501a8eb98df1", - "version" : "1.10.2" - } - }, - { - "identity" : "reachability.swift", - "kind" : "remoteSourceControl", - "location" : "https://github.com/ashleymills/Reachability.swift", - "state" : { - "revision" : "c01bbdf2d633cf049ae1ed1a68a2020a8bda32e2", - "version" : "5.1.0" - } - }, - { - "identity" : "realm-cocoa", - "kind" : "remoteSourceControl", - "location" : "https://github.com/realm/realm-cocoa", - "state" : { - "revision" : "cef59658a3e447bf6994e20af6ec408633963d52", - "version" : "10.11.0" - } - }, - { - "identity" : "realm-core", - "kind" : "remoteSourceControl", - "location" : "https://github.com/realm/realm-core", - "state" : { - "revision" : "71db56caba8f8ef0398eedfffb82a908cb94ccec", - "version" : "11.1.1" - } - }, - { - "identity" : "sdwebimage", - "kind" : "remoteSourceControl", - "location" : "https://github.com/SDWebImage/SDWebImage", - "state" : { - "revision" : "633996a807442ec28df9d33b0f88ce57a0e2fdbf", - "version" : "5.17.0" - } - }, - { - "identity" : "sdwebimageswiftui", - "kind" : "remoteSourceControl", - "location" : "https://github.com/SDWebImage/SDWebImageSwiftUI", - "state" : { - "revision" : "e837c37d45449fbd3b4745c10c5b5274e73edead", - "version" : "2.2.3" - } - }, - { - "identity" : "swift-log", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-log.git", - "state" : { - "revision" : "32e8d724467f8fe623624570367e3d50c5638e46", - "version" : "1.5.2" - } - } - ], - "version" : 2 -}