Xcode9b1 - Spurious [UIFocus] Focus system disabled when running in simulator
| Originator: | markd | ||
| Number: | rdar://32833870 | Date Originated: | 6/17/2017 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Version 9.0 beta (9M136h) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When I launch my app, I get a [UIFocus] Focus system disabled message in the console log. I haven't tried it on a device. Happens all the time in the simulator. The output looks like NSLog, but a breakpoint on NSLog doesn't trigger it. I tried breakpoints on os_log, to no avial, or setting a breakpoint inside of UIFocus stuff. See attached movie. (and if If possible, could someone tell me what I could break on to see this output (outside of something like 'write', which is so voluminous to not be worth it), so I could do more footwork on figuring out what's going on? I like figuring stuff out for myself when possible :-) ) See video at https://www.dropbox.com/s/[redacted]/focus-system-disabled.mp4?dl=0 Here's output: 2017-06-17 14:09:23.446973-0400 [redacted][61754:3616536] [UIFocus] Focus system disabled 2017-06-17 14:09:23.450257-0400 [redacted][61754:3616536] [UIFocus] Focus system disabled 2017-06-17 14:09:23.501494-0400 [redacted][61754:3616536] [UIFocus] Focus system disabled 2017-06-17 14:09:23.504392-0400 [redacted][61754:3616536] [UIFocus] Focus system disabled 2017-06-17 14:09:23.507017-0400 [redacted][61754:3616536] [UIFocus] Focus system disabled 2017-06-17 14:09:23.740952-0400 [redacted][61754:3616536] [UIFocus] Focus system disabled 2017-06-17 14:09:23.789531-0400 [redacted][61754:3616536] [UIFocus] Focus system disabled 2017-06-17 14:09:23.831244-0400 [redacted][61754:3616536] [UIFocus] Focus system disabled Steps to Reproduce: see summary Expected Results: see summary Observed Results: see summary Version: Version 9.0 beta (9M136h) 10.12.5 (16F73) Notes: Configuration: Doesn't happen in Xcode 8 .... Follow-up to my question about setting the breakpoint - I tried regex breakpoints on NSLog.* (no hits), os_log.* (way too many hits), '-\[UIFocus .*\]$' (no symbols to set a breakpoint on). Pondered setting one on write(), but didn't want to slog through _that_ many calls :-) - wondering what an alternative would be.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!