Skip to content

Crashes in simulator and iOS9 #28

@hufkens

Description

@hufkens

Somehow since the last Xcode update (8.1) randomkit crashes for me when I run my app in the Simulator and also on iOS9 devices.I'm using the latest version 2.1.0 through CocoaPods. It worked before but somehow since the last update something changed/

The crash occurs in this method on the return statement:

extension UInt: RandomWithMax, RandomWithMin, RandomToValue, RandomThroughValue, RandomWithinRange, RandomWithinClosedRange {

    fileprivate var _resigned: UInt {
        return UInt(UIntMax(self)._resigned)
    }

}

More info: http://crashes.to/s/ac28a42158e

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions