<p dir="auto">with xcode-select pointed to Xcode 8:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ xcode-select -p
/Applications/Xcode.app/Contents/Developer"><pre class="notranslate"><code class="notranslate">$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
</code></pre></div>
<p dir="auto">I get the following compile error with build_all_ios.sh on Sierra:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="checking whether we are cross compiling... configure: error: in `/Users/serkan/tensorflow/tensorflow/contrib/makefile/downloads/protobuf':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details"><pre class="notranslate"><code class="notranslate">checking whether we are cross compiling... configure: error: in `/Users/serkan/tensorflow/tensorflow/contrib/makefile/downloads/protobuf':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
</code></pre></div>
<p dir="auto">Not sure if this is related to Xcode 8 or to code signing on Sierra</p>
<p dir="auto">When running <code class="notranslate">compile_ios_protobuf.sh</code>, it says:<br>
checking whether we are cross compiling... configure: error: in '.../tensorflow/tensorflow/contrib/makefile/downloads/protobuf':<br>
configure: error: cannot run C compiled programs.<br>
If you meant to cross compile, use <code class="notranslate">--host'. See</code>config.log' for more details</p>