On Mon, Dec 26, 2011 at 11:20 AM, Ton Biegstraaten <ton.biegstraaten@gmail.com> wrote:Op 26 dec 2011, om 19:36 heeft David Pollak het volgende geschreven:Not yet :-)The following code compiles into a running iPad app (no rooting required):I did my compilation work on Snow Leopard with xcode 3.2.5. The code runs well (no crashes or anything else).Hope this helps.After installing this in xcode it needs parsecIt needs parsec >= 3, so:iphone-simulator-cabal install parsecResolving dependencies...iphone-simulator-cabal: The package requires Cabal library version -any &&>=1.8 but no suitable version is installed.iphone-simulator-cabal: Error: some packages failed to install:parsec-3.1.2 depends on text-0.11.1.12 which failed to install.text-0.11.1.12 failed during the configure step. The exception was:exit: ExitFailure 1iphone-simulator-cabal --versioncabal-install version 0.6.2using version 1.6.0.3 of the Cabal libraryI'm not sure if I can update the cabal libraryupdate gives:iphone-simulator-cabal updateDownloading the latest package list from hackage.haskell.orgNote: there is a new version of cabal-install available.To upgrade, run: cabal install cabal-installHope you can help me further?Dusting off my memory of the whole configuration fragility issue...I think I had to specify parsec 3.0.1 which was built against GHC 6.10. I don't remember the cabal syntax for specifying that exact version (perhaps someone else on the list can help with the right cabal command.)thanks,TonOn Fri, Dec 23, 2011 at 11:36 AM, Ton Biegstraaten <ton.biegstraaten@gmail.com> wrote:
Hi,
I'm new to this. I 've snow leopard highest version with xcode 3.2.6 and so target 4.3.3. My iPhone is a (jailbroken) 5.01.
I can run simple (hello world Objective C) examples on the iPhone (by `persuading' xcode to allow me :-)
Compiling haskelldraw is awfull, more than 1800 errors.
GetInBehind runs on the simulator but gives about 40 errors for the device, missing header files etc.
Reading the maillist gives some clues about versions and adjusting things, but they are to vague for me. I also read that the stuff works on xcode 3.2.5 with ios 4.2.
I downloaded this version from a torrent and I wander if it is useful to replace the current 3.2.6 with this previous version for getting the examples working.
I like haskell very much and it should be fun to use it in the phone.
I hope someone can give me some clues about downgrading or changing the current setup.
regards,
Ton
_______________________________________________
iPhone mailing list
iPhone@haskell.org
http://www.haskell.org/mailman/listinfo/iphone
--Visi.Pro, Cloud Computing for the Rest of Us http://visi.proLift, the simply functional web framework http://liftweb.net
--Visi.Pro, Cloud Computing for the Rest of Us http://visi.proLift, the simply functional web framework http://liftweb.net