Open chen834921478 opened 1 month ago
Hi, @chen834921478!
detail more about the problem and if possible provide a minimal example of reproducing the problem
Also encountering this. Unsure of STR, I think it just started happening once I upgraded to the latest version. Can't write, fetch, or clear items.
Exact same issue here. But with version async storage@1.18.1 – has anyone repro'd?
If you or anyone else is still having this issue and can share a minimal reproduction of it, I would be happy to try to help.
Any update on this?, after updated to react-native: 0.76.1
& react-native-async-storage: 2.0.0
(NOBRIDGE) ERROR Error storing data [Error: Failed to write manifest file.Error Domain=NSCocoaErrorDomain Code=4 "The folder “manifest.json” doesn’t exist." UserInfo={NSUnderlyingError=0x301950360 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}, NSUserStringVariant=Folder, NSURL=file:///private/var/mobile/Containers/Data/Application/D99F0782-0F91-4DC3-8C8A-F93AC816A7EA/Library/Application%20Support/gt.school.app/RCTAsyncLocalStorage_V1/manifest.json}]
Same issue with expo 51
Hey, here is a temporary fix I found to the issue.
npm install patch-package
"postinstall": "patch-package"
patches
xcode+3.0.1.patch
diff --git a/node_modules/xcode/lib/pbxProject.js b/node_modules/xcode/lib/pbxProject.js
index 068548a..b478056 100644
--- a/node_modules/xcode/lib/pbxProject.js
+++ b/node_modules/xcode/lib/pbxProject.js
@@ -1678,8 +1678,7 @@ function correctForFrameworksPath(file, project) {
function correctForPath(file, project, group) {
var r_group_dir = new RegExp('^' + group + '[\\\\/]');
-
- if (project.pbxGroupByName(group).path)
+ if (project.pbxGroupByName(group)&&project.pbxGroupByName(group).path)
file.path = file.path.replace(r_group_dir, '');
return file;
What happened?
[Error: Failed to write manifest file.Error Domain=NSCocoaErrorDomain Code=4 "The folder “manifest.json” doesn’t exist." UserInfo={NSFilePath=/Users/xxx/Library/Developer/CoreSimulator/Devices/ABA7A135-7070-41CE-8A0B-80192332E934/data/Containers/Data/Application/13CD016E-0375-465C-9F4F-C6C3257A66D1/Library/Application Support/xxx/RCTAsyncLocalStorage_V1/manifest.json, NSUserStringVariant=Folder, NSUnderlyingError=0x600000da02d0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}, NSURL=file:///Users/xxx/Library/Developer/CoreSimulator/Devices/ABA7A135-7070-41CE-8A0B-80192332E934/data/Containers/Data/Application/13CD016E-0375-465C-9F4F-C6C3257A66D1/Library/Application%20Support/xxxx/RCTAsyncLocalStorage_V1/manifest.json}]
Version
1.23.1
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
After performing multiple AsyncStorage.remove operations and then restarting the app: