Skip to content

Documentation Issue: Parameter 'selected_port[out]' not found in the function declaration 6.31.0 #6340

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

Closed
gilrodar opened this issue Aug 26, 2020 · 3 comments · Fixed by #6354

Comments

@gilrodar
Copy link

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 11.6
  • Firebase SDK version: 6.31.0
  • Firebase Component: Firestore
  • Component version: 1.17.0
  • Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem

When you run the application, this message appears

"Parameter 'selected_port[out]' not found in the function declaration"
"Did you mean 'selected_port'?"

Captura de Pantalla 2020-08-26 a la(s) 15 17 05

Captura de Pantalla 2020-08-26 a la(s) 15 19 51

@paulb777
Copy link
Member

Might be worth another try to remove this --allow-warnings? Since it catches this problem - https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/firestore.yml#L186

@dconeybe
Copy link
Contributor

Hi @gilrodar! The warning about selected_port is actually from one of Firestore's dependencies, specifically grpc. Here is where it comes from:

https://github.com/grpc/grpc/blob/dca24b8de56272111365a2a3521f59734da9990e/include/grpcpp/server_builder.h#L131

Please open an issue in the grpc repository so that the appropriate people can prioritize and address it. Since there is no action in this repository, I'm going to close this ticket. Feel free to re-open if you feel that this resolution is inadequate.

@dconeybe
Copy link
Contributor

Actually, my colleague @wilhuff pointed out to me that we can suppress this warning in Firestore using SUPPRESS_DOCUMENTATION_WARNINGS_BEGIN from

#define SUPPRESS_DOCUMENTATION_WARNINGS_BEGIN() \

I'll open a PR to make the required change to suppress the warning.

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

Successfully merging a pull request may close this issue.

5 participants