palak
palak

Reputation: 401

flutter project not running in IOS

I am getting errors when trying to run the flutter app in IOS. First I tried to run a project that was made in Windows for android and it worked but when I run the same project for IOS it doesn't work and shows the error of pod files as below:

Unable to load contents of file list:
'/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Debug-output-files.xcfilelist'

Unable to load contents of file list: 
'/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Debug-input-files.xcfilelist'

Unable to load contents of file list:
 '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Debug-output-files.xcfilelist'

/Users/shikha/Desktop/vodome/ios/Runner/AppDelegate.h:1:9:
 'Flutter/Flutter.h' file not found

even if I make a new project it doesn't work in IOS and is showing different errors like above and below:

enter image description here

and the error keeps changing like this. please if anyone can help me with this, let me know. thank you

Upvotes: 1

Views: 2901

Answers (2)

Dipak Prajapati
Dipak Prajapati

Reputation: 154

trying to following command.

  1. cd ios
  2. remove Podfile.lock
  3. pod deintegrate; pod install

Upvotes: 2

Shruti Ramnandan Sharma
Shruti Ramnandan Sharma

Reputation: 4545

Navigate to your project then run command in terminal:

  1. cd ios
  2. pod install

it will update your podfile

Upvotes: 1

Related Questions