<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 31, 2013 at 6:24 AM, Ben Hiller <span dir="ltr"><<a href="mailto:benhiller@gmail.com" target="_blank">benhiller@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Versions of XCode above 4.6 use the SDKROOT shell variable to determine<br>
what SDK use for building (it is documented here:<br>
<a href="http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html" target="_blank">http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html</a>).<br>

Unfortunately, several VLC build scripts were overriding SDKROOT, which<br>
caused xcode commands to fail. This works around that issue by renaming<br>
the SDKROOT variable that VLC build scripts use to SDKROOTDIR. Running<br>
./extras/package/ios/build.sh succeeds for me after this change.<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>Hi,<br></div><div>won't that break compilation with earlier Xcode versions?<br>
Not sure for 2.1, but VLC 2 minimum Xcode version is 3.2.x.<br><br></div><div>Sources:<br><a href="http://wiki.videolan.org/OSXCompile/">http://wiki.videolan.org/OSXCompile/</a><br><a href="https://trac.videolan.org/vlc/ticket/6305">https://trac.videolan.org/vlc/ticket/6305</a><br>
</div></div><br></div><div class="gmail_extra">Cheers,<br>Vittorio<br></div></div>