-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash issue in Xcode 10 #23
Comments
The problem is in: https://github.com/Nightonke/VHBoomMenuButton/blob/master/VHBoomMenuButtonSwift/BoomMenuButton/Piece/PiecePlaceEnum.swift
this method should read:
Fix is quick, would be nice to apply it. For now we are forced to use obcj version. |
I had upload issue in Xcode 9,Can you please resolve issue this issue in Xcode 10 |
the enums are changed with Swift 4.2 Note if you have used hash value for the index of the element of the enum:
then replace . hashValue with .ordinal and in code PS |
@Nightonke i m also facing this issue! |
try objc pod in your swift project. pros: cons: |
I updated my Xcode9 to xcode10, My app is crashing when I tap on button.
App is crashing here
assert(bmb.buttonEnum != .unknown, "[BMB] Unknown button enum!")
assert(bmb.piecePlaceEnum.rawValue < PiecePlaceEnum.count, "[BMB] Unknown piece-place-enum!")
assert(bmb.buttonPlaceEnum.rawValue < ButtonPlaceEnum.count, "[BMB] Unknown button-place-enum!")
assert(bmb.boomEnum.rawValue < BoomEnum.count, "[BMB] Unknown boom-enum!")
assert(builders.count > 0, "[BMB] Empty builders!")
The text was updated successfully, but these errors were encountered: