Invalid `RNReanimated.podspec` file: no implicit conversion of nil into Array. IOS when updating from reanimated 2.8.0 to 2.12.0
See original GitHub issueDescription
When update reanimated from 2.8.0
to 2.12.0
got error when installing pods, also update to reanimated 2.9.0
gives the same error:
`npx pod-install`
Scanning for pods...
1.11.3
> pod install
[!] Invalid `Podfile` file:
[!] Invalid `RNReanimated.podspec` file: no implicit conversion of nil into Array.
# from /Users/admin/Projects/test_project/node_modules/react-native-reanimated/RNReanimated.podspec:6
# -------------------------------------------
# config = find_config()
> assert_no_multiple_instances(config)
# assert_no_reanimated2_with_new_architecture(reanimated_package_json)
# -------------------------------------------
.
# from /Users/admin/Projects/test_project/ios/Podfile:8
# -------------------------------------------
# target 'MobileWebWallet' do
> config = use_native_modules!
#
# -------------------------------------------
Couldn't install Pods. Updating the Pods project and trying again...
> pod install --repo-update
[!] Invalid `Podfile` file:
[!] Invalid `RNReanimated.podspec` file: no implicit conversion of nil into Array.
# from /Users/admin/Projects/test_project/node_modules/react-native-reanimated/RNReanimated.podspec:6
# -------------------------------------------
# config = find_config()
> assert_no_multiple_instances(config)
# assert_no_reanimated2_with_new_architecture(reanimated_package_json)
# -------------------------------------------
.
# from /Users/admin/Projects/test_projectt/ios/Podfile:8
# -------------------------------------------
# target 'MobileWebWallet' do
> config = use_native_modules!
#
# -------------------------------------------
Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: Invalid `Podfile` file:
[!] Invalid `RNReanimated.podspec` file: no implicit conversion of nil into Array.
# from /Users/admin/Projects/test_project/node_modules/react-native-reanimated/RNReanimated.podspec:6
# -------------------------------------------
# config = find_config()
> assert_no_multiple_instances(config)
# assert_no_reanimated2_with_new_architecture(reanimated_package_json)
# -------------------------------------------
.
# from /Users/admin/Projects/test_project/ios/Podfile:8
# -------------------------------------------
# target 'MobileWebWallet' do
> config = use_native_modules!
#
# -------------------------------------------
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Steps to reproduce
- Got “react-native-reanimated”: “^2.8.0”,
- Update “react-native-reanimated”: “^2.12.0”,
Snack or a link to a repository
no link
Reanimated version
2.8.0
React Native version
0.69.4
Platforms
iOS
JavaScript runtime
JSC
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
Issue Analytics
- State:
- Created 10 months ago
- Reactions:2
- Comments:13 (2 by maintainers)
Top Results From Across the Web
IOS: Invalid `Podfile` file: no implicit conversion of nil into String
Any idea what mismatch do I have going on here? I'm not sure I understand the hierarchy of the relationships between node_modules/package.json ...
Read more >react-native-reanimated:buildcmakedebug - You.com | The search ...
React Native Reanimated error: Execution failed for task ... When i install react-native-reanimated in my project after try to run my app it's...
Read more >react-native-reanimated - Bountysource
Invalid `RNReanimated.podspec` file: no implicit conversion of nil into Array. IOS when updating from reanimated 2.8.0 to 2.12.0 $ 0. Created 1 month...
Read more >Trying to update custom app via API fails with 'The task failed ...
Here are the steps I tried: Uploaded a file using POST ... 'The task failed because of an error: no implicit conversion of...
Read more >no implicit conversion of nil into String. ive searched - YouTube
iOS : flutter error Invalid `Podfile` file : no implicit conversion of nil into String. ive searched through discussions but I cant seem...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It took me hours but in my case, the issue was having space in the project name. i.e ABC Project Changing that to ABCProject worked for me. I know it’s a bit weird, but this worked for me twice.
Invalid
Podfile
file: InvalidRNReanimated.podspec
file: different prefix: “” while trying to do pod installreanimated_package_json = JSON.parse(File.read(File.join(dir, “package.json”)))
assert_no_multiple_instances(config)
Currently using react-native-reanimated “^2.13.0” (latest)
Did anybody get this issue?