Ā Ā·Ā UpLotto

Xcode Build Failing Due to Carousel Widget - Need Help

Troubleshooting

Hi,

I'm currently testing my app that I built on FlutterFlow, and I'm running into an issue when trying to deploy it to my device using Xcode. The build keeps failing, and I'm getting the following error:

Error: 'CarouselController' is imported from both 'package:carousel_slider/carousel_controller.dart' and 'package:flutter/src/material/carousel.dart'.

The strange thing is, I haven't added any custom code related to the carousel. I simply used the carousel widget directly from FlutterFlow, and now this error is blocking my build.

I've tried hiding the carousels in FlutterFlow, but the issue persists. I’m not sure what else to do because I don't fully understand the underlying cause.

Can anyone help me understand why this might be happening and how to fix it? Is there a specific step I should follow within FlutterFlow or Xcode to resolve this conflict?

Thanks in advance for any assistance!

What have you tried so far?

I've tried hiding the carousels in FlutterFlow

Did you check FlutterFlow's Documentation for this topic?
Yes
2
3 replies