close

[Solved] Error: Could not find included file ‘Generated.xcconfig’ in search paths (in target ‘Runner’)

Hello Guys How are you all? Hope You all are fine. I Am trying to run my flutter app on Xcode, but unfortunately, I get an error as Error: Could not find included file ‘Generated.xcconfig’ in search paths (in target ‘Runner’). So today Here I come with all possible solutions for this error.

We are providing you all possible solutions to solve this error. let’s start this article without wasting your time.

How Error: Could not find included file ‘Generated.xcconfig’ in search paths (in target ‘Runner’) Occurs ?

I am Working in my Flutter Project. It runs fine on Android devices but when I try to run it on Xcode, I get an error as:

Build system information error: /Users/Downloads/flutter_wallpaper-master 2/ios/Flutter/Debug.xcconfig:1: could not find included file ‘Generated.xcconfig’ in search paths (in target ‘Runner’)

How to solve Error: Could not find included file ‘Generated.xcconfig’ in search paths (in target ‘Runner’) Occurs In Flutter ?

  1. How to solve Error: Could not find included file 'Generated.xcconfig' in search paths (in target 'Runner') Occurs In Flutter ?

    to solve Error: Could not find included file 'Generated.xcconfig' in search paths (in target 'Runner') Occurs In Flutter you need to get all packages and install pods again. cause of This Error Occurs cause you might clone your project from a platform like GitHub

  2. Error: Could not find included file 'Generated.xcconfig' in search paths (in target 'Runner') Occurs In Flutter

    to solve Error: Could not find included file 'Generated.xcconfig' in search paths (in target 'Runner') Occurs In Flutter you need to get all packages and install pods again. cause of This Error Occurs cause you might clone your project from a platform like GitHub

Solution 1

In Order to Resolve This Error Just Follow below Step.

  1. Just Run flutter build ios in your root Directory.
  2. Then Open XCode.
  3. ReRun Project In XCode.
  4. This will resolve your error.

Solution 2

Solution 1 Not Worked ? No Matter. Just Follow This Below Solution.

  1. Firstly run flutter clean in root of your project.
  2. Then run flutter build.
  3. Open Xcode and In Xcode, clean project.
  4. Then build project In Xcode.
  5. The error should have gone now.

Solution 3

This Error Occurs cause of you might cloned your project from paltform like GitHub. To resolve this error you need to get all packages and install pods again.

  1. flutter clean
  2. flutter pub get
  3. cd ios/
  4. pod install

In Some case you need to update pod files. So Follow below step to update pods file.

  1. pod repo update
  2. pod update

Summery

So it’s all About All possible solutions. Hope this above all solution helped you a lot. Comment below Your thoughts and your queries. Comment Below on your suggestion.

Check Out Below Article

Leave a Comment

%d bloggers like this: