Bagisto App not running on iOS
-
getting below error:
Failed to build iOS app
1: Error (Xcode): lib/screens/product_screen/utils/index.dart:48:1: Error: 'CarouselController' is exported from both 'package:carousel_slider/carousel_controller.dart' and 'package:flutter/src/material/carousel.dart'.
2: also getting error:
Error (Xcode): Package flutter_local_notifications:linux references flutter_local_notifications_linux:linux as the default plugin, but the package does not exist, or is not a plugin package.3: Error (Xcode): flutter_widget_from_html_core-0.14.12/.../html_flex.dart:69:7:
Error: The non-abstract class 'HtmlFlex' is missing implementations for these members:4: 1 error generated.
note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')
note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')these errors are showing randomly not at once.
Here is Flutter Doctor Details: currently i am trying to run build in ios.
[✓] Flutter (Channel stable, 3.19.2, on macOS 14.7.4 23H420 darwin-x64, locale en-PK)
[!] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
✗ cmdline-tools component is missing
Runpath/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Runflutter doctor --android-licenses
to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.97.2)
[✓] Connected device (4 available)
[✓] Network resources -
Hello @Imran-0
Upon reviewing the details you shared, we have identified that the issue you're experiencing is due to the Xcode version. The current project is compatible with Xcode 15.2, whereas you are using Xcode 16.3. To resolve this, the Flutter packages and dependencies need to be updated for compatibility with Xcode 16.2.
We are actively working on making the project fully compatible with Xcode 16.3 and expect to release an updated version by next week.
Regards
Team Bagisto