React Native CFBundleExecutableKey不包含bundle可执行文件

9q78igpj  于 6个月前  发布在  React
关注(0)|答案(1)|浏览(69)

我在React native iOS中存档并上传项目后遇到了这个问题:

Unexpected CFBundleExecutable Key. The bundle at 'Payload/dummy.app/AccessibilityResources.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue. (ID: 243b1aea-2032-48d3-8b0b-7a13b4c2f5e9

字符串
我从很长一段时间,尽管无数的尝试和应用不同的方法仍然得到这个错误:

"react-native":  "0.71.2",
"macOS": "12.5",
"IOS target", 
"xcode-version": "14.1 (14B47b)"


我已经尝试了解决方案here,但没有一个工作,请帮助我弄清楚这个问题。

rqenqsqc

rqenqsqc1#

我已经有确切的这个问题几个月。我已经解决了它:
1.删除node-modules文件夹,yarn.lock文件。
1.删除Pods文件夹,pod.lock文件。
1.运行yarn install。
1.运行npx pod-install。
1.打开XCode,清理项目(CMD + K)。再次存档。

=>现在上传成功

相关问题