Skip to content
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 find symbol ... sign_in_with_apple.SignInWithApplePlugin() #420

Open
carpentierchloe opened this issue Apr 9, 2024 · 6 comments
Open

Comments

@carpentierchloe
Copy link

I am getting this error when I try to build an appbundle : flutterEngine.getPlugins().add(new com.aboutyou.dart_packages.sign_in_with_apple.SignInWithApplePlugin());

I already did :

  • brew upgrade
  • pod update
  • flutter clean

sign_in_with_apple: ^6.1.0

[✓] Flutter (Channel stable, 3.19.5, on macOS 14.3.1 23D60 darwin-arm64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] Connected device (3 available)
[✓] Network resources

@luanbatistadev
Copy link

Same problem here:
mobile/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:169: error: cannot find symbol
[ ] flutterEngine.getPlugins().add(new com.aboutyou.dart_packages.sign_in_with_apple.SignInWithApplePlugin());
[ ] ^
[ ] symbol: class SignInWithApplePlugin
[ ] location: package com.aboutyou.dart_packages.sign_in_with_apple
[ ] 1 error

[✓] Flutter (Channel stable, 3.19.5, on macOS 14.4.1 23E224 darwin-arm64, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.88.0)
[✓] Connected device (4 available)
[✓] Network resources

at version 5.0.0, 6.0.0, 6.1.0

@luanbatistadev
Copy link

luanbatistadev commented Apr 15, 2024

For me it worked again with the following steps:
fix the version at 6.1.0
sign_in_with_apple: 6.1.0
and run
flutter clean
rm pubspec.lock
flutter pub get

at api 33 tiramisu android 13
@carpentierchloe

@ElvistLui
Copy link

Same problem but only in debug mode.
Run successful in release mode.
It's really confusing

@lbinscheck
Copy link

flutter clean && flutter pub get was enough for me

@bearlysophisticated
Copy link

flutter clean && flutter pub get was enough for me

For me too

@SunilKividor

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants