Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not find included file 'Pods/Target Support Files/Pods-Runner #26

Closed
coooliang opened this issue Aug 11, 2019 · 8 comments
Closed
Labels
ios Related to iOS version of the app

Comments

@coooliang
Copy link

Launching lib/main.dart on iPhone Xʀ in debug mode...
Removing obsolete reference to flutter_assets from Runner.app
Warning: CocoaPods minimum required version 1.6.0 or greater not installed. Skipping pod install.
  CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
  Without CocoaPods, plugins will not work on iOS or macOS.
  For more info, see https://flutter.dev/platform-plugins
To upgrade:
  brew upgrade cocoapods
  pod setup

Running Xcode build...
Xcode build done.                                            3.1s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    error: /Users/chenliang/Downloads/flutter_catalog-master/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: /Users/chenliang/Downloads/flutter_catalog-master/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: /Users/chenliang/Downloads/flutter_catalog-master/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: /Users/chenliang/Downloads/flutter_catalog-master/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: /Users/chenliang/Downloads/flutter_catalog-master/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: /Users/chenliang/Downloads/flutter_catalog-master/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')
    note: Using new build systemnote: Planning buildnote: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone Xʀ.


@varunpant
Copy link

Maybe there is a missing dependency , go to ios dir and type pod install

@lucalves
Copy link

lucalves commented Nov 1, 2019

I believe that using pod install will solve your problem. Is pending in some dependency.

@TylerSustare
Copy link

When I tried running pod install I was met with this

[!] Unable to find a target named `Runner` in project `Runner.xcodeproj`, did find `<my project name>`.

@macliems
Copy link

macliems commented Feb 26, 2020

in your pubspec.yaml, add:

path_provider: 1.6.1

(and perhaps you have to close xcode and reopen your project to get the updated version ...)

@ronnicknachok
Copy link

I had this very similar issue in my project and its strange because last it was okay today it was not but I added the path_provider: 1.6.1 from @macliems and now I am able to launch again on iOS simulator 11 pro max.

@X-Wei X-Wei added the ios Related to iOS version of the app label Apr 11, 2020
@yohandesign
Copy link

100% works Easy step:

open iso/flutter/Debug.xcconfig:1
Remove below line #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
Note it should have this line alone #include "Generated.xcconfig"

@avinashk369
Copy link

its seems to be a PodFile conflict. i ran into same issue after searching here n there i found that deleting the PodFile and re launch the app is the solution. at least in my case it worked.
delete podfile and podfile.lock
clean the project
run again your project
Hope it helps.

@X-Wei X-Wei closed this as completed Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios Related to iOS version of the app
Projects
None yet
Development

No branches or pull requests

10 participants