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).
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.
ionic cordova build ios --release still fails with the same error.
Note. I have just purchased the developer license. It is the first time to use it, there might be somewhere I misconfigured?
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'