I tried to execute example app to copy main.dart in the example app to myapp I created by flutter create. However, it crashes with following errors. It seems that there is some problem about plugins.
I also tried to replace ios directory in the "example app" with myapp's, and it works well.
Here, I used the example app in the library I fetched (like /.symlinks/plugins/geofencing/example) bacause if I use the example app I cloned from github, I got an another error which is /build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework: Permission denied.
$ flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.5, on Mac OS X 10.14.6 18G95, locale ja-JP)
• Flutter version 1.9.1+hotfix.5 at /Users/yanyo/development/flutter
• Framework revision 1aedbb1835 (3 weeks ago), 2019-10-17 08:37:27 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/yanyo/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.2, Build version 11B52
• CocoaPods version 1.6.1
[!] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.39.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.6.0
[✓] Connected device (1 available)
• iPhone 11 Pro Max • 5D418355-E533-491B-8821-97DCA97BB049 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)
! Doctor found issues in 1 category.
It looks like you're using a version of this plugin that someone else published on pub. Unfortunately, I can't support those. Your best bet it to pull this repository and reference it directly in your pubspec.yaml.
I tried to execute example app to copy main.dart in the example app to myapp I created by
flutter create
. However, it crashes with following errors. It seems that there is some problem about plugins.I also tried to replace
ios
directory in the "example app" with myapp's, and it works well. Here, I used the example app in the library I fetched (like /.symlinks/plugins/geofencing/example) bacause if I use the example app I cloned from github, I got an another error which is/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework: Permission denied
.Xcode error output is this.
Flutter doctor is this.