Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage report contains Control Character symbols #1

Open
renep opened this issue Oct 20, 2016 · 0 comments
Open

Coverage report contains Control Character symbols #1

renep opened this issue Oct 20, 2016 · 0 comments
Labels

Comments

@renep
Copy link
Contributor

renep commented Oct 20, 2016

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 = ''
    }
}

screen shot 2016-10-17 at 12 56 22 pm

Could you help?

@renep renep added the bug label Oct 20, 2016
renep added a commit that referenced this issue Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant