File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,8 +128,9 @@ jobs:
128128 if : ${{ matrix.targetPlatform == 'StandaloneOSX' }}
129129 run : |
130130 security list-keychains
131- security default-keychain -s ~/Library/Keychains/login.keychain-db
132131 security delete-keychain temporary
132+ security default-keychain -s ~/Library/Keychains/login.keychain-db
133+ security list-keychains -d user -s ~/Library/Keychains/login.keychain-db
133134 security list-keychains
134135 test-ios :
135136 name : Run iOS UI tests 🧪
Original file line number Diff line number Diff line change @@ -58,10 +58,18 @@ echo "Building app..."
5858 -allowProvisioningUpdates \
5959 -derivedDataPath " $( pwd) /build/output/iOS/DerivedData"
6060
61+ # Check if xcodebuild was successful
62+ if [ $? -ne 0 ]; then
63+ echo " Xcode build failed. Exiting script."
64+ exit 1
65+ fi
66+
6167mkdir -p " $( pwd) /build/output/iOS/IPA/Payload"
6268
6369mv " $( pwd) /build/output/iOS/DerivedData/Build/Products/ReleaseForRunning-iphoneos/ImmutableSample.app" " $( pwd) /build/output/iOS/IPA/Payload"
6470
6571pushd " $( pwd) /build/output/iOS/IPA" && zip -r Payload.zip Payload && popd
6672
67- mv " $( pwd) /build/output/iOS/IPA/Payload.zip" " $( pwd) /Tests/test/ios/Payload.ipa"
73+ mv " $( pwd) /build/output/iOS/IPA/Payload.zip" " $( pwd) /Tests/test/ios/Payload.ipa"
74+
75+ echo " Build completed successfully."
You can’t perform that action at this time.
0 commit comments