nfjinjing/haskell-cocoa-currency-converter-example

OK, this method works. The steps performed by XCode after you hit Build:

  • A normal xcode build is performed
  • Run a custom python script that
    • delete the “main.o” object file
    • compile Main.hs with the rest of object files from XCode environment
    • replace the XCode generated binary with GHC‘s output

Reference:

Install

git clone $this

cabal install nemesis

pushd .

cd vendor/libffi
cabal install

popd

nemesis i

If everything loads, you could try the XCode project in xcodeproj

License:

BSD3