I am running into some strange issue here and I am not sure it's Xcode or it's me not understanding what provisioning profiles really are and how they work.
I have multiple iOS applications and different provisioning profiles (each application has its own profile). I set up the profiles in Xcode but when I want to export the application (all of them are enterprise application), Xcode shows different profile.
Moreover, lately I worked on 2 apps, A and B. When I wanted to export application A, it showed up the profile for application B and the other way around, even though in Xcode I set up the proper profiles.
Any ideas on what I am doing wrong?