Closed bushimichi closed 6 years ago
xcodebuild -sdk iphoneos \ -workspace ${XCWORKSPACE_NAME} -scheme ${SCHEME_NAME} \ -configuration Release archive \ -archivePath ${ARCHIVE_PATH} \ SYMROOT=${BUILD_NUMBER_PATH} \ CODE_SIGN_IDENTITY="${CODE_SIGN_ID}" \ PROVISIONING_PROFILE="${PROVISIONING_ID}"
xcodebuild -exportArchive \ -archivePath "${ARCHIVE_PATH}" \ -exportPath "${BUILD_NUMBER_PATH}" \ -exportOptionsPlist "${PLIST_FILE_PATH}"
it is fixed
You need change xcrun to xcodebuild. xcrun -> xcodebuild -exportArchive
https://github.com/cocos2d/cocos2d-console/blob/v3/plugins/plugin_compile/project_compile.py
line 826