kiwi-bop / flutter_crashlytics

:package: Flutter plugin for Crashlytics integration
BSD 2-Clause "Simplified" License
194 stars 46 forks source link

On 1.0.0 .symlinks/../flutter_crashlytics/ios/Classes folder is empty #87

Open artem-zaitsev opened 5 years ago

artem-zaitsev commented 5 years ago

This cause a fatal error at the build.

../ios/Runner/GeneratedPluginRegistrant.m:12:9: fatal error: 'flutter_crashlytics/FlutterCrashlyticsPlugin.h' file not found
    #import <flutter_crashlytics/FlutterCrashlyticsPlugin.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.

If I revert to 0.3.0 - everything is ok.

Flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale ru-RU)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
[✓] Android Studio
[✓] VS Code (version 1.33.1)
[✓] Connected device (1 available)

• No issues found!

pubspec.yaml

flutter_crashlytics: 1.0.0

jaumard commented 5 years ago

you might need to do this:

cd ios
pod update

Then do flutter clean and try again,