I want to deploy my app to iOS 11, hence I updated xCode to 9. I have a provisioning profile for distribution and the required certificate. So when archiving the app I manually select the distribution provisioning profile, but it is giving me error saying.
'Provisioning profile "XC iOS Ad Hoc: xyz" is Xcode managed, but signing settings require a manually managed profile.'
I am not able to figure out how to solve this problem. Since xCode 9 is the latest, there are not many solutions on this problem. Any help regarding this is appreciated.