In my case, I faced this error:xxxxxx.framework Building for iOS Simulator, but the linked and embedded framework was built for iOS.In this case, I used a framework which doesn't contain binary for x86_64 (for simulator). I can build without that error if I choose real device as target.In addition, I think Flutter team also faced the similar problemhttps://flutter.dev/docs/development/ios-project-migration