Unable to detect iosclasschain locator using full attribute value in query

Hi Team,

**/XCUIElementTypeStaticText[name == "Are you sure you want to update your email?"]

am currently facing issue on detecting XCUIElementTypeStaticText locator using ios class chain by passing the complete name of the attribute.
(in automation I need to verify the text displayed in UI with the attribute value/name/label of XCUIElementTypeStaticText locator).

Using xpath this is working fine, facing issue in ios predicate string and class chain queries.
In ios class chain query, i tried using MATCH, CONTAINS with full name of the attribute, its not working…but using CONTAINS operator and with truncated attribute name its working…
so team, is there any way to detect the locator using iOS Class chain with full attribute name ?