No visible @interface for ‘RCTAsyncLocalStorage’ declares the selector ‘initWithStorageDirectory:’

I get the following error when I build my project after detaching.

If I use the Expo branch of React-native it builds but I thought we did don’t have to use that any more?

…/ios/Pods/ExpoKit/ios/Exponent/Versioned/EXVersionManager.m:296:67: no visible @interface for ‘RCTAsyncLocalStorage’ declares the selector ‘initWithStorageDirectory:’

1 Like

same,

{
 "name": "cp000",
 "version": "0.1.0",
 "private": true,
 "devDependencies": {
   "jest-expo": "23.0.0",
   "react-native-scripts": "1.8.1",
   "react-test-renderer": "16.0.0"
 },
 "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
 "scripts": {
   "start": "react-native-scripts start",
   "eject": "react-native-scripts eject",
   "android": "react-native-scripts android",
   "ios": "react-native-scripts ios",
   "test": "node node_modules/jest/bin/jest.js --watch"
 },
 "jest": {
   "preset": "jest-expo"
 },
 "dependencies": {
   "@expo/vector-icons": "^6.2.1",
   "expo": "^23.0.4",
   "react": "16.0.0",
   "react-native": "0.50.3",
   "react-native-animatable": "^1.2.4",
   "react-native-elements": "^0.18.4",
   "react-native-pathjs-charts": "^0.0.33",
   "react-native-progress": "^3.4.0",
   "react-native-svg": "^6.0.1-rc.1"
 }
}

You’ll need to use the expo version of react-native

after i read this :slight_smile:Expo SDK v23.0.0 is now available | by Brent Vatne | Exposition

I change like this:

{
  "name": "cp000",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "jest-expo": "23.0.0",
    "react-native-scripts": "1.8.1",
    "react-test-renderer": "16.0.0"
  },
  "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
  "scripts": {
    "start": "react-native-scripts start",
    "eject": "react-native-scripts eject",
    "android": "react-native-scripts android",
    "ios": "react-native-scripts ios",
    "test": "node node_modules/jest/bin/jest.js --watch"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/vector-icons": "^6.2.1",
    "expo": "^23.0.0",
    "react": "16.0.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-23.0.0.tar.gz",
    "react-native-animatable": "^1.2.4",
    "react-native-elements": "^0.18.4",
    "react-native-pathjs-charts": "^0.0.33",
    "react-native-progress": "^3.4.0",
    "react-native-svg": "^6.0.1-rc.1"
  }
}

ExpoKit version :tag => “ios/2.1.4”,

Now it works fine

Doesnt work for me, any help on this issues?

Hi dogtimecommunity - sorry to hear you’re still have trouble with this. As a starting point, could you post the contents of your app.json here?