Giter Club home page Giter Club logo

Comments (7)

kinex avatar kinex commented on July 18, 2024

Do you still have this issue?

from flutter_file_dialog.

JonasKuschel avatar JonasKuschel commented on July 18, 2024

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.

kinex avatar kinex commented on July 18, 2024

What is the error message? Is your minimum iOS version 11 or later?

from flutter_file_dialog.

JonasKuschel avatar JonasKuschel commented on July 18, 2024

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.

kinex avatar kinex commented on July 18, 2024

Ok, thanks. Please reopen if needed.

from flutter_file_dialog.

svprdga avatar svprdga commented on July 18, 2024

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.

kinex avatar kinex commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.