title: react native config cannot read env file in ios
body: <p>I have follow the doc: <a href="https://github.com/luggit/react-native-config#ios" rel="nofollow noreferrer">https://github.com/luggit/react-native-config#ios</a>
  until: Availability in Build settings and Info.plist
  step 6. create new build phase for the scheme which will generate <code>&quot;tmp.xcconfig&quot;</code> before each build exposing values to Build Settings and Info.plist (this snippet has to be placed after <code>&quot;echo ... &gt; tmp/envfile&quot;</code> if approach explained below is used)</p>
  <ul>
  <li>I have created schema for my app then in build -&gt; pre-actions. I click add new script and paste the following:</li>
  </ul>
  <pre><code>echo &quot;.env.staging&quot; &gt; /tmp/envfile
  &quot;${SRCROOT}/../node_modules/react-native-config/ios/ReactNativeConfig/BuildXCConfig.rb&quot; &quot;${SRCROOT}/..&quot; &quot;${SRCROOT}/tmp.xcconfig&quot;
  </code></pre>
  <ul>
  <li>then I go to info.plist and use $(MYENVVAR) to get value from .env file but it could not get any value.
  Has anyone ever faced it?
  my package json lock is <code>&quot;react-native-config&quot;: &quot;0.11.7&quot;</code></li>
  </ul>
  <p>Happy to see any comments</p>