I'm building an iOS app w/ Flutter and ran into this error after I updated my AppIconset.
Couple things to check in your Assets.xcassets folder:
(1) Make sure there are no duplicate assets.
(2) One of your asset files might be corrupted, try deleting and saving them to the folder again.
Hope this helps 👍🏽