brandonscript
brandonscript

Reputation: 72905

TMTumblrSDK: No visible @interface ... declares selector "handleOpenURL"

I have no idea why, but using Xcode 6.2 this compiled fine; now it doesn't in Xcode 6.3, failing with:

TMTumblrSDK: No visible @interface ... declares selector "handleOpenURL"

Looking at the header file and it clearly shows that method is there.

#import "TMAPIClient.h"
// ...
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
    [[TMAPIClient sharedInstance] handleOpenURL:url];
}

I tried a clean, deleting derived data, and I even tried with <TMTumblrSDK/TMAPIClient.h> but no dice? Via CocoaPods, I'm Using TMTumblrSDK (2.1.1)

Upvotes: 1

Views: 221

Answers (1)

brandonscript
brandonscript

Reputation: 72905

Turns out this has been removed by design, per this commit:

Unfortunately, Apple has started rejecting apps that use three-legged OAuth via Safari, the preferred way to retrieve access tokens from a security perspective. For the time being, please either:

We hope to have more to share on this note shortly.

Upvotes: 1

Related Questions