Closed c100k closed 6 months ago
same here
Please don't comment "Same", it doesn't bring anything to the issue. Add more information on your setup or simply upvote the original post.
I was using "react-native-keychain:^8.1.2"
and after pod installation I got this error:
Invalid
RNKeychain.podspecfile: undefined method
visionos' for #<Pod::Specification name="RNKeychain`
When I check my npm list I saw my react-native-keychain version is "8.2.0". Then I change to "react-native-keychain:~8.1.2" and pod install worked without any problem.
Im using react-native: 72.4
I was using
"react-native-keychain:^8.1.2"
and after pod installation I got this error:
Invalid
RNKeychain.podspecfile: undefined method
visionos' for #<Pod::Specification name="RNKeychain`When I check my npm list I saw my react-native-keychain version is "8.2.0". Then I change to "react-native-keychain:~8.1.2" and pod install worked without any problem.
Im using react-native: 72.4
Hi. I have had the same. Please go to node_modules/react-native-keychain/RNKeychain.Podspec and comment the line which starts first/includes with "visionos", it will help your project runable before the maintainer can fix the issue.
Note that if you don't need the changes introduced in 8.2.0
, it's safer to downgrade and fix the dependency to 8.1.3
(not ^8.1.2
).
You don't know the side effects that you can introduce by commenting a line of code in a config file of a dependency.
Hello, I changed the Keychain version to 8.1.3 and was successful in executing the action and compiling the project.
Packages:
Any updates?
PR with the fix is under review: https://github.com/oblador/react-native-keychain/pull/631
The last update seems to have created breaking changes. When bumping from
8.1.3
to8.2.0
and building, Xcode is not able to make it work.I'm getting the following errors:
Unrecognized platform name visionOS
Use of undeclared identifier 'LABiometryTypeOpticID'
Config
14.2
0.73.5