错误ITMS-90171:无效的捆绑结构-二进制文件[CocoaPods文件]

上传到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,$(继承)]
-构建阶段->复制捆绑包资源->确保没有框架
-确保设置配置文件正确设置。
-仅构建active Architecture = [true,false]

构建阶段: [CP] Embed pods Frameworks [CP] Copy pods Resource 似乎很正常:
"${podS_ROOT}/Target Support Files/pods-mobile/pods-mobile-frameworks.sh"
"${podS_ROOT}/Target Support Files/pods-mobile/pods-mobile-resources.sh"
分别。

podfile:

platform :ios,'12.0'
use_frameworks!

target 'mobile' do
  pod ...
end
jiang8com 回答:错误ITMS-90171:无效的捆绑结构-二进制文件[CocoaPods文件]

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

enter image description here

本文链接:https://www.f2er.com/3025008.html

大家都在问