-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build flutter_nsfw in ios after adding the package #6
Comments
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 |
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!
The text was updated successfully, but these errors were encountered: