In the last five weeks, Apple has revamped its entire product lineup with new iPods, iPhones and computers. But on Thursday it said those products would be more expensive to make, nibbling into its ample profits.

That forecast for the holiday quarter was the main blemish on an otherwise solid financial report. Apple said its fiscal fourth-quarter profit jumped 24 percent, largely because of a surge in sales of the iPhone, a product that now accounts for nearly half of the company’s sales.

The quarter ended Sept. 29 was the first to reflect sales of the iPhone 5, which was introduced Sept. 21. Apple has struggled to deliver enough of the devices to meet customer demand, making them tough to find in many retail stores. The company’s shares have fallen 9 percent since the product hit the market, in part because of investor concerns about short supply.

In a conference call with analysts, Timothy D. Cook, Apple’s chief executive, said that demand for the new iPhone was “extremely robust” and that the company had a significant number of back orders for it. He said production had picked up substantially since earlier this month.