In tests target -> General -> Testing: set Host Application to None
, so that no app gets launched.
But in that case I cannot use Bundle.main.resourcePath
and access resources of my main application (in which some command files are included as resources and I need to run them using Process()
).
Could anyone suggest a solution?