DEV Community

Kaan Cayoglu
Kaan Cayoglu

Posted on

Swift 6 /React Native Concurrency Warning in Expo Linking

Hello,

when I am trying to compile my react-native project within Xcode, I am getting following error message

/Users/medeiros/Desktop/My-IOS-App/Delgado-react-native/delgado-react/node_modules/expo-linking/ios/ExpoLinkingRegistry.swift:4:14 Static property 'shared' is not concurrency-safe because non-'Sendable' type 'ExpoLinkingRegistry' may have shared mutable state

My "package.json" file looks like this

{
"name": "looking4u",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"@expo/config": "^10.0.11",
"@expo/metro-config": "^0.19.12",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/datetimepicker": "8.2.0",
"@react-native-community/slider": "4.5.5",
"@react-native-firebase/app": "^21.14.0",
"@react-native-firebase/auth": "^21.14.0",
"@react-native-firebase/firestore": "^21.14.0",
"@react-native-firebase/storage": "^21.14.0",
"@react-native-google-signin/google-signin": "^14.0.1",
"@react-native-picker/picker": "2.9.0",
"@react-navigation/native": "^7.0.15",
"@react-navigation/stack": "^7.1.2",
"algoliasearch": "^3.35.1",
"axios": "^1.8.4",
"date-fns": "^4.1.0",
"expo": "~52.0.38",
"expo-auth-session": "~6.0.3",
"expo-av": "~15.0.2",
"expo-blur": "~14.0.3",
"expo-build-properties": "~0.13.3",
"expo-image-picker": "~16.0.6",
"expo-location": "~18.0.8",
"expo-permissions": "^14.4.0",
"expo-status-bar": "~2.0.1",
"expo-video-thumbnails": "~9.0.3",
"expo-web-browser": "~14.0.2",
"firebase": "^11.6.0",
"hermes-engine": "^0.11.0",
"lodash": "^4.17.21",
"lodash.debounce": "^4.0.8",
"metro": "^0.81.3",
"metro-runtime": "^0.81.3",
"moment": "^2.30.1",
"onesignal-expo-plugin": "^2.0.3",
"react": "^18.2.0",
"react-dom": "^18.3.1",
"react-instantsearch": "^7.15.5",
"react-native": "^0.76.7",
"react-native-date-picker": "^5.0.12",
"react-native-fast-image": "^8.6.3",
"react-native-geocoding": "^0.5.0",
"react-native-geolocation-service": "^5.3.1",
"react-native-gesture-handler": "~2.20.2",
"react-native-image-picker": "^8.2.0",
"react-native-image-resizer": "^1.4.5",
"react-native-modal": "^14.0.0-rc.1",
"react-native-nitro-modules": "^0.25.2",
"react-native-onesignal": "^5.2.9",
"react-native-reanimated": "~3.16.1",
"react-native-safe-area-context": "4.12.0",
"react-native-screens": "~4.4.0",
"react-native-svg": "15.8.0",
"react-native-vector-icons": "^10.2.0",
"react-native-video": "^6.14.1",
"react-native-video-frame-seekbar": "^0.0.2",
"react-native-video-trim": "^4.1.0",
"react-native-video-trimmer-ui": "^0.3.6",
"expo-dev-client": "~5.0.20"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@react-native-community/cli": "^17.0.0",
"react-native-codegen": "^0.70.7",
"react-native-svg-transformer": "^1.5.0"
},
"private": true
}

Is there a compability issue?

Top comments (0)