Posts

Post not yet marked as solved
0 Replies
422 Views
I'm trying to convert some of my internal CLI tools from Xcode projects to Swift packages. When debugging, I need to be able to start the tool using a custom working directory relative to the project/package directory. I can set this in the scheme config under "Options - Working Directory - Use custom working directory". It works fine for absolute paths but I can't figure out how to get a relative path (ie. 1 level down from the package directory). Previously, I used $(PROJECT_DIR)/../ for this but for my Swift package based tools, this just ends up as / when starting the app. I also tried $(SRCROOT) but then Xcode even shows an alert The working directory "$(SRCROOT)" for scheme "PackageName" doesn't exist. Does anyone know how to achieve this?
Posted
by lemonmojo.
Last updated
.
Post not yet marked as solved
8 Replies
1.1k Views
Signed up on day one but still haven't received an offer to buy the DTK. Sign up page still says "We’ll review your application and get back to you soon." Reading about other devs on Twitter and co. who already bought the kit makes me wonder if my application went through properly.
Posted
by lemonmojo.
Last updated
.