0

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

aelsheikh
  • 2,268
  • 5
  • 26
  • 41
palak
  • 381
  • 7
  • 20

2 Answers2

1

Navigate to your project then run command in terminal:

  1. cd ios
  2. pod install

it will update your podfile

Shruti Ramnandan Sharma
  • 4,027
  • 13
  • 44
  • 76
1

trying to following command.

  1. cd ios
  2. remove Podfile.lock
  3. pod deintegrate; pod install
Dipak Prajapati
  • 116
  • 1
  • 4