gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 22:54:13 24 4
gpt4 key购买 nike

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

Invalid CFBundleSupportedPlatforms value. TheCFBundleSupportedPlatforms key in the Info.plist file in“Payload/app.app/Frameworks/FFmpeg.framework” bundle contains aninvalid value, [iPhoneSimulator]. Consider removing theCFBundleSupportedPlatforms key from the Info.plist file. If thisbundle is part of a third-party framework, consider contacting thedeveloper of the framework for an update to address this issue. Witherror code STATE_ERROR.VALIDATION_ERROR.90542 for idf2327257-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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com