title: iOS: Error When accessing Async Storage: "No such file or directory"
body: <p>I'm trying to access the async storage to get the array of podcasts. I add a podcast to the array and stringify it and try to persist it, and then I get the error:</p>
  
  <blockquote>
    <p>Error: Failed to write value.Error Domain=NSCocoaErrorDomain Code=4
    "The folder “a5a1507954e095ba66ba428410066532” doesn’t exist."
    UserInfo={NSFilePath=/Users/clundberg/Library/Developer/CoreSimulator/Devices/F4A61A1A-9998-4C72-AD02-D6969E56990F/data/Containers/Data/Application/171D43CC-4BE5-4D64-8D30-C9582898A324/Documents/RCTAsyncLocalStorage_V1/a5a1507954e095ba66ba428410066532,
    NSUserStringVariant=Folder, NSUnderlyingError=0x604002e5c080 {Error
    Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}</p>
  </blockquote>
  
  <p>Relevant code:</p>
  
  <pre><code>AsyncStorage.getItem("@podcasts")
                .then(string =&gt; {
                  console.log(string)
                  const item = JSON.parse(string);
                  const podcasts = [...(item ? item : []), p];
                  console.log(podcasts)
                  return AsyncStorage.setItem("@podcasts", JSON.stringify(podcasts));
                })
                .catch(error =&gt; console.log(error));
  </code></pre>
  
  <p>Environment:</p>
  
  <pre><code>OS: macOS High Sierra 10.13.3
  Node: 8.11.1
  Yarn: Not Found
  npm: 5.6.0
  Watchman: 4.9.0
  Xcode: Xcode 9.3 Build version 9E145
  Android Studio: Not Found
  
  Packages: (wanted =&gt; installed)
  react: 16.2.0 =&gt; 16.2.0
  react-native: 0.53.0 =&gt; 0.53.0
  </code></pre>