我最近更新了fb pod。
我正在使用4.25.0,我在
中遇到编译器错误extension LinkShareContent: SDKBridgedContent {
internal var sdkSharingContentRepresentation: FBSDKSharingContent {
let content = FBSDKShareLinkContent()
content.contentDescription = self.description // ERROR
content.contentTitle = self.title // ERROR
content.imageURL = self.imageURL // ERROR
content.quote = self.quote
content.contentURL = self.url
content.hashtag = self.hashtag?.sdkHashtagRepresentation
content.peopleIDs = self.taggedPeopleIds
content.placeID = self.placeId
content.ref = self.referer
return content
}
}
请建议我使用哪个版本的facebook来避免这些编译错误。
答案 0 :(得分:1)
如果你没有在3行以下使用FBSDKSharingContent
评论,因为这是FacebookSDK问题。
content.contentDescription = self.description
content.contentTitle = self.title
content.imageURL = self.imageURL