Apple’s revenue for the fiscal second quarter topped Wall Street’s expectations, but investors are waiting to hear what CEO Tim Cook has to say about the impact of President Donald Trump’s tariffs and economic uncertainty on its business.

The Cupertino, Calif.-based company earned $24.78 billion, or $1.65 per share, in the first three months of the year, up 4.8% from $23.64 billion, or $1.53 per share, in the same period a year earlier.

Revenue rose 5.1% to $95.36 billion from $90.75 billion.

Analysts, on average, were expecting earnings of $1.62 per share on revenue of $94.19 billion, according to a poll by FactSet.

The numbers for the January-March period provide a snapshot of how Apple was faring before Trump’s unveiling of sweeping tariffs in April that rattled the financial markets amid fears a trade war would reignite inflation and shove the U.S. economy into a recession.

Apple’s reliance on Chinese factories to make its iPhones and other devices thrust the technology trendsetter into the crosshairs of Trump’s trade war. The exposure caused Apple’s stock price to plunge 23% shortly after the president announced the severity of the reciprocal tariffs, temporarily erasing $773 billion in shareholder wealth in the process.

Most of those losses have since been recovered after Trump temporarily exempted iPhones and other electronics from the reciprocal tariffs, but Apple’s stock remains down by nearly 5% since the April fusillade of tariffs.

Besides the trade war, Apple has been hurt by its inability to live up to its own hype surrounding artificial intelligence features on the iPhone 16 lineup that came out last fall.

The technology wasn’t ready when the iPhone 16 went on sale. Some AI features have rolled out in parts of the world as part of software updates, but Apple still hasn’t been able to live up to its original promise to make Siri smarter and more versatile. The missteps prompted Apple to pull advertising campaigns promoting AI breakthroughs on the iPhone, although the company still intends to release more features powered by the technology at some point.

Apple had been counting on its late entry into the AI craze to revive demand for the iPhone after last year’s sales dipped 2% from 2023’s levels. Apple said Wednesday that its phone sales climbed 1.9% to $46.84 billion for the first three months of the year. Wall Street had expected iPhone sales of $45.62 billion.