Reputation: 1655
I have this error in Xcode when i try to build my app in Xcode.
/Users/Desktop/Flutter/weather/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner')
Error appear after i added geolocator: "^5.0.0"
package before that i was working. Also reverted code to before geolocator: "^5.0.0"
and work so it looks like problem is with this package
Upvotes: 2
Views: 2927
Reputation: 9734
I tried everything like deleting the ios directory, derived data and uninstalled Cocoapods but no one is worked for me. At last, I tried to create one new flutter project and tried running it in Simulator but same exception only. So I just reinstalled Flutter SDK and it worked finally.
Upvotes: 0
Reputation: 31
Maybe there is a missing dependency , go to ios dir and type pod install
Upvotes: 0
Reputation: 1655
thanks but i think the problem was that cocapods were not installed in ios dir
so i made cd ios and then pod setup
Upvotes: 2
Reputation: 184
This worked for me.
Open your Xcode project workspace. The path is something similar to:
{your project}/ios/Runner.xcworkspace
From Xcode Top Options Menu:
If this didn't work, close and reopen Xcode and repeat the above
Upvotes: 0