With 45.5 million units, the company reported more iPhone sales than expected during the quarter.