Xcode 9.3状态栏渲染警告消除方法咨询
Hey there! I’ve dealt with this exact warning plenty of times after upgrading to Xcode 9.3—super annoying when it pops up every minute, right? Here are the tried-and-true fixes that work for most developers:
Restart Xcode and your simulator first
This is the quickest sanity check. The status bar cache often gets messed up during the Xcode upgrade, and a full restart (quit both apps completely, then reopen) usually flushes the glitchy cache.Reset your simulator’s content and settings
If restarting doesn’t help, head to the simulator’s menu bar: selectDevice>Erase All Content and Settings.... This wipes out any corrupted cached assets tied to the simulator’s status bar, which is a common culprit for this looping warning.Clear Xcode’s Derived Data
Old build artifacts and cached files can also cause this issue. Open Xcode, go toXcode>Preferences>Locations, find theDerived Datasection, click the small arrow next to the path to open the folder, delete everything inside, then restart Xcode. This gives Xcode a clean slate for caching assets.Double-check custom status bar code (if you have any)
If your app uses custom status bar styling or overrides, make sure your code is compatible with the iOS versions Xcode 9.3 targets. Outdated status bar implementations can occasionally trigger this caching warning, though this is less common than the first three fixes.
Most folks resolve this with the first two steps, so start there and work your way down if needed!
内容的提问来源于stack exchange,提问作者Naren

