-
Notifications
You must be signed in to change notification settings - Fork 48
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
INVALID_SIGNATURE with Swift 3 Xcode 8 beta 6 #41
Comments
@cambuilt, you aren't using |
@cambuilt, it looks like OAuthSwift doesn't officially support Swift 3 yet: OAuthSwift/OAuthSwift#244. You'll probably want to wait to use Swift 3 until they're ready. |
This is my fork of the code I changed to build in Xcode 8 beta 6: https://github.com/cambuilt/OAuthSwift/tree/master/OAuthSwift https://github.com/cambuilt/OAuthSwift/tree/master/OAuthSwift This is the code using OAuthSwiftClient:
This is the error: Error Domain=NSURLErrorDomain Code=400 "" UserInfo={NSErrorFailingURLKey=Optional("http://api.yelp.com/v2/search?offset=0&radius_filter=10000.0&ll=40.7830335501822%2C-124.161309&category_filter=restaurant"), NSLocalizedDescription=, Response-Headers={
|
You’re probably right and I am not using YelpAPI.
|
Sorry, I gave you my credentials and I will generate new ones.
|
Hey @cambuilt, I checked out your branch and it looks like you've made lots of changes to OAuthSwift for updating it to Swift 3. We haven't worked with OAuthSwift so I'm not sure there's much more we can do to help, sorry! I think your best bet might be to wait on OAuthSwift/OAuthSwift#267 getting merged and seeing if OAuthSwift still has this issue. If you want to keep debugging OAuthSwift, @mittonk mentioned that common issues people run into with OAuth include:
Hope that helps! I'd also recommend giving this |
@cambuilt writes in Yelp/yelp-api#165 :
The text was updated successfully, but these errors were encountered: