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

Support scanning Flutter iOS packages #9112

Open
timo-HERE opened this issue Sep 9, 2024 · 3 comments
Open

Support scanning Flutter iOS packages #9112

timo-HERE opened this issue Sep 9, 2024 · 3 comments
Labels
analyzer About the analyzer tool help wanted An issue where third-party help is wanted on new feature Issues that are considered to be new features

Comments

@timo-HERE
Copy link

What is the feature you want to request?

When scanning Flutter projects, there are all these warnings:

Cannot get iOS dependencies for package '$packageName'. Support for CocoaPods is not yet implemented. 

Describe the solution you would like

Implement the missing functionality of Pub.analyzeIosPackages() similar to Pub.scanAndroidPackages()

Alternatives you have considered

I have tried to scan the project with CocoaPods, but it does not support local Podfiles (#5175) so the results are incorrect.

Using VCS URL and revisions is nearly impossible as Podspec versions are ambiguous: tekartik/sqflite@775f070 shows how version Pod::sqflite:0.0.3 matches Pub::sqflite versions v2.3.3+1 , v2.3.3, v2.3.2, v2.3.2-2, v2.3.2-1, v2.3.1, and v2.3.0

Additional context

// TODO: Implement similar to `scanAndroidPackages` once CocoaPods is implemented.

#8343

@timo-HERE timo-HERE added new feature Issues that are considered to be new features to triage Issues that need triaging labels Sep 9, 2024
@timo-HERE timo-HERE changed the title Support scanning Flutter iOS projects Support scanning Flutter iOS packages Sep 9, 2024
@sschuberth
Copy link
Member

I have tried to scan the project with CocoaPods, but it does not support local Podfiles (#5175) so the results are incorrect.

So would it even help to have Cocoapods support in Pub if Cocopods does not support local podspecs yet?

@sschuberth sschuberth added help wanted An issue where third-party help is wanted on analyzer About the analyzer tool and removed to triage Issues that need triaging labels Sep 10, 2024
@timo-HERE
Copy link
Author

I have tried to scan the project with CocoaPods, but it does not support local Podfiles (#5175) so the results are incorrect.

So would it even help to have Cocoapods support in Pub if Cocopods does not support local podspecs yet?

I have no idea how these two missing features are linked. 🤷

@sschuberth
Copy link
Member

I have no idea how these two missing features are linked. 🤷

Well, you yourself wrote

I have tried to scan the project with CocoaPods, but it does not support local Podfiles (#5175) so the results are incorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer About the analyzer tool help wanted An issue where third-party help is wanted on new feature Issues that are considered to be new features
Projects
None yet
Development

No branches or pull requests

2 participants