File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,19 @@ jobs:
4646 - name : Select Xcode version
4747 run : |
4848 sudo xcode-select -switch /Applications/Xcode_16.1.app/Contents/Developer
49- - name : Disable iOS Simulator hardware keyboard
50- # needed for SecureFields otherwise the UI flow tests will fail
49+ - name : Boot Simulator (once) to create plist
5150 run : |
52- /usr/libexec/PlistBuddy -c "Set :ConnectHardwareKeyboard 0" ~/Library/Preferences/com.apple.iphonesimulator.plist || true
53- killall Simulator || true
5451 xcrun simctl boot "iPhone 16 Plus" || true
55- sleep 10
52+ sleep 5
53+ # needed for SecureFields otherwise the UI flow tests will fail
54+ - name : Disable iOS Simulator hardware keyboard & kill to force reload
55+ run : |
56+ /usr/libexec/PlistBuddy -c "Add :ConnectHardwareKeyboard bool false" ~/Library/Preferences/com.apple.iphonesimulator.plist || \
57+ /usr/libexec/PlistBuddy -c "Set :ConnectHardwareKeyboard false" ~/Library/Preferences/com.apple.iphonesimulator.plist
58+ killall Simulator || true
59+ - name : Confirm Simulator keyboard setting
60+ run : |
61+ /usr/libexec/PlistBuddy -c "Print :ConnectHardwareKeyboard" ~/Library/Preferences/com.apple.iphonesimulator.plist || echo "Key not found"
5662 - name : Run Integration Tests
5763 run : |
5864 cd ./samples/swiftui/FirebaseSwiftUIExample
You can’t perform that action at this time.
0 commit comments