<div dir="ltr">Hi James,<div><br></div><div>I set my TARGET_LD variable to <font face="monospace, monospace">`xcrun --sdk iphonesimulator -f ld`</font>  (note, those are backticks, use them instead of normal quotes or double quotes) for the simulator (i386) and <font face="monospace, monospace"> `xcrun --sdk ìphoneos-f ld`</font> for armand aarch64, these works for me.</div><div><br></div><div>Kind regards,</div><div><br></div><div>Erik</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 9, 2015 at 10:08 PM, James Parker <span dir="ltr"><<a href="mailto:jp@jamesparker.me" target="_blank">jp@jamesparker.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I upgraded XCode to 7.2, however cabal-ios no longer works. When I run `cabal-ios install`, I get the following error.<br>
<br>
/usr/local/ghc-ios/i386-apple-darwin11-ld: line 8: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ld: No such file or directory<br>
/usr/local/ghc-ios/i386-apple-darwin11-ld: line 8: exec: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ld: cannot execute: No such file or directory<br>
Failed to install parsec-3.1.9<br>
<br>
It looks like the scripts are now broken since Apple moved these files. Looking at my system, these are the only ld binaries available:<br>
<br>
$ find /Applications/Xcode.app | grep \/ld$<br>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld<br>
/Applications/Xcode.app/Contents/Developer/usr/bin/ld<br>
<br>
It doesn’t look like there is a different version for each platform anymore. Does anyone know which ld to use and how to update the ghc-ios-scripts?<br>
<br>
Thanks!<br>
<br>
James<br>
_______________________________________________<br>
iPhone mailing list<br>
<a href="mailto:iPhone@haskell.org">iPhone@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/iphone" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/iphone</a><br>
</blockquote></div><br></div>