Status bar could not find cached time string image. Rendering in-process

Iosswift4.1xcode9.3

Ios Problem Overview


I get the above runtime message after I upgraded to Swift4.1 and Xcode 9.3. Before the upgrade I did not have this message in my console window.

>Status bar could not find cached time string image. Rendering in-process.

comes up every few minutes as long as I have the App running.

It sees to me there is no negative side effect, my App is running, as usual, I have not seen any problems.

I use the standard Status Bar, have not changed to modify it in any way.

Question 1: Would there be a problem originating from this warning under situations i have not come across yet?

Question 2: Does anyone know how I can get rid of this warning?

Ios Solutions


Solution 1 - Ios

This bug/debug note is present in iOS SDK bundled with Xcode 9.3+

Update: not fixed in Xcode 9.4.1 (9F2000)
Update: not fixed in Xcode 10 (10A255)
Update: not fixed in Xcode 11 betas

I think you can safely ignore it. New versions of iOS/macOS sometimes contain informational debugging messages, and they generally get removed at the next release.

Solution 2 - Ios

Same issue was occurring for me too. To overcome this, I did this

Goto Target -> Deployment Info -> Unchecked 'Hide status bar'

This one resolved my issue. For me, this was the 'Deployment Info' setup.

enter image description here

Solution 3 - Ios

I am also seeing this warning appear, and in answer to Question 1, I am also seeing potentially very nasty behaviour associated with it.

Running something close to a basic sample animated triangle Metal app, but with

renderPassDescriptor.colorAttachments[0].loadAction = .load

such that the frame isn't cleared every frame. What seems to be happening is that every other time the warning message is logged, iOS also gets some part of its management of graphics state confused so that I witness a violent flashing of parts of the image (which then goes away again later).

How likely this situation would be to emerge in a 'real' app I'm not sure, but it's definitely not something you want users to end up seeing.

I haven't fixed the problem here thus far; 'Hide status bar' and 'Requires full screen' settings don't help.

Solution 4 - Ios

In my case, it was hiding navigation bare by

self.navigationController?.isNavigationBarHidden = false

When you are hiding the navigation bar, it hides status bar too!. just use

self.navigationController?.navigationBar.isHidden = true

instead. And you will have your status bar back.

Solution 5 - Ios

To answer Question 2 drawing upon PeterT answer that addresses Question 1: not only you can not get rid of this warning, but you mustn't, cause it means that the underlying problem is anything, but benign. At least in some scenarious.

This also means that the DEC Field Circus Engineer dance swapping the wheels that flat in meta info for the project would rightfully make you look like a clown.

Solution 6 - Ios

I was able to get rid of this warning, by checking the "Requires Full Screen" in Target-> Deployment Info.

Checking this option may have some side-effects in iPad, so you should do it having this in mind.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionmac_ericView Question on Stackoverflow
Solution 1 - IosLal KrishnaView Answer on Stackoverflow
Solution 2 - IossRoyView Answer on Stackoverflow
Solution 3 - IosPeterTView Answer on Stackoverflow
Solution 4 - IosmehdiView Answer on Stackoverflow
Solution 5 - IosAnton TropashkoView Answer on Stackoverflow
Solution 6 - IosEsteban VallejoView Answer on Stackoverflow