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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSCocoaErrorDomain: file couldn't be saved in the folder #1

Open
thekswenson opened this issue Aug 11, 2017 · 2 comments
Open

NSCocoaErrorDomain: file couldn't be saved in the folder #1

thekswenson opened this issue Aug 11, 2017 · 2 comments

Comments

@thekswenson
Copy link

When running genicon I get the following error:

=> genicon --mac graphlarge.png iconout
Failed to create icon folder.
Error: Error Domain=NSCocoaErrorDomain Code=512 "The file “graphlarge.png” couldn’t be saved in the folder “images”." UserInfo={NSFilePath=/Users/theuser/alpha/lib/images/graphlarge.png, NSUnderlyingError=0x7fecd940fb40 {Error Domain=NSPOSIXErrorDomain Code=20 "Not a directory"}}
Failed to write Contents.json file.Error: Error Domain=NSCocoaErrorDomain Code=512 "The file “Contents.json” couldn’t be saved in the folder “AppIcon.appiconset”." UserInfo={NSFilePath=/Users/theuser/alpha/lib/images/graphlarge.png/AppIcon.appiconset/Contents.json, NSUnderlyingError=0x7fecd96036b0 {Error Domain=NSPOSIXErrorDomain Code=20 "Not a directory"}}
2017-08-11 21:50:48.948 genicon[34649:197275] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'working directory doesn't exist.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff9630d4f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff97a81f7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff963744bd +[NSException raise:format:] + 205
3 Foundation 0x00007fff985e710b -[NSConcreteTask launchWithDictionary:] + 620
4 genicon 0x000000010514576d TF7genicon12produceImageFT10sizeStringSS5inputSS6outputSS_T + 589
5 genicon 0x0000000105144f7e main + 8078
6 libdyld.dylib 0x00007fff99fa35ad start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

@cbm64chris
Copy link

+1 same problem!

@endless7
Copy link

metoo

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

3 participants