Apple’s struggle to get the iPhone X to market on time