Closed minuJeong closed 10 years ago
after changing these,
147: UInt32(self.frame.size.height / 4 ) -> UInt32(UInt(self.frame.size.height / 4 )) 152: CGFloat(y) -> CGFloat(Float(y)) 163: CGFloat(y) -> CGFloat(Float(y))
it builds like a charm
Applied the fix above and I get this after iOS Simulator launches
An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4)
yes i've got 23 error to build...
@OKNoah Check this to reset your simulator. http://qiita.com/tajihiro/items/f6f50b56162c93d25c90
This should be fixed now.
FlappySwift/FlappyBird/GameScene.swift:147:46: 'CGFloat' is not convertible to 'UInt8'