admin管理员组

文章数量:1287561

I'm running a Swift project with snapshot tests on Xcode 16, which are passing locally, but they fail the cloud tests because the cloud server has an AM/PM time format.

I want to change the Xcode simulator time format to AM/PM. I know the option is not on the Settings simulator app, but I've also tried to change the Macbook region to some that use AM/PM format (Hong Kong, US) without success.

Any suggestion here?

I'm running a Swift project with snapshot tests on Xcode 16, which are passing locally, but they fail the cloud tests because the cloud server has an AM/PM time format.

I want to change the Xcode simulator time format to AM/PM. I know the option is not on the Settings simulator app, but I've also tried to change the Macbook region to some that use AM/PM format (Hong Kong, US) without success.

Any suggestion here?

Share Improve this question edited Feb 24 at 17:11 HangarRash 15.1k5 gold badges19 silver badges55 bronze badges asked Feb 24 at 14:54 TheKingArthasTheKingArthas 111 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

Well, it seems that changing the 24-hour time on the MacBook settings works only if you reset the simulator with Erase All Content and Settings....

本文标签: Can39t change time format from 24 hs to AMPM on Xcode simulatorStack Overflow