Comment on Xcode 13.3 build "out of memory" This fixed it for me. omkarbojjawar: Just search UI_USER_INTERFACE_IDIOM() and replace by UIDevice.current.userInterfaceIdiom Developer Tools & Services Xcode Mar ’22