Apple CEO Tim Cook speaks at Apple's Worldwide Developer Conference (WWDC) at the San Jose Convention Center in San Jose, California on Monday, June 4, 2018.

Apple posted $9.55 billion in software and services revenue for its third quarter, as the hardware giant continues to push beyond iPhones and and other hardware.

That's a jump of 31 percent from the year-ago quarter, when Apple reported services revenue of $7.27 billion. It's also ahead of consensus estimates of $9.21 billion, according to StreetAccount, and a jump from the $9.19 billion Apple reported for the second quarter.

The company noted in its earnings release that services revenue "included a favorable one-time item of $236 million in connection with the final resolution of various lawsuits."