[Haskell-iPhone] Upgrade scripts to XCode 7.2
James Parker
jp at jamesparker.me
Mon Dec 21 21:53:33 UTC 2015
Hi Erik,
I forgot to follow up, but I just wanted to say this approach worked.
Thanks!
James
> On Dec 9, 2015, at 5:22 PM, Erik Deijl <erik.deijl at gmail.com> wrote:
>
> Hi James,
>
> I set my TARGET_LD variable to `xcrun --sdk iphonesimulator -f ld` (note, those are backticks, use them instead of normal quotes or double quotes) for the simulator (i386) and `xcrun --sdk ìphoneos-f ld` for armand aarch64, these works for me.
>
> Kind regards,
>
> Erik
>
> On Wed, Dec 9, 2015 at 10:08 PM, James Parker <jp at jamesparker.me <mailto:jp at jamesparker.me>> wrote:
> Hi,
>
> I upgraded XCode to 7.2, however cabal-ios no longer works. When I run `cabal-ios install`, I get the following error.
>
> /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
> /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
> Failed to install parsec-3.1.9
>
> It looks like the scripts are now broken since Apple moved these files. Looking at my system, these are the only ld binaries available:
>
> $ find /Applications/Xcode.app | grep \/ld$
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
> /Applications/Xcode.app/Contents/Developer/usr/bin/ld
>
> 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?
>
> Thanks!
>
> James
> _______________________________________________
> iPhone mailing list
> iPhone at haskell.org <mailto:iPhone at haskell.org>
> http://mail.haskell.org/cgi-bin/mailman/listinfo/iphone <http://mail.haskell.org/cgi-bin/mailman/listinfo/iphone>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/iphone/attachments/20151221/5b04849e/attachment.html>
More information about the iPhone
mailing list