skip to Main Content

I’m currently building a flutter application, which works perfectly in Android.
While trying building it on Xcode, I got one single error

"unable to import module app_settings".

Build target is an IPad air 2020, with an M1 chip inside.

Is there any workaround?
Thank you

3

Answers


  1. Try the following steps in terminal:

    1. flutter pub get
    2. pod init
    3. pod install

    Here is the similar problem question answer @jstoe
    https://stackoverflow.com/a/66235764/16585144

    Login or Signup to reply.
  2. deleted the Pods file and did flutter run and it built the podfile correctly with flutter pub get.

    Login or Signup to reply.
  3. I think this is the problem with the M1 chip. Try to update your Mac OS and Xcode as well.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search