Mak*_*lle 2 authentication facebook ios parse-platform
我试过使用parse + facebook auth.我正在关注一个教程,当我在文件上编译项目时,我得到了一些错误:PFFacebookAuthentificationProvider.h/m
/Users/.../Pods/ParseFacebookUtilsV4/ParseFacebookUtils/Internal/PFFacebookAuthenticationProvider.h:17:26: error: expected parameter declarator
@class BFTask PF_GENERIC(__covariant BFGenericType);
^
/Users/Y.../Pods/ParseFacebookUtilsV4/ParseFacebookUtils/Internal/PFFacebookAuthenticationProvider.h:17:26: error: expected ')'
/Users/.../Pods/ParseFacebookUtilsV4/ParseFacebookUtils/Internal/PFFacebookAuthenticationProvider.h:17:25: note: to match this '('
@class BFTask PF_GENERIC(__covariant BFGenericType);
^
/Users/.../Pods/ParseFacebookUtilsV4/ParseFacebookUtils/Internal/PFFacebookAuthenticationProvider.h:17:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
@class BFTask PF_GENERIC(__covariant BFGenericType);
^
/Users/.../Pods/ParseFacebookUtilsV4/ParseFacebookUtils/Internal/PFFacebookAuthenticationProvider.h:43:4: error: expected a type
- (BFTask *)authenticateAsyncWithReadPermissions:(nullable NSArray PF_GENERIC(NSString *) *)readPermissions
^/Users/.../Pods/ParseFacebookUtilsV4/ParseFacebookUtils/Internal/PFFacebookAuthenticationProvider.h:43:51: error: nullability specifier 'nullable' cannot be applied to non-pointer type 'NSArray'
- (BFTask *)authenticateAsyncWithReadPermissions:(nullable NSArray PF_GENERIC(NSString *) *)readPermissions
^
/Users/.../Pods/ParseFacebookUtilsV4/ParseFacebookUtils/Internal/PFFacebookAuthenticationProvider.h:43:68: error: expected ')'
- (BFTask *)authenticateAsyncWithReadPermissions:(nullable NSArray PF_GENERIC(NSString *) *)readPermissions
Run Code Online (Sandbox Code Playgroud)
20个错误.这是我的podfile:
platform :ios, '8.1'
xcodeproj 'Test'
target :Test, :exclusive => true do
pod 'Parse'
pod 'ParseUI'
pod 'ParseFacebookUtilsV4'
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
end
Run Code Online (Sandbox Code Playgroud)
我遇到过同样的问题.我修复它的方式是返回一个版本的解析...
pod 'Parse', '~>1.11.0'
我认为这个问题与ParseFacebookUtilsV4 Pod没有更新到最新版本有关.无论哪种方式,这应该让你现在恢复运行.
| 归档时间: |
|
| 查看次数: |
326 次 |
| 最近记录: |