简体   繁体   English

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

[英]Invalid CFBundleSupportedPlatforms value iPhoneSimulator in (DJIWidget) FFmpeg.framework

I cannot upload my app which contains the DJI-SDK, DJIWidget(which contains FFMpeg) to Testflight after updating to Xcode 13. When I try I get:更新到 Xcode 13 后,我无法将包含 DJI-SDK、DJIWidget(包含 FFMpeg)的应用程序上传到 Testflight。当我尝试时,我得到:

Invalid CFBundleSupportedPlatforms value. CFBundleSupportedPlatforms 值无效。 The CFBundleSupportedPlatforms key in the Info.plist file in “Payload/app.app/Frameworks/FFmpeg.framework” bundle contains an invalid value, [iPhoneSimulator]. “Payload/app.app/Frameworks/FFmpeg.framework”包中的 Info.plist 文件中的 CFBundleSupportedPlatforms 键包含无效值 [iPhoneSimulator]。 Consider removing the CFBundleSupportedPlatforms key from the Info.plist file.考虑从 Info.plist 文件中删除 CFBundleSupportedPlatforms 键。 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错误代码 STATE_ERROR.VALIDATION_ERROR.90542 为 id f2327257-ad48-4b60-8fc8-a518da5fbac8

# relevant pods
pod 'DJI-SDK-iOS', '~> 4.16'
pod 'DJIWidget', '~> 1.6.6'

However FFMpeg seems to be a binary file Framework attached to DJIWidget so I can't edit the Info.plist directly.但是 FFMpeg 似乎是附加到 DJIWidget 的二进制文件框架,因此我无法直接编辑 Info.plist。 Is there any way to workaround this or do I have to reach out to the DJI to actually make a change?有什么办法可以解决这个问题,还是我必须联系 DJI 才能真正做出改变?

I was trying to edit the Info.plist with a text editor and that is not possible when the plist file is embedded inside a bundled Framework.我试图用文本编辑器编辑 Info.plist,当 plist 文件嵌入到捆绑的框架中时,这是不可能的。

I was able to edit the plist file with Xcode.我能够用 Xcode 编辑 plist 文件。 Inside Frameworks folder - Right click FFMpeg - show in finder - open Info.plist with Xcode and set CFBundleSupportedPlatforms from iPhoneSimulator to iPhoneOS在 Frameworks 文件夹中 - 右键单击​​ FFMpeg - 在 finder 中显示 - 使用 Xcode 打开 Info.plist 并将 CFBundleSupportedPlatforms 从 iPhoneSimulator 设置为 iPhoneOS

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我们如何在cocoapod框架中使用DJIWidget - How can we use DJIWidget in a cocoapod framework 具有iphoneos和iphonesimulator体系结构的iOS通用框架 - iOS universal framework with iphoneos and iphonesimulator architectures ReactiveObjC.framework为CFBundleSupportedPlatforms键指定了一个模拟器平台 - ReactiveObjC.framework specifies a simulator platform for the CFBundleSupportedPlatforms key 无效的包 - Info.plist 应该使用包含单个平台的数组指定 CFBundleSupportedPlatforms - Invalid Bundle - Info.plist should specify CFBundleSupportedPlatforms with an array containing a single platform 无效的捆绑包-嵌套捆绑包没有在CFBundleSupportedPlatforms(替代)中列出的正确平台 - Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms (alternate) 无效的捆绑包 - 嵌套捆绑包没有CFBundleSupportedPlatforms中列出的正确平台Info.plist密钥 - Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms Info.plist key 将FFmpeg编译为iOS 8 Framework - Compile FFmpeg as iOS 8 Framework 在iOS ffmpeg框架中反交错 - Deinterlacing in iOS ffmpeg framework FFmpeg iOS - >输出文件无效 - FFmpeg iOS -> output file is invalid 如何将FFMpeg构建为iOS框架 - How to Build FFMpeg as iOS Framework
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM