kbi*_*nks 4 facebook objective-c ios fbsdk fbsdksharekit
Upon upgrading the Facebook SDK, I get an error.
The resulting pods are:
Using FBSDKCoreKit (5.0.0)
Using FBSDKLoginKit (5.2.3)
Using FBSDKMarketingKit (5.0.0)
Using FBSDKMessengerShareKit (1.3.2)
Using FBSDKPlacesKit (5.2.3)
Using FBSDKShareKit (5.2.3)
Using Fabric (1.10.2)
Using FacebookSDK (5.0.2)
Run Code Online (Sandbox Code Playgroud)
I have upgraded the SDK like so in the Podfile and ran pod install:
pod 'FacebookSDK'
pod 'FacebookSDK/LoginKit'
pod 'FacebookSDK/ShareKit', '~> 5.0.0'
pod 'FacebookSDK/PlacesKit'
pod 'FBSDKMessengerShareKit'
Run Code Online (Sandbox Code Playgroud)
Expected:
The project compiles.
Actual:
/Pods/FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/Internal/FBSDKVideoUploader.m:78:11: Receiver type 'FBSDKError' (aka 'enum FBSDKError') is not an Objective-C class
Facebook的iOS SDK 再次出现了构建中断的错误。叹。
相关线程:https : //developers.facebook.com/support/bugs/355323518445227/
摘要:更改您的Podfile以手动强制对5.2版的依赖,如下所示:
pod 'FBSDKLoginKit', '~> 5.2'
pod 'FBSDKCoreKit', '~> 5.2'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
731 次 |
| 最近记录: |