You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've attempted to use the Photos framework to obtain a PHAsset and it works. However, it requires manually creating the user interface, which is not our preference.
We prefer to use PHPickerViewController. Unfortunately, it doesn't seem to work as expected. Instead of receiving a PHAsset type, we only obtained a file URL. The same error as mentioned below occurred: "FBSDKErrorDeveloperMessageKey=Must refer to an asset file".
Checklist before submitting a bug report
Xcode version
15.0
Facebook iOS SDK version
17.0.0
Dependency Manager
CocoaPods
SDK Framework
Share
Goals
can realize sharing video function
Expected results
can realize sharing video function
Actual results
rinting description of error:
Error Domain=com.facebook.sdk.share Code=2 "(null)" UserInfo={com.facebook.sdk:FBSDKErrorArgumentNameKey=videoURL, com.facebook.sdk:FBSDKErrorArgumentValueKey=file:///private/var/containers/Bundle/Application/6C33A060-062A-431F-BE09-6D77DBC603CA/EfunKrDemo.app/shareMedia.mp4, com.facebook.sdk:FBSDKErrorDeveloperMessageKey=Must refer to an asset file.}
Steps to reproduce
No response
Code samples & details
The text was updated successfully, but these errors were encountered: