react-native-config: Unrecognized option `alwaysOutOfDate`
Getting the following:
[!] The `react-native-config` pod failed to validate due to 1 error:
- ERROR | script_phases: Unrecognized option(s) `alwaysOutOfDate` in script phase `Config codegen`. Available options are `name, script, shell_path, input_files, output_files, input_file_lists, output_file_lists, show_env_vars_in_log, execution_position, dependency_file`.
Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: The `react-native-config` pod failed to validate due to 1 error:
- ERROR | script_phases: Unrecognized option(s) `alwaysOutOfDate` in script phase `Config codegen`. Available options are `name, script, shell_path, input_files, output_files, input_file_lists, output_file_lists, show_env_vars_in_log, execution_position, dependency_file`.
Seems like the recent podspec update?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 18 (1 by maintainers)
This is the latest alwaysOutOfDate “react-native-config”: “^1.4.8”,
I reverted to 1.4.6
just install version “react-native-config”: “1.4.6” and pod install again. That’s should be worked.
make sure to remove the
^
before the version number in thepackage.json
:"react-native-config": "1.4.6"