Giter Site home page Giter Site logo

Comments (3)

mogol avatar mogol commented on August 11, 2024 4

Hi @BeStillAsBright
Looks like you need to trigger pod install within flutter build command, try

  • manually invoke pod install in ios/ folder
  • add a package with native plugins (e.g. FirebaseAuth), run the app and then delete the package
  • remove flutter_secure_storage, run the app and add flutter_secure_storage again

from flutter_secure_storage.

maddie-boby avatar maddie-boby commented on August 11, 2024

I tried following the above steps, but it gave a similar error for firebase_auth relating to a missing header. However, I was able to solve my problem by simply starting a new project and depending on/pub get-ing flutter_secure_storage before adding the mbedTLS pod. Since this is a new project, it wasn't a huge issue to do that, but I am wondering what else I could have done if it weren't... is it possible that deleting the custom Podfile, running pub get and then adding the pod 'mbedTLS' line to the (hopefully now autogenerated) Podfile would work?

from flutter_secure_storage.

mogol avatar mogol commented on August 11, 2024

It sounds like a problem of flutter tooling somehow( like this issue flutter/flutter#26890) .

In the worst case, you can always create a new project and replace existing ios folder with newly generated one (not to forget move any custom changes in iOS project), so it shouldn't be a problem (but annoying for sure)

from flutter_secure_storage.

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.