Accessibility Identifier lost on Xcode 15.1 and iOS 17.2

We recently updated to Xcode 15.1 and start using iOS 17.2 simulator and ran into a blocker issue with out UITests. Setting accessibility identifier on a UIButton with image no longer works. It seems iOS automatically set the label to the file name used for the button and ignore (overwrite) the id and value we set in code. iOS 17.0 with Xcode 15.1 still works. I spent 2 days on this and still cannot find a solution. Anyone had similar issue?

I did file a feedback https://feedbackassistant.apple.com/feedback/13515676

Thanks!

Accessibility Identifier lost on Xcode 15.1 and iOS 17.2
 
 
Q