Closed hanifmhd closed 3 years ago
hi @hanifmhd,
can you please attach a screenshot from xcode or piece of log where error appears? thanks
hi @hanifmhd,
can you please attach a screenshot from xcode or piece of log where error appears? thanks
Iām sorry it is solved. After i re-build xcode, the error is not showing error anymore
hi @maxkomarychev, i just got error from xcode
@hanifmhd hi, it looks like you have not injected environment. Does it show you a file if you CMD+click on "ConfigValues.h" in the 2nd line of this file? Btw, look at the 1st error - it tells me the environment was not injected.
I do not know why this error reoccurring but I can speculate you have reinstalled cocoapods or node_modules. Try to simply run yarn rnuc <env>
every time you reinstall pods or node_modules.
@hanifmhd hi, it looks like you have not injected environment. Does it show you a file if you CMD+click on "ConfigValues.h" in the 2nd line of this file? Btw, look at the 1st error - it tells me the environment was not injected.
I do not know why this error reoccurring but I can speculate you have reinstalled cocoapods or node_modules. Try to simply run
yarn rnuc <env>
every time you reinstall pods or node_modules.
i already run yarn rnuc <env>
every time i reinstall my pods/node_modules, but it still got error.
when i click CMD + click on "ConfigValues.h", it is already completed all configuration for env
thank you @maxkomarychev for the instruction, sometimes i need to run yarn rnuc <env>
more than once to inject the environment configuration. now, it's solved
Describe the bug
Error when building ios from xcode
Steps to Reproduce
in xcode click product -> build
Expected behavior
sucess building iOS
Stacktraces, logs, screenshots
Post stacktraces, logs or screenshots. The more information is available is better.
Environment
Integration option
rnuc
CLI to inject environment (default integration option from quickstart guide)react-native-ultimate-config
within monorepo managed with Lerna or Yarn Workspaces Monorepo supportEnv file
Example of env file that is causing problems
OS
Packages
react-native
: 0.62.2react-native-ultimate-config
: ^1.2.5Run
react-native info
and post below:[UPDATE]
Additional context
error screenshot