Skip to content
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

Incompatibilities with Parse 1.7.1 #6

Open
benmathes opened this issue Apr 15, 2015 · 2 comments
Open

Incompatibilities with Parse 1.7.1 #6

benmathes opened this issue Apr 15, 2015 · 2 comments

Comments

@benmathes
Copy link

In file included from .../Pods/Parse+PromiseKit/Parse+PromiseKit.m:8:
.../Pods/Parse+PromiseKit/Parse+PromiseKit.h:216:12: error: cannot find interface declaration for 'PFImageView'; did you mean 'UIImageView'?
@interface PFImageView (PromiseKit)
^~~~~~~~~~~
UIImageView
In module 'UIKit' imported from .../Pods/Target Support Files/Pods-greylog-Parse+PromiseKit/Pods-greylog-Parse+PromiseKit-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:19:8: note: 'UIImageView' declared here
@class UIImageView;
^
.../Pods/Parse+PromiseKit/Parse+PromiseKit.m:87:15: warning: 'refreshInBackgroundWithBlock:' is deprecated: Please use -fetchInBackgroundWithBlock: instead. [-Wdeprecated-declarations]
[self refreshInBackgroundWithBlock:PMKPFObjectResultBlock];
^
In file included from .../Pods/Parse+PromiseKit/Parse+PromiseKit.m:8:
In file included from .../Pods/Parse+PromiseKit/Parse+PromiseKit.h:9:
In file included from .../Pods/Headers/Public/Parse/Parse.h:13:
In file included from .../Pods/Headers/Public/Parse/PFAnonymousUtils.h:11:
In file included from .../Pods/Headers/Public/Parse/PFUser.h:11:
.../Pods/Headers/Public/Parse/PFObject.h:520:1: note: 'refreshInBackgroundWithBlock:' has been explicitly marked deprecated here
- (void)refreshInBackgroundWithBlock:(PF_NULLABLE PFObjectResultBlock)block PARSE_DEPRECATED("Please use -fetchInBackgroundWithBlock: instead.");
^
.../Pods/Parse+PromiseKit/Parse+PromiseKit.m:249:17: error: cannot find interface declaration for 'PFImageView'; did you mean 'UIImageView'?
@implementation PFImageView (PromiseKit)
^~~~~~~~~~~
UIImageView
In module 'UIKit' imported from .../Pods/Target Support Files/Pods-greylog-Parse+PromiseKit/Pods-greylog-Parse+PromiseKit-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h:19:8: note: 'UIImageView' declared here
@class UIImageView;
^
.../Pods/Parse+PromiseKit/Parse+PromiseKit.m:254:15: error: no visible @interface for 'UIImageView' declares the selector 'loadInBackground:'
[self loadInBackground:^(UIImage *image, NSError *error) {
      ~~~~ ^~~~~~~~~~~~~~~~
      1 warning and 3 errors generated.
@benmathes
Copy link
Author

(possible I'm doing something wrong here, just seems like some deprecations)

@benmathes
Copy link
Author

Adding this to /Parse+PromiseKit/Parse/Parse+Promisekit.h worked for me:

#import <ParseUI.h>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant