I have built my app using flutter and completed testing. I use automatic signing in Xcode and it creates a development provisioning profile.
I am aware I need a distribution provisioning profile to publish in app store so in Xcode again i am able to automatically create this under Preferences-Accounts-Manage Certificates.
Now I have two provisioning certificate under my account one created automatically and the other I have created for distribution.
I am using transporter to submit to the to the App store. However this fails with Error Itmd-90161 Invalid provisioning profile.
I tried to delete the development profile but xcode keeps recreating it automatically. I have also looked through those with similar issues such as this and this but not able to get a clear solution to this problem now for days.
Help is much appreciated. Thank you
