Comments (7)
Do you still have this issue?
from flutter_file_dialog.
Once I add the package in my pubspec.yaml and try using the package as suggested in the example code I can not build the iOS application anymore.
flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.3 20E232 darwin-x64, locale de-DE)
• Flutter version 2.0.5 at /Users/jonaskuschel/Developer/flutter
• Framework revision adc687823a (vor 3 Wochen), 2021-04-16 09:40:20 -0700
• Engine revision b09f014e96
• Dart version 2.12.3
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at /Users/jonaskuschel/Library/Android/sdk
• Platform android-30, build-tools 30.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5, Build version 12E262
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.55.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.22.0
[✓] Connected device (3 available)
• Jonas iPhone (mobile) • 492883deb15509712e3e8e95d2de5b38ffdfba59 • ios • iOS 14.4.2
• iPhone 12 Pro Max (mobile) • 52509AC6-4638-4FE5-93F1-D6093603ED3E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
• No issues found!
jonaskuschel@MacBook-Pro-5 NoWaiter % flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.3 20E232 darwin-x64, locale de-DE)
• Flutter version 2.0.5 at /Users/jonaskuschel/Developer/flutter
• Framework revision adc687823a (vor 3 Wochen), 2021-04-16 09:40:20 -0700
• Engine revision b09f014e96
• Dart version 2.12.3
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at /Users/jonaskuschel/Library/Android/sdk
• Platform android-30, build-tools 30.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5, Build version 12E262
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.55.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.22.0
[✓] Connected device (2 available)
• iPhone 12 Pro Max (mobile) • 52509AC6-4638-4FE5-93F1-D6093603ED3E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
from flutter_file_dialog.
What is the error message? Is your minimum iOS version 11 or later?
from flutter_file_dialog.
I didn't touch it for a couple days but I think I have switched the iOS version during that time to 11 so that might have been the issue for me. Now it is working fine. Thank you a lot.
from flutter_file_dialog.
Ok, thanks. Please reopen if needed.
from flutter_file_dialog.
Hello,
I suggest to add this information to the README.md since flutter by default creates a project with version 9 and can cause confusion to new users (I had the same error until I found this thread).
So I would add to set a minimum of version 11 in Podfile:
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
from flutter_file_dialog.
Have you read the README.md ? :) dc9ad54
It mentions iOS 11 is the minimum required version, but it doesn't tell you how to fix possible related build issues. Maybe there is a real issue in the plugin configuration after all, so I would prefer fixing it.
So as a related fix/enhancement I updated plugin's podspec to follow the latest Flutter template (when you create a new plugin project with Flutter 2.2.1): 93dd0a2
These lines were added:
s.platform = :ios, '11.0'
s.swift_version = '5.0'
Maybe that helps? Not published/tested yet.
from flutter_file_dialog.
Related Issues (20)
- SaveFileDialogParams : saving a .zip file on GoogleDrive works but file is not recognized as an archive HOT 2
- SaveFileDialogParams : OneDrive directory is not displayed HOT 6
- Wrong return path on not choosing folder HOT 1
- Missing file with building for ios
- in ios cant load csv txt xls HOT 1
- build issue in flutter master HOT 1
- Saving file does not overwrite existing unless selected HOT 4
- Extra content being saved to end of file sometimes HOT 6
- Implemented get absolute path for Android using PickiT library HOT 1
- Fatal Exception: java.lang.IllegalStateException Reply already submitted HOT 4
- File dialog now image only? HOT 1
- [bug][invalid_file_extension] Set file extension filter when picking a document.
- Android: Only download or recent available as targets for save HOT 5
- Android: path is incomplete after saveFile HOT 4
- If file already exist then the newly saved file gets renamed after file extension HOT 1
- [Bug]: MissingPluginException (MissingPluginException(No implementation found for method saveFile on channel flutter_file_dialog)) HOT 1
- Support for Windows ?
- Saving file with overwrite makes file unreadable by android OS
- DirectoryLocation custom class HOT 1
- pub.dev release HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_file_dialog.