Skip to content

Commit 287bd48

Browse files
committed
Fix imports of unavailable headers for tvOS.
1 parent 252df85 commit 287bd48

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Parse/Parse.h

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,21 @@
2828
#import <Parse/PFUserAuthenticationDelegate.h>
2929
#import <Parse/PFNullability.h>
3030

31-
#if !TARGET_OS_WATCH
31+
#if TARGET_OS_IOS
3232

3333
#import <Parse/PFInstallation.h>
34+
#import <Parse/PFNetworkActivityIndicatorManager.h>
3435
#import <Parse/PFPush.h>
36+
#import <Parse/PFProduct.h>
37+
#import <Parse/PFPurchase.h>
3538

36-
#endif
39+
#elif PF_TARGET_OS_OSX
3740

38-
#if TARGET_OS_IOS
41+
#import <Parse/PFInstallation.h>
42+
#import <Parse/PFPush.h>
43+
44+
#elif TARGET_OS_TV
3945

40-
#import <Parse/PFNetworkActivityIndicatorManager.h>
4146
#import <Parse/PFProduct.h>
4247
#import <Parse/PFPurchase.h>
4348

0 commit comments

Comments
 (0)