-
-
Notifications
You must be signed in to change notification settings - Fork 6
Generating new playground not working #1
Comments
Hey @MysteryCoder456, thanks for opening up an issue on SwiftPlaygroundsCLI. It seems like the directory A simple fix is to start the Playgrounds.app on your mac so that a I've just added a fix which will create the |
Please try it again with the latest release 1.0.2 |
Thanks for the reply and fix. |
Sadly that didn't work. The Playgrounds folder is already there but the error is happening anyway. |
I've upgraded to 1.0.2 and still getting the same error. Also, running |
Yes you are correct. The version has not been properly updated when initializing SwiftCLI. If the problem still exists please try to re-install the Playgrounds.app from the Mac AppStore and ensure the following file exists:
And a documents directory is created in the iCloud container of the Playgrounds.app
|
Oh, you need the Playgrounds app? I thought this was usable without any apps, that's why I installed it in the first place XD. |
Correct you need the Playgrounds.app from the Mac AppStore 👍 |
SwiftPlaygroundsCLI Environment
What did you do?
swiftplayground new test
What did you expect to happen?
Generate a new playground
What happened instead?
Error:
Error Domain=NSCocoaErrorDomain Code=260 "The file “BlankWithModules.playgroundbook” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Applications/Playgrounds.app/Contents/Resources/Templates/BlankWithModules.playgroundbook, NSUnderlyingError=0x7fe92860f4a0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
The text was updated successfully, but these errors were encountered: