auth0 / Lock.swift

A Swift & iOS framework to authenticate using Auth0 and with a Native Look & Feel
https://auth0.com/lock
MIT License
260 stars 108 forks source link

UIAlertView #379

Closed cparjaszewski closed 7 years ago

cparjaszewski commented 7 years ago

The following error happens when building the project:

./Pods/Lock/Lock/CoreUI/A0Alert.m:97:47: 'initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:' is unavailable: 
not available on iOS (App Extension) - Use UIAlertController instead.
hzalaz commented 7 years ago

Lock was not supposed to be used in an App extension, please check that you are not adding it you that target

cparjaszewski commented 7 years ago

Yes - I was using UrbanAirship-iOS-AppExtensions - it was breaking the build. Now I've removed it from the project.