From jp at jamesparker.me Wed Dec 9 21:08:09 2015 From: jp at jamesparker.me (James Parker) Date: Wed, 9 Dec 2015 16:08:09 -0500 Subject: [Haskell-iPhone] Upgrade scripts to XCode 7.2 Message-ID: <4D60D23C-B89F-4539-828F-C5DC6B9C9A62@jamesparker.me> 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 From erik.deijl at gmail.com Wed Dec 9 22:22:42 2015 From: erik.deijl at gmail.com (Erik Deijl) Date: Wed, 9 Dec 2015 23:22:42 +0100 Subject: [Haskell-iPhone] Upgrade scripts to XCode 7.2 In-Reply-To: <4D60D23C-B89F-4539-828F-C5DC6B9C9A62@jamesparker.me> References: <4D60D23C-B89F-4539-828F-C5DC6B9C9A62@jamesparker.me> Message-ID: 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 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 > http://mail.haskell.org/cgi-bin/mailman/listinfo/iphone > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jp at jamesparker.me Mon Dec 21 21:53:33 2015 From: jp at jamesparker.me (James Parker) Date: Mon, 21 Dec 2015 16:53:33 -0500 Subject: [Haskell-iPhone] Upgrade scripts to XCode 7.2 In-Reply-To: References: <4D60D23C-B89F-4539-828F-C5DC6B9C9A62@jamesparker.me> Message-ID: <44244EFD-9C64-4FB1-8838-5E220C184BAC@jamesparker.me> 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 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 > 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 > http://mail.haskell.org/cgi-bin/mailman/listinfo/iphone > -------------- next part -------------- An HTML attachment was scrubbed... URL: