package iOS, with script on the Jenkins CI of intranet cannot connect to the extranet , so specify CODE SIGN and PROVISIONING PROFILE
Manual .
xcodebuild archive \
-project ${projectName}.xcodeproj \
-scheme ${projectName} \
-configuration ${configuration} \
-archivePath ../${projectName}.xcarchive \
-sdk iphoneos \
DEVELOPMENT_TEAM=${developmentTeam} \
CODE_SIGN_IDENTITY="iPhone Distribution: xxx" \
PROVISIONING_PROFILE_SPECIFIER="xxx"
there is a dependent sub-project QBImagePicker introduced as framework , which is automatically signed by default and belongs to package under node_modules , so the project settings cannot be changed.
CI reports an error QBImagePicker conflicts with the signature of the main project
=== BUILD TARGET QBImagePicker OF PROJECT QBImagePicker WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Code Signing Error: QBImagePicker has conflicting provisioning settings.
QBImagePicker is automatically signed, but code signing identity iPhone Distribution: xxxx. 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.
** ARCHIVE FAILED **
subproject QBImagePicker need code sign ? How to solve this problem?
