上载到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
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句