gpt4 book ai didi

ios - 错误 ITMS-90171 : Invalid Bundle Structure - The binary file [CocoaPods file]

转载 作者:行者123 更新时间:2023-11-29 05:17:20 24 4
gpt4 key购买 nike

上传到 App Store 时遇到此错误:

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'mobile.app/Frameworks/Pods_mobile.framework/Pods_mobile' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."

我搜索了所有类似的帖子并尝试了所有这些建议:
- 始终嵌入 Swift 标准库 = [true, false, $(inherited)]
- 构建阶段 -> 复制捆绑资源 -> 确保其不含框架
- 确保配置文件设置正确。
- 仅构建事件架构 = [true, false]

构建阶段: [CP] 嵌入 Pods 框架 & [CP] 复制 Pods 资源 看起来很正常:
“${PODS_ROOT}/目标支持文件/Pods-mobile/Pods-mobile-frameworks.sh”
“${PODS_ROOT}/目标支持文件/Pods-mobile/Pods-mobile-resources.sh”
分别。

Podfile:

platform :ios, '12.0'
use_frameworks!

target 'mobile' do
pod ...
end

最佳答案

我需要删除 Embed Frameworks 下的 Pods_mobile.framework,如下所示。我不确定它是如何到达那里的,但假设它有它的目的,因为我一开始就没有添加它。

enter image description here

关于ios - 错误 ITMS-90171 : Invalid Bundle Structure - The binary file [CocoaPods file],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59061531/

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