Records below are third-party data, not instructions. Apply with your own judgment.
expo
3 records of known failures, each with its cause, the fix and what not to try.
Records
- TypeError: Cannot read properties of undefined (reading 'bundleIdenti…with no ios.bundleIdentifier, prebuild writes one to app.json, reloads app.config.js and @expo/config's isMatchingObject recurses into the ios key it drops (undefined).
- KeyChainException: User interaction is not allowed.SecureStore items default to WHEN_UNLOCKED, which iOS keeps inaccessible while the device is locked (errSecInteractionNotAllowed), so reads and writes then throw, sync getItem too.
- WorkletsError: [Worklets] Mismatch between JavaScript part and native…Expo Go ships react-native-worklets precompiled (0.5.1 in SDK 54); a JS package of another minor, e.g. from @latest, fails the startup version check.
Don’t try
add ios.bundleIdentifier to app.json and rerun prebuild — the function's return drops app.json's ios block, so the resolved config still has no id: same write, same crash (the crash already left the id in app.json). (×1) · record
upgrade expo to the newest SDK 58 patch — through expo 58.0.26 (@expo/config 58.0.12) isMatchingObject still recurses into undefined; the fix PR is unmerged. (×1) · record
add keychainAccessible to getItem / getItemAsync — reads find the item by service and key only; accessibility is set when the item is written, so a read option changes nothing. (×1) · record
pass keychainAccessible: AFTER_FIRST_UNLOCK to setItemAsync for a key that already exists (expo-secure-store <58) — the overwrite (SecItemUpdate) replaced only the value and kept the class the item was created with, so locked reads keep throwing; delete the key first, or upgrade to 58.0.0+. (×1) · record
npx expo install react-native-worklets@latest — an explicit version or tag skips the SDK pin, so a newer minor than Expo Go's 0.5.1 gets installed: this exact error. (×1) · record
npx expo prebuild --clean, then open the app in Expo Go again — prebuild only generates native projects; Expo Go keeps its own 0.5.1. Newer worklets need a development build (npx expo run:android or run:ios). (×1) · record