Unfortunately this is not working for me, it brings back the original problem that I had for which I removed the Bundle Identifier from the xcodeproject and it solved it, has to do with code signing, it was a workaround for a problem when xcode project signing is set to automatic, but in the gradle build script I must specify the provisioning profile manually (otherwise it’s not being signed with the distribution key, so I can’t upload to app store).
The specific error is:
Code Signing Error: [***] has conflicting provisioning settings. [***] is automatically signed, but provisioning profile [***] has been manually specified. Set the provisioning profile value to “Automatic” in the build settings editor, or switch to manual signing in the project editor.
Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 11.1’