title: can i code an Android App then build an IOS app with react-native
body: <p>I'm start learning react-native and i'm having some trouble setting-up the environment, and i have some questions regarding that:</p>
  <p>First when i write:</p>
  <pre><code>npx react-native init new_app
  </code></pre>
  <p>I get an error, that error says try:</p>
  <pre><code>cd ./new_app/ios &amp;&amp; pod install
  </code></pre>
  <p>Then I get the following error:</p>
  <pre><code>checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for arm-apple-darwin-strip... no
  checking for strip... strip
  checking for a thread-safe mkdir -p... ./install-sh -c -d
  checking for gawk... no
  checking for mawk... no
  checking for nawk... no
  checking for awk... awk
  checking whether make sets $(MAKE)... yes
  checking whether make supports nested variables... yes
  checking for arm-apple-darwin-gcc... /Library/Developer/CommandLineTools/usr/bin/cc -arch armv7 -isysroot
  checking whether the C compiler works... no
  xcrun: error: SDK &quot;iphoneos&quot; cannot be located
  xcrun: error: SDK &quot;iphoneos&quot; cannot be located
  xcrun: error: SDK &quot;iphoneos&quot; cannot be located
  xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
  /Users/macbookpro/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing: Unknown `--is-lightweight' option
  Try `/Users/macbookpro/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6/missing --help' for more information
  configure: WARNING: 'missing' script is too old or missing
  configure: error: in `/Users/macbookpro/Library/Caches/CocoaPods/Pods/Release/Flipper-Glog/0.3.6-1dfd6':
  configure: error: C compiler cannot create executables
  See `config.log' for more details
  </code></pre>
  <p>I know I need to install Xcode, but I don't want to now for some reasons,
  so is there anything i can do to make it work without Xcode installed ?</p>
  <p>Second Question, How can I initialize a react-native app just for Android first ? and if there's a way for that, when i want to build the IOS app, Will i get some troubles or just i need Xcode then build the same android code for IOS ? or should the environment be ready for IOS and Android then start working on your App ?</p>