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 protocol declaration for 'SurvicateDelegate'. #1

Closed
hamed-rezaee opened this issue Jan 20, 2021 · 6 comments
Closed

cannot find protocol declaration for 'SurvicateDelegate'. #1

hamed-rezaee opened this issue Jan 20, 2021 · 6 comments
Assignees

Comments

@hamed-rezaee
Copy link

I faced this issue when I try to run an example app on iOS:

error: cannot find protocol declaration for 'SurvicateDelegate'
    @interface SwiftSurvicateFlutterSDKPlugin : NSObject <FlutterPlugin, SurvicateDelegate>

would you help me with this, please?

@andre-paraense andre-paraense self-assigned this Jan 20, 2021
@andre-paraense
Copy link
Owner

Hi, @hamed-fs ! Surely I will help you :)

Whilst I try to reproduce your problem, can you please provide more info about your environment, such as the output of your flutter doctor command, for instance?

@hamed-rezaee
Copy link
Author

thanks a lot @andre-paraense, here you are:

[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H2 darwin-x64, locale
    en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
[!] Android Studio (version 4.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.52.1)
 
[✓] Connected device (1 available)   

I just update the Survicate version to 1.4.3 and run the example.

  s.dependency 'Survicate', '1.4.3'
  s.platform = :ios, '10.0'

@andre-paraense
Copy link
Owner

I have been able to reproduce the error. Also, I already have a hypothesis for the root cause, so the library might need a new release. I will keep you updated, thanks for raising this :)

@hamed-rezaee
Copy link
Author

I have been able to reproduce the error. Also, I already have a hypothesis for the root cause, so the library might need a new release. I will keep you updated, thanks for raising this :)

sure, thank you. 🙇🏼

@andre-paraense
Copy link
Owner

If for some reason you reach a solution before, you are most welcome to contribute with a pull request as well :)

@andre-paraense
Copy link
Owner

Solved by PR #3

andre-paraense added a commit that referenced this issue Jan 29, 2021
Issue #1 - cannot find protocol declaration for 'SurvicateDelegate'. #1
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

2 participants