Open gitHubAdminUser opened 2 years ago
If I remove the package flutter_nsfw: ^0.0.7, all works fine.
I have done:
can you change it to flutter_nsfw: 0.0.4
I downgraded the version as you have recommended, still doesn't work.
Did you changed the version like flutter_nsfw: 0.0.4 or flutter_nsfw: ^0.0.4
Tried both, but nothing works. Even tried on a new project too, didn't work.
FYI - I am running on Apple M1 chip.
Have you tried running with Rosetta enabled in the terminal?
I understand you are having problems in pod install yeah if you remove the flutter_nsfw package then do pod install x86 I don't remember the exact command then when the pod is installed you add flutter_nsfw package in you app now I think it would work smoothly
actually I am not doing anything special I just haven't even written flutter code I just used this cocapods https://github.com/lovoo/NSFWDetector through flutter method channel
I resolved the issue by doing the pod repo update.
Thanks for your support.
ios % flutter run Changing current working directory to: /Users/ Launching lib/main.dart on iPhone 13 Pro in debug mode... Running pod install... 1,033ms CocoaPods' output: ↳ Preparing
Error output from CocoaPods: ↳ Searching for inspections failed: undefined method `map' for nil:NilClass
Error running pod install Error launching application on iPhone 13 Pro.
<---------------FLUTTER DOCTOR--------------->
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.4 21F79 darwin-arm, locale en-AU) • Flutter version 3.0.2 at /Users/Developer/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision cd41fdd495 (9 days ago), 2022-06-08 09:52:13 -0700 • Engine revision f15f824b57 • Dart version 2.17.3 • DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc5) • Android SDK at /Users/victormaisnam/Library/Android/sdk • Platform android-31, build-tools 31.0.0-rc5 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1) • Xcode at /Applications/Xcode.app/Contents/Developer • CocoaPods version 1.11.2
[✓] 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.68.0) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.42.0
[✓] Connected device (3 available) • iPhone 13 Pro (mobile) • 45FEC930-41F2-4FBB-A6DD-30D13610B9A9 • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 12.4 21F79 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 102.0.5005.115
[✓] HTTP Host Availability • All required HTTP hosts are available
• No issues found!