[IOS Development] Xcode console keeps printing ‘Status bar could not find cached time string image. Rendering in-process.’

Problem: I have encountered some strange phenomena recently. When developing an iOS project, I observed that the Xcode console prints at regular intervals Status bar could not find cached time string image. Rendering in-process.as shown in the figure below:

It seems that it has no effect on the operation of the program, but when debugging, the console outputs some useless information, which is very uncomfortable.

 

solve:

  • Method 1: Target-> Deployment Info-> CheckHide status bar

But this method still doesn’t work for me, so I have to look for another method.

  • Method 2: Product-> Scheme-> Edit Scheme-> Run-> Arguments-> Environment VariablesAdd a OS_ACTIVITY_MODEfield to the value Disable.

 

This method solves my problem perfectly.

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *