node_modules/react-native-keychain/RNKeychainManager/RNKeychainManager.m:336:20 Unrecognized platform name visionOS
node_modules/react-native-keychain/RNKeychainManager/RNKeychainManager.m:337:35 Use of undeclared identifier 'LABiometryTypeOpticID'
To Reproduce
git checkout main && git pull
rm -rf node_modules
npm i --legacy-peer-deps
npm run prebuild:ios
Open XCode, Product > Clean Build Folder
Select device (in my case, iPhone 8 hardware device), press Play (build) button
Running latest
main
on iOS, build error in XCode:To Reproduce
git checkout main && git pull
rm -rf node_modules
npm i --legacy-peer-deps
npm run prebuild:ios
(Also, if you run into an error on the
prebuild:ios
step, you may have an old version ofcocoapods
, see https://github.com/digitalcredentials/learner-credential-wallet/wiki/Troubleshooting#error-running-npm-run-prebuildios )See also: Upstream issue https://github.com/oblador/react-native-keychain/issues/624