-
Notifications
You must be signed in to change notification settings - Fork 591
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
Failed to write key #371
Comments
I'm seeing the same thing, but here's some additional context. I was using HanekeSwift successfully in Swift 2.3, but when I updated my code to Swift 3.0.2 I started receiving the "Failed to write key" error. The error is below, with my actual key replaced with [mykey] and the simulator's NSFilePath shortened for readability:
The NSFilePath above exists on my Mac (in the Simulator tree) only up to I'm fetching JSON data with:
I'm using Carthage, with this in my Cartfile: I'll keep investigating, but hopefully this additional info will help tracking this down. |
OK, I've determined that this only happens for me after I run |
[HANEKE][ERROR] Failed to write key fēng guāng-324 with error Error Domain=NSCocoaErrorDomain Code=4 "文件“fēng guāng-324”不存在。" UserInfo={NSFilePath=/var/mobile/Containers/Data/Application/30B773AF-7416-48B0-983F-DAFACF268D3B/Library/Caches/io.haneke/shared-strings/original/fēng guāng-3*24, NSUnderlyingError=0x15f4336a0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
The text was updated successfully, but these errors were encountered: