rsieiro / RSOAuthEngine

ARC based OAuth engine for MKNetworkKit
http://rodrigo.sharpcube.com
150 stars 33 forks source link

Had to make changes to get project building in XCode 5 + Cocoapods #22

Closed rexstjohn closed 10 years ago

rexstjohn commented 10 years ago

While using Cocoapods + XCode 5 I had to make some changes to get the project to build.

I had to change the line:

import "NSData+Base64.h" in RSOAuthEngine.m to

import "NSData+MKBase64.h"

To get rid of a "not found" error.

I also had to add:

import "MKNetworkEngine.h"

To the RSOAuthEngine.h file in order to get the project to build. Not sure if I should have to do that or if there is a better way to get things working.

prnewman commented 10 years ago

Had to do the same - thanks.

rsieiro commented 10 years ago

I've just updated the project to use the latest MKNetworkKit revision, and also added a couple fixes. The MKBase64 import was already there, but the explicit import on MKNetworkEngine wasn't, so I added it.

I'm not sure how Cocoapods work, but I think it's pointing to an old tag. Just update it to point to the 1.4.1 tag (just added) and it should work right.