Skip to content

plugin_lint_mac test fails on Xcode 14.3: a function declaration without a prototype is deprecated in all versions of C #125812

Closed

Description

@jmagman
pod lib lint packages/integration_test/ios/integration_test.podspec --no-clean

fails on Xcode 14.3 in CI:

App/main.m:4:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8782535317087304833/+/u/run_plugin_lint_mac/test_stdout

This is because

int main() {}

causes the warning in 14.3. This was reported in CocoaPods/CocoaPods#11846 and fixed in CocoaPods 1.12.1 in CocoaPods/CocoaPods#11847 which changed it to:

int main(void) {}

CI version of CocoaPods needs to be updated to 1.12.2. This is blocked by #122057.

Activity

  1. added
    platform-iosiOS applications specifically
    platform-macosBuilding on or for macOS specifically
    team-infraOwned by Infrastructure team
    P1High-priority issues at the top of the work list
    on May 1, 2023
  2. godofredoc commented on May 1, 2023

    @godofredoc
    Contributor

    Docs on how to create/update ruby packages: go/flutter-ruby

  3. godofredoc commented on May 1, 2023

    @godofredoc
    Contributor

    Removing from ticket queue. This requires recompiling ruby for arm and x64 along with its dependencies and infra gardeners do not have the context on how to do it.

  4. jmagman commented on May 1, 2023

    @jmagman
    MemberAuthor

    This requires recompiling ruby for arm and x64 along with its dependencies

    I don't think we need new versions of ruby or bundler, just the gems themselves.

  5. added
    team-iosOwned by iOS platform team
    triaged-iosTriaged by iOS platform team
    and removed
    team-infraOwned by Infrastructure team
    team-iosOwned by iOS platform team
    triaged-iosTriaged by iOS platform team
    on Jul 8, 2023
  6. flutter-triage-bot commented on Jul 8, 2023

    @flutter-triage-bot

    Issue is assigned to multiple teams (infra, ios). Please ensure the issue has only one team-* label at a time. Use fyi-* labels to have another team look at the issue without reassigning it.
    The triaged-ios label is irrelevant if there is no team-ios label or fyi-ios label.

  7. 2 remaining items

  8. godofredoc commented on Oct 24, 2023

    @godofredoc
    Contributor

    @vashworth can you please help us validate this bug is fixed?

  9. godofredoc commented on Oct 25, 2023

    @godofredoc
    Contributor

    Removing myself from this bug as only the final confirmation is needed.

  10. removed their assignment
    on Oct 25, 2023
  11. self-assigned this
    on Oct 26, 2023
  12. github-actions commented on Jan 2, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  13. locked as resolved and limited conversation to collaborators on Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-iosiOS applications specificallyplatform-macosBuilding on or for macOS specificallyteam-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions