I am having a problem compiling the HaskellSprite kit in Xcode 9.1 with GHC v. 8.2.2.
The error is placed below:
Showing Recent Messages
[ 8 of 14] Compiling Graphics.SpriteKit.Types ( Graphics/SpriteKit/Types.hs, /Users/braedenfoster/Library/Developer/Xcode/DerivedData/HaskellSpriteKit-ckqakbbckyvankhijtgdgqnstbxs/Build/Intermediates.noindex/SwiftMigration/HaskellSpriteKit/Intermediates.noindex/HaskellSpriteKit.build/Debug/HaskellSpriteKit.build/spritekit/build/Graphics/SpriteKit/Types.o )
Graphics/SpriteKit/Types.hs:395:19: error:
Not in scope: type constructor or class ‘GHC.Any’
Module ‘GHC.Prim’ does not export ‘Any’.
|
395 | newtype Any = Any GHC.Any
| ^^^^^^^
cabal: Leaving directory 'HaskellSpriteKit/spritekit'
cabal: Error: some packages failed to install:
spritekit-0.9.0.2-CQBFv3qNfz48eVFPtHanfT failed during the building phase. The
exception was:
ExitFailure 1
cabal install failed
I am having a problem compiling the HaskellSprite kit in Xcode 9.1 with GHC v. 8.2.2. The error is placed below: