Skip to content

Commit 800d348

Browse files
committed
fixed framework compatibility
1 parent 92003e4 commit 800d348

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/SoundCloudAPI/SCSoundCloudAPIAuthentication.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020

2121
#import <Foundation/Foundation.h>
2222

23-
#import "NXOAuth2TrustDelegate.h"
23+
#if TARGET_OS_IPHONE
24+
#import "NXOAuth2.h"
25+
#else
26+
#import <OAuth2Client/NXOAuth2TrustDelegate.h>
27+
#endif
2428

2529
@protocol SCSoundCloudAPIAuthenticationDelegate;
2630
@class SCSoundCloudAPIConfiguration;

0 commit comments

Comments
 (0)