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

The domain/default pair of() does not exist, Problem in passing Path with spaces #152

Closed
AnkitaShrivastavaImanage opened this issue Aug 2, 2018 · 3 comments

Comments

@AnkitaShrivastavaImanage
Copy link

AnkitaShrivastavaImanage commented Aug 2, 2018

The parameters in my sonar-project.properties are

##########################
#Required configuration#
##########################

sonar.projectKey=My Mac App
sonar.projectName=My Mac App

#Path to source directories
sonar.sources=FirstName LastName/FirstName LastName

#Scheme to build your application
sonar.swift.appScheme=FirstName LastName

#Configuration to use for your scheme. if you do not specify that the default will be Debug
sonar.swift.appConfiguration=Debug

sonar.swift.appName=FirstName LastName.app

sonar.swift.plist=iFirstName LastName/FirstName LastName/info.plist

sonar.projectVersion=1.3

#Xcode project configuration (.xcodeproj)
#and use the later to specify which project(s) to include in the analysis (comma separated list)
#Specify either xcodeproj or xcodeproj + xcworkspace
sonar.swift.project=FirstName LastName/FirstName LastName.xcodeproj
sonar.swift.workspace=My mac app.xcworkspace

#Destination Simulator to run tests
sonar.swift.simulator=platform=macOS arch:x86_64

I am getting this error

The domain/default pair of (/Users/myName/Downloads/My-Mac-App/FirstName, LastName/FirstName) does not exist
-n .
-n Running surefire

So my Questions are

  1. What does The domain/default pair means, from where does it is constructing wrong path "FirstName, LastName/FirstName" instead of "FirstName LastName/FirstName LastName" how to correct it?
@AnkitaShrivastavaImanage AnkitaShrivastavaImanage changed the title The domain/default pair of() does not exist, Problem in passing Path with spaces And sonar.swift.simulator for Macosx The domain/default pair of() does not exist, Problem in passing Path with spaces Aug 2, 2018
@cpowell001
Copy link

@AnkitaShrivastavaImanage I had a similar issue. The problem is that there are spaces in your path names that are not being escaped. Wrapping those variables in quotes should solve the issue.

@gaelfoppolo
Copy link
Collaborator

#234 should fix this issue. Awaiting merge.

@gaelfoppolo
Copy link
Collaborator

#246 was merged. Awaiting release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants