I am trying to run my flutter project on my ios device, but I got an error in the xcode that says "Failed to package /Users/user/StudioProjects/project."
Any solutions?
I am trying to run my flutter project on my ios device, but I got an error in the xcode that says "Failed to package /Users/user/StudioProjects/project."
Any solutions?
3
Answers
I got the same error and solved it by running my ios app on Android studio first then after that, I was able to run it on Xcode. It worked for me. It is weird but I don’t know what was wrong. If this does not help, do this:
run flutter clean,
then flutter pub get,
finally pod update.
How I fixed this:
This is because some of the image is corrupt but if you delete the corrupt image it won’t solve the issue
Try:
Note if you don’t know what image is corrupt, try delete multiple of them one time
Try
Upgrade flutter to latest version it is worked for me