I just purchased apple developer license, it is the first time for me to build a release version for iOS.
I try follow this article http://ionicframework.com/docs/v1/guide/publishing.html
Everything in Apple website is fine, until the step to run ionic cordova build ios --release
and reached error (attached at the end).
Troubleshooting actions:
I tried to open the project in xcode: go to signing -> untick "automatically manage signing" -> signing(release) -> select the team -> give "iOS Distribution" to Signing certificate -> runionic cordova build ios --release
in terminal, but still fails with the same error.
How do I fix this issue?
xxx has conflicting provisioning settings. xxx is automatically signed for development, but a
conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity
value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.3'