Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

How to open the xcode project again? #3

Closed
onmyway133 opened this issue Mar 14, 2017 · 2 comments
Closed

How to open the xcode project again? #3

onmyway133 opened this issue Mar 14, 2017 · 2 comments

Comments

@onmyway133
Copy link

Hi John, nice library 👍 . I'm starting to use Marathon, when running marathon create helloWorld "import Foundation; print(\"Hello world\")" it opens the source file in Xcode, which is handy. But after that, in Finder I only see helloWorld.swift, how can I open it it Xcode again?

Also, it seems the scheme is duplicated

marathon

@JohnSundell
Copy link
Owner

Happy you like Marathon @onmyway133! 😄 Marathon copies your script into its own directory (~/.marathon), and uses the Swift Package Manager to create an Xcode project for your script there. This is to avoid having to clutter your folders with files like Xcode projects and dependency checkouts.

To edit the script using Xcode again, simply call marathon edit <path-to-script>.

Marathon doesn't actually generate the Xcode projects, the Swift Package Manager does, but I don't think the schemas are duplicated - there's an Xcode bug that makes them both appear like command line tools, but one of them is actually a Swift framework.

@onmyway133
Copy link
Author

@JohnSundell I think that answers my question. marathon edit to the rescue

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

No branches or pull requests

2 participants