-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
From openbakery/gradle-xcodePlugin#303
I running coverage task with parameters (see below) and got control character symbol code 27 ('^[') in the report (screenshot attached). Sonar doesn't accept this report because XML can't contain any control symbols.
coverage {
outputFormat = 'xml'
exclude = '.h$|.Pods.*m$|.UnitTests.*m$|.ConaxSDKTests.*m$|.NetworkTests.*m$'
}
xcodetest {
scheme = 'Tests'
arch = ['x86_64']
simulator = true
destination = 'iPad Air 2'
}
xcodebuild {
scheme = 'MyApp'
target = 'MyApp'
configuration = (project.hasProperty('CONFIG') ? CONFIG : 'Release')
simulator = false
def mobileProvisionPath = (configuration == 'Debug') ?
"DefaultBrand/development.mobileprovision" :
"DefaultBrand/production.mobileprovision"
def certificatePath = (configuration == 'Debug') ?
"DefaultBrand/development.p12" :
"DefaultBrand/production.p12"
signing {
mobileProvisionURI = [file(mobileProvisionPath).toURI()]
certificateURI = file(certificatePath).toURI()
certificatePassword = ''
}
}Could you help?
