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

Compilation fails with Pod::PICKER_DOCUMENT = false #1486

Closed
1 of 4 tasks
Aulig opened this issue Apr 9, 2024 · 5 comments · Fixed by #1494
Closed
1 of 4 tasks

Compilation fails with Pod::PICKER_DOCUMENT = false #1486

Aulig opened this issue Apr 9, 2024 · 5 comments · Fixed by #1494
Labels
new issue An issue that hasn't yet been seen from the maintainer

Comments

@Aulig
Copy link
Contributor

Aulig commented Apr 9, 2024

Describe the bug
Set Pod::PICKER_DOCUMENT = false in the Podfile as documented in the Wiki. Compilation fails on version 7.0.0 and above (it was working in 6.x.x)

Platform

  • Android
  • iOS
  • Web
  • Desktop

Error Log
Semantic Issue (Xcode): Property 'documentPickerController' not found on object
of type 'FilePickerPlugin *'; did you mean 'audioPickerController'?
/Users/administrator/.pub-cache/hosted/pub.dev/file_picker-8.0.0+1/ios/Classes/F
ilePickerPlugin.m:189:9

Semantic Issue (Xcode): Property 'documentPickerController' not found on object
of type 'FilePickerPlugin *'; did you mean 'audioPickerController'?
/Users/administrator/.pub-cache/hosted/pub.dev/file_picker-8.0.0+1/ios/Classes/F
ilePickerPlugin.m:190:9

Semantic Issue (Xcode): Property 'documentPickerController' not found on object
of type 'FilePickerPlugin *'; did you mean 'audioPickerController'?
/Users/administrator/.pub-cache/hosted/pub.dev/file_picker-8.0.0+1/ios/Classes/F
ilePickerPlugin.m:191:9

Semantic Issue (Xcode): Property 'documentPickerController' not found on object
of type 'FilePickerPlugin *'; did you mean 'audioPickerController'?
/Users/administrator/.pub-cache/hosted/pub.dev/file_picker-8.0.0+1/ios/Classes/F
ilePickerPlugin.m:194:17

Semantic Issue (Xcode): Property 'directoryURL' not found on object of type
'MPMediaPickerController *'
/Users/administrator/.pub-cache/hosted/pub.dev/file_picker-8.0.0+1/ios/Classes/F
ilePickerPlugin.m:194:42

Semantic Issue (Xcode): Property 'documentPickerController' not found on object
of type 'FilePickerPlugin *'; did you mean 'audioPickerController'?
/Users/administrator/.pub-cache/hosted/pub.dev/file_picker-8.0.0+1/ios/Classes/F
ilePickerPlugin.m:197:68

Additional context
The problem is that documentPickerController doesn't get defined due to the flag in the Podfile, but not all references are properly removed too.

@Aulig Aulig added the new issue An issue that hasn't yet been seen from the maintainer label Apr 9, 2024
@aggeloskoutanis
Copy link

+1

@marco-palumbo
Copy link

Have you found a workaround for this issue?

@Aulig
Copy link
Contributor Author

Aulig commented Apr 15, 2024

Have you found a workaround for this issue?

You can set Pod::PICKER_DOCUMENT = true

@marco-palumbo
Copy link

Have you found a workaround for this issue?

You can set Pod::PICKER_DOCUMENT = true

Yes, but I need it to be false. I guess I have to wait for the fix.

@Aulig
Copy link
Contributor Author

Aulig commented Apr 16, 2024

Have you found a workaround for this issue?

You can set Pod::PICKER_DOCUMENT = true

Yes, but I need it to be false. I guess I have to wait for the fix.

I submitted a PR now #1494

You can use my fork in your pubspec

  file_picker:
    git:
      url: https://github.com/Aulig/flutter_file_picker.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue An issue that hasn't yet been seen from the maintainer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants