From 19793e2bb325cb2ed93098b923391f436edb1bc4 Mon Sep 17 00:00:00 2001 From: mekya Date: Sun, 2 Jun 2024 01:20:34 +0300 Subject: [PATCH] clean build & remove ARCHS parameter --- .github/workflows/ios-build-and-test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ios-build-and-test.yml b/.github/workflows/ios-build-and-test.yml index a1ab90e..0720f58 100644 --- a/.github/workflows/ios-build-and-test.yml +++ b/.github/workflows/ios-build-and-test.yml @@ -12,15 +12,16 @@ jobs: uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: '15.3' - - - name: Install xcpretty - run: gem install xcpretty + + - name: Install simulator + run: xcversion simulators --install='iOS 14.3' + - name: Build WebRTCiOSSDK run: xcodebuild -scheme WebRTCiOSSDK -configuration Release -destination "generic/platform=iOS" ARCHS=arm64 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO build - name: Test WebRTCiOSSDK - run: xcodebuild -scheme WebRTCiOSSDK -destination "platform=iOS Simulator,name=iPhone 15" ARCHS=arm64 test + run: xcodebuild clean -scheme WebRTCiOSSDK -destination "platform=iOS Simulator,name=iPhone 15" test - name: Build WebRTCSampleApp run: xcodebuild -scheme WebRTC-Sample-App -configuration Release -destination "generic/platform=iOS" ARCHS=arm64 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO build