Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to look up screen scale and Unexpected physical screen orientation in Xcode 10

I have recently updated Xcode to version 10, and now my console displays:

MyApp[1618:133310] [AXMediaCommon] Unable to look up screen scale MyApp[1618:133310] [AXMediaCommon] Unexpected physical screen orientation MyApp[1618:133310] [AXMediaCommon] Unable to look up screen scale MyApp[1618:133310] [AXMediaCommon] Unable to look up screen scale MyApp[1618:133310] [AXMediaCommon] Unexpected physical screen orientation 

This only happens when I am running the app in the simulator. I have not changed my code since updating, and nothing appears to have broken in the app. What do these logs mean, and how can I resolve them?

like image 714
Pasosta Avatar asked Sep 19 '18 16:09

Pasosta


1 Answers

I've met the same problem. Finally I find out that this is because I accidentally resize the simulator's screen using my mouse cursor. By quiting and restarting the simulator my problem is solved.

Hope the aforementioned information helps.

like image 76
Woody Huang Avatar answered Sep 22 '22 18:09

Woody Huang