Giter Club home page Giter Club logo

Comments (3)

mvanbeusekom avatar mvanbeusekom commented on August 26, 2024

@smokinguns , I have just made some tests with a brand new project. I had to make the two changes documented here flutter/flutter#16049 to my Podfile (listed in the ios folder). After doing so my project compiled correctly.

For you convenience here are the changes:

  1. In your Podfile make sure you add the line use_frameworks! (best is to add this line directly below the target Runner do like so:
target 'Runner' do
  use_frameworks!
  1. Also in your Podfile make sure you add the line config.build_settings['SWIFT_VERSION'] = '4.2' to the post_installer block. After adding this line the post_installer block should look like this:
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ENABLE_BITCODE'] = 'NO'
      config.build_settings['SWIFT_VERSION'] = '4.2'
    end
  end
end

Our hope was that this would no longer be necessary, however unfortunately it still is :(. Please let us know if you experience any further issues.

from flutter-permission-handler.

smokinguns avatar smokinguns commented on August 26, 2024

appreciate it, unfortunately this was my first attempt at flutter.
this line did fix it -> config.build_settings['SWIFT_VERSION'] = '4.2'
Thanks for your help

from flutter-permission-handler.

mvanbeusekom avatar mvanbeusekom commented on August 26, 2024

@smokinguns, great to hear this helped. Thank you for the feedback (and not to worry, we are all relatively new with Flutter) ;).

from flutter-permission-handler.

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.