IOS(Swift)

'UIScene' is only available in iOS 13.0 or newer

개복치 개발자 2020. 12. 30. 20:13

 최신 버전의 XCode에서 옛날 디바이스를 연결하면 아래와 같은 오류가 뜨는데, 해겨하는 방법입니다.

 

 'UIScene' is only available in iOS 13.0 or newer

 

 Deployment Info 부분에서 디바이스 버전을 낮춰주고

 

 AppDelegate로 가서 @available(iOS 13.0, *) 를 추가해주고

 

 SceneDelegate로 가서 @available(iOS 13.0, *) 를 하나 더 추가해줍니다.

 

 그리고 AppDelegate에 아래와 같이 추가

 

 var window:UIWindow?

 

'IOS(Swift)' 카테고리의 다른 글

IOS Firebase anonymous Auth  (0) 2020.12.30
pb.h' file not found with angled include use quotes instead  (0) 2020.12.30
IOS Safe Area Remove(Storyboard)  (0) 2020.12.30
Swift Json Parsing  (0) 2020.12.29
IOS Custom Table Cell  (0) 2020.12.29