McDonald's announced last week that the chain has changed the recipe for its iconic apple pie.

Some customers are complaining about the new recipe, with one person saying on social media that people should be "rioting in the streets" in response to the change.

Others have a more positive attitude after tasting the new apple pie, which was revamped to remove sugar and reduce the number of ingredients used.

McDonald's changed its iconic apple pie recipe — and customers are split on if it is a healthy change for the better or a horrific mistake.

Last week, the fast-food giant announced it was debuting a new recipe for its apple pie with less sugar and a simplified ingredients list.

"Our new freshly baked Apple pie recipe is in line with other positive changes we have made," Tiffany Briggs, a McDonald's spokesperson, said in a statement. "We removed, for example, artificial preservatives from our Chicken McNuggets and switched to real butter in our breakfast sandwiches because those changes matter to our guests."

However, not every McDonald's customer has been loving the new pie. As the revamped dessert has hit menus, many customers have taken to social media to complain about the changes.

"What's up with the new apple pies????" one person tweeted. "I like the old recipe better. Is it a seasonal thing? Or a permanent change???"

McDonald's responded on Twitter: "Our new apple pie is made with fewer ingredients such as sugar, sliced 100-percent American grown apples and a bit of cinnamon to the filling for flavor to give each one that homemade taste our customers love."

However, others had more positive things to say about the new apple pie.

With the apple pie's long and fabled history, McDonald's was sure to face some backlash over changes.

The pie was the first dessert ever added to McDonald's menu, in 1968. McDonald's replaced the original fried apple pies to a baked version in the early 1990s — a change that some people are still lamenting decades later.