CFBundleExecutableKey 不包含捆绑可执行文件

问题描述 投票:0回答:1

在归档项目并上传后,我在 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)"

我已经尝试过解决方案这里 但它们都不起作用,请帮我解决这个问题。

react-native info.plist cfbundleidentifier
1个回答
0
投票

我已经解决这个问题几个月了。我已经解决了:

  1. 删除节点模块文件夹、yarn.lock 文件。
  2. 删除 Pods 文件夹、pod.lock 文件。
  3. 运行纱线安装。
  4. 运行 npx pod-install。
  5. 打开 XCode,清理项目(CMD + K)。再次存档。

=>现在上传成功.

© www.soinside.com 2019 - 2024. All rights reserved.