When compiling on Xcode 13, there is an error on getting device orientation. screenshot is attached. <img width="1212" alt="Screenshot 2021-09-16 at 5 06 13 PM" src="https://user-images.githubusercontent.com/52665949/133609186-d686f23a-5841-497e-95f1-0cfdd75ca488.png">