I am using Xcode 7's new feature : UI Testing. After recording the interaction, Xcode generated the code automatically :
- (void)testDoubleTapToolBarItem {
[[[XCUIApplication alloc] init].tabBars.buttons[@"\U5173\U6ce8"] doubleTap];
~~~~~~~~~~~~~~~~
}
However, warning showed as well. Any one know how to fix this?
Incomplete universal character name
Edit: This seems to be a BUG since Xcode 7.0 GM
\uNNNN
or\UNNNNNNNN
, in your case@"\u5173\u6ce8"
or@"\U00005173\U00006ce8"
. – Kus\U
, and after I fix it to\u
, it works. – Laurenalaurence