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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Contents.swift #5

Open
augustorsouza opened this issue Mar 28, 2018 · 2 comments
Open

Missing Contents.swift #5

augustorsouza opened this issue Mar 28, 2018 · 2 comments

Comments

@augustorsouza
Copy link

When running playnow that I installed from homebrew cask I get an error alert telling me: "Playground file is missing a "Contents.swift" file."

Screenshot attached.

I can try to fix this but I will need some guidance 馃啒

@augustorsouza
Copy link
Author

augustorsouza commented Mar 28, 2018

This is an issue related to the homebrew cask installation, the ruby script in this installation is old as you can see in the following lines:

section_1_swift = "import #{platform == "macosx" ? "Foundation" : "UIKit"}\n\n"
File.open(path+"section-1.swift", 'w') {|f| f.write(section_1_swift) }

@augustorsouza
Copy link
Author

I checked the homebrew formula and the version there is 0.4 which is the latest. Are you able to please update this? I think we need another release and a pull request into homebrew formula.

Thanks

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

No branches or pull requests

1 participant