Closed JulianZhang closed 6 years ago
Hmm, I don't think it's possible to set an LTS when using cabal new-build
? If there is, that would be neat :)
Alternatively, I should really have frozen the packages to specific versions, and also I forgot to remove the freer
package, which is not needed at all in the Hello World example. To quickly move on, just remove this line https://github.com/Tehnix/MobileHaskellFun/blob/6842d3845d923eaf2907886c7776f25c76347a62/hs-src/MobileFun.cabal#L16.
I'll look into the package problem in the meantime (have to build it all from scratch on my work laptop...).
I've updated the .cabal file, added the blog post quick install instructions to the README, and also commented out the libffi install in the setup-tools.sh.
If you pull down the changes, the ./call make iOS
should work now (only needed the cabal change for that one) :)
I'll close this, but we can reopen if there are other issues, of if you have any suggestions as to how we can get an LTS or something like that to work nicely with this.
Dear
I'm following your blog try to run the app. But failed when make iOS
Can we set a lts version for this project.