This fixed it for me. omkarbojjawar: Just search UI_USER_INTERFACE_IDIOM() and replace by UIDevice.current.userInterfaceIdiom
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: