[iOS] Test on GitHub Action doesn't seem to change the iOS simulator time
I'm trying to integrate your great tool with GA in this test repo, but tests fail because the simulator time differs (It's not 9:41).
| iOS Tests fail due to time difference |
|---|
![]() |
![]() |
Can you help me understand what I'm missing?
Hello First of all, thank you very much for doing such a great work on this library. Just want to write a comment here to support the above issue. I have explored the lib codebase for a bit and find out that you have already fixed this issue a quite while ago in this PR https://github.com/FormidableLabs/react-native-owl/pull/16 but it seems issue is still there. Below implementation is not working as expected. Fixing this issue would be really helpful. It's mainly happening on iOS 16
const SIMULATOR_TIME = '9:41';
const setTimeCommand = `xcrun simctl status_bar ${simulator} override --time ${SIMULATOR_TIME}`;
await execa.command(setTimeCommand, { stdio, cwd });
@shadowsheep1 It seems like you are using xcode 16 or above version which is causing the issue. The following changes would fix the issue:
- Open xcode and tap on the
Xcodeon the top left corner. - Tap on
Preferences - Tap on the
Platforms - Tap on the
+at the bottom left - Tap on
iOS - Download the
15.5ios emulator - Open the simulator iPhone 13 from the xcode and you are good to go.
so it is not compatible with iOS 16?
This seems to be an issue with iOS 16 (or 16.1) - https://developer.apple.com/forums/thread/720610 There is nothing that RN Owl can do itself to resolve this. While waiting for Apple to resolve this issue, you may need to continue to test on iOS 15
Okay, got it. Thanks guys.
Related to #165
Is this still an issue? I presume that it's resolved by Apple now that iOS Simulators 17.x are released
Closing as it appears that this was resolved by newer ios simulator versions

