Apple’s revenue beats Wall Street expectations on higher iPhone sales