WICHITA, Kan. (AP) -- Aerospace supplier Spirit AeroSystems Holdings Inc. on Thursday posted a third-quarter loss on charges due to production setbacks for several aircraft. The Wichita, Kan., company booked $590 million in charges during the third quarter, which it announced last month. The complexity in developing some products drove up supplier, factory and labor costs, it said. The company also received a $235 million settlement from insurers for damage from an April storm that hit its Wichita plant, much less than the $400 million the company expected. The settlement partially offset the impact of the aircraft contract charges. Spirit Aero Systems reported a net loss of $134 million, or 94 cents per share, compared with a profit of $67 million, or 47 cents per share, a year ago. Revenue rose 21 percent to $1.37 billion. Analysts expected a loss of 49 cents per share on revenue of $1.35 billion, according to FactSet.