avito-tech / Paparazzo

Custom iOS camera and photo picker with editing capabilities
MIT License
779 stars 82 forks source link

Fatal error: Not enough bits to represent the passed value #74

Closed Umity closed 5 years ago

Umity commented 6 years ago

When i am cropping a photo and tap to the check/OK button then i get this error Fatal error: Not enough bits to represent the passed value

public init<T: Hashable>(hashable: T) {
    self.init(int32Value: Int32(hashable.hashValue))
}

ImageRequestId.swift

InViZz commented 6 years ago

same issue

bystritskiy commented 6 years ago

same +

shireeshMs commented 6 years ago

the same issue on Xcode 10 iOS 12

HiveHicks commented 5 years ago

This issue seems to be fixed by this commit https://github.com/avito-tech/ImageSource/commit/15f84ea0c10a2bb53b8a667e5996d1ef1f0a32cc The fix is available in develop branch.

shireeshMs commented 5 years ago

@HiveHicks Just taken from Develop branch but still facing the same issue.

HiveHicks commented 5 years ago

@shireeshMs can you please check what version of ImageSource is specified in your Podfile.lock? Is it 2.1.0?

Oh, sorry, I confused it with another problem

shireeshMs commented 5 years ago

screenshot 2019-01-10 at 5 01 56 pm and yes it is 2.1.0 @HiveHicks still if you have something for this issue please let me know

HiveHicks commented 5 years ago

The issue should be resolved now by https://github.com/avito-tech/ImageSource/commit/a9ce17b95d1aa4b7ecf0bbda9660f19b3702c38f ImageSource 2.2.1 is now used in develop branch of Paparazzo.

HiveHicks commented 5 years ago

And now it's in master, followed by the release of Paparazzo 3.0.0