I have been working on a flutter app for the past 2 years and I never (barely) updated the packages unless it was forced. Recently App Store has stopped supporting many libraries because it lacked privacy.plist file so it kinda forced me to upgrade my flutter to the latest (3.29.0). This also forced me to update many packages from pub.dev.
Ever since I updated my flutter and pubs, I have not been able to archive my build to app store. I can successfully run the app on simulator.
Here is the error I am getting. If anyone can help me out with this it would be greatly appreciated.
P.S I have no problems running and building android app
Error:
[ +394 ms] Error (Xcode): Assertion failed: (reconstituted == (accumulator - _options.machHeaderVmAddr())), function setFixup64, file OutputFile.cpp, line 3001.
[ +1 ms] Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Encountered error while archiving for device.
[ +1 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:34:3)