How to get the Xcode project root directory?
Example: /Users/username/MyProjects/Project/
. similar to ${SRCROOT}
I checked through FileManager
urls
and couldn't find the path.
Goal
I am running tests and would like to create a log.txt
file in the project root directory.