ios - (DJIWidget) FFmpeg.framework 中的无效 CFBundleSupportedPlatforms 值 iPhoneSimulator

标签 ios ffmpeg app-store-connect dji-sdk

更新到 Xcode 13 后,我无法将包含 DJI-SDK、DJIWidget(包含 FFMpeg)的应用程序上传到 Testflight。当我尝试时,我得到:

Invalid CFBundleSupportedPlatforms value. The CFBundleSupportedPlatforms key in the Info.plist file in “Payload/app.app/Frameworks/FFmpeg.framework” bundle contains an invalid value, [iPhoneSimulator]. Consider removing the CFBundleSupportedPlatforms key from the Info.plist file. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. With error code STATE_ERROR.VALIDATION_ERROR.90542 for id f2327257-ad48-4b60-8fc8-a518da5fbac8


# relevant pods
pod 'DJI-SDK-iOS', '~> 4.16'
pod 'DJIWidget', '~> 1.6.6'
但是 FFMpeg 似乎是附加到 DJIWidget 的二进制文件框架,因此我无法直接编辑 Info.plist。有什么办法可以解决这个问题,还是我必须联系 DJI 才能真正做出改变?

最佳答案

我试图用文本编辑器编辑 Info.plist,当 plist 文件嵌入到捆绑的框架中时,这是不可能的。
我能够用 Xcode 编辑 plist 文件。在 Frameworks 文件夹中 - 右键单击​​ FFMpeg - 在 finder 中显示 - 使用 Xcode 打开 Info.plist 并将 CFBundleSupportedPlatforms 从 iPhoneSimulator 设置为 iPhoneOS

关于ios - (DJIWidget) FFmpeg.framework 中的无效 CFBundleSupportedPlatforms 值 iPhoneSimulator,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71699951/

相关文章:

c++ - ffmpeg armv7s 编译段错误

ios - 从 iTunes 转移具有过期成员(member)资格的应用程序

ios - PFAnonymousUtils.logIn 出错

ffmpeg - 使用 ffmpeg 将 EXR 转换为 mp4 时出错

objective-c - 为什么复制指针以解决 ARC 下基于 block 的保留循环是有意义的?

php - windows wamp服务器上的ffmpeg命令

iphone - 通过 iTunes Connect 应用程序传输后配置配置文件

ios - 无法在 iTunes Connect 中创建新应用

ios - 更改主视图 Controller 中的选项卡栏时如何加载不同的 View Controller ?

ios - UITableViewCell 冲突的高度约束