I'm developing Cordova app and using Command Line Tools like "xcodebuild" on Xcode 8 for automatic building by Jenkins.
In Xcode 8, it offers a new signing mode "Automatically manage signing".
When I built my xcodeproj by executing the below command with no manual operation on Xcode 8, I got the below error message on CLI.
xcodebuild -project "/platforms/ios/test.xcodeproj" -sdk "iphoneos10.0" -configuration "Release" -scheme test ENABLE_BITCODE="NO" install DSTROOT="/target/debug" DEVELOPMENT_TEAM="teamId" PROVISIONING_PROFILE_SPECIFIER="teamId/provisioningProfileName"
----------------
Check dependencies
TestApp has conflicting provisioning settings. TestApp is automatically signed, but provisioning profile provisioningProfileName 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 is required for product type 'Application' in SDK 'iOS 10.0'
Code signing is required for product type 'Application' in SDK 'iOS 10.0'
** INSTALL FAILED **
The following build commands failed:
Check dependencies
(1 failure)
----------------
However, in case that I opened Xcode 8 and disabled "Automatically manage signing" before executing the above command, I made it.
So I would like to know how to disable it automatically.
I assume that it relates to xcodebuild command but I don't know the option command.
How can I switch to manual signing without opening Xcode 8?
For your information, if I executed the below command, the message on CLI was same.
xcodebuild -project "/platforms/ios/test.xcodeproj" -sdk "iphoneos10.0" -configuration "Release" -scheme test ENABLE_BITCODE="NO" install DSTROOT="/target/debug" DEVELOPMENT_TEAM="teamId"