Closed erfanegtfi closed 1 year ago
Interesting, I haven't seen this before. It is probably a pods problem. Start by cleaning pods and reinstalling. If not try the example project from the repo to see if that works and then diff from there. Make sure your pods file has use_frameworks! also.
Cleaning pods and reinstalling didn't work. Also I tried example project from the repo, it has the same error
Can you post the output of flutter doctor -v ?
In particular what version of xcode is it using?
Flutter (Channel stable, 3.10.5, on macOS 12.2.1 21D62 darwin-arm64, locale
en-US)
• Flutter version 3.10.5 on channel stable at
/Users/erfaneghterafi/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 796c8ef792 (5 weeks ago), 2023-06-13 15:51:02 -0700
• Engine revision 45f6e00911
• Dart version 3.0.5
• DevTools version 2.23.1
[!] Android toolchain - develop for Android devices (Android SDK version
32.1.0-rc1)
• Android SDK at /Users/erfaneghterafi/Library/Android/sdk
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter 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 13.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 13E500a
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
[✓] VS Code (version 1.80.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.2.1 21D62
darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 114.0.5735.198
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Your xcode is out of date. Current apple min version is xcode 14.1 for the app store. Start by upgrading that to see where we are at.
@erfanegtfi did this address your issue?
I am going to close this assuming xcode fixed the issue.
Thanks, It worked after upgrade macOS and Xcode to the last version
Hello, I got this error just after added
recaptcha_enterprise_flutter
to my project. I got this only on ios (android is fine), on build time.Mac OS M1 used recaptcha_enterprise_flutter: ^18.2.1
Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision 796c8ef792 (4 weeks ago) • 2023-06-13 15:51:02 -0700 Engine • revision 45f6e00911 Tools • Dart 3.0.5 • DevTools 2.23.1