sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

Segmentation Fault 11 #33

Closed zpv closed 6 years ago

zpv commented 7 years ago

SPRequestPermission.swift is producing a compilation error on given xcodeproj. Fresh XCode installation on a NEW machine.

MonicaBura22 commented 7 years ago

This error occurs also on the new Xcode 9 beta. When will a release be made that supports iOS 11? Error from log shows this: While silgen emitConstructor SIL function "@_T07Sparrow19SPRequestPermissionVACyc33_0261F672424E7F44BA85DF45C2D6AB49LlfC". for 'init()' at /Users/.../Pods/Sparrow/sparrow/modules/request-permissions/SPRequestPermission.swift:82:13

omarojo commented 7 years ago

I just commented the "private init() {}" in line 82... and that got rid of the error.. but Im not sure if that will affect any other logic of the library. @IvanVorobei can you confirm ?

ivanvorobei commented 6 years ago

@omarojo with new Xcode this mistake not appear. I am update for Swift 4, please, try again! Thanks