首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Print:条目":CFBundleIdentifier“不存在....我什么都试过了

Print:条目":CFBundleIdentifier“不存在....我什么都试过了
EN

Stack Overflow用户
提问于 2018-03-26 05:15:23
回答 2查看 6.6K关注 0票数 6
代码语言:javascript
复制
Installing build/Build/Products/Debug-iphonesimulator/roam.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/roam.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

我什么都试过了。要记住的是,我甚至能够让它在xcode中工作。React-本地升级、npm安装和终止端口都不起作用。请帮帮忙。

EN

回答 2

Stack Overflow用户

发布于 2018-07-27 15:14:15

如果您缺少config.h文件,则可能发生这种情况。

对于更新config.h文件,

1)关闭您的Xcode。

2)打开终端,进入项目根文件夹,执行以下操作:

代码语言:javascript
复制
cd node_modules/react-native/third-party/glog-0.3.4/

3)运行配置脚本:

代码语言:javascript
复制
./configure

4)打开Xcode,尝试运行你的应用。

票数 5
EN

Stack Overflow用户

发布于 2018-03-26 14:25:53

您的react中缺少一些库文件。因此需要在您的iOS项目中手动添加。

打开xcode项目

转到.xcodeproj :-

  1. https://github.com/mmmcompanies/ReactNativeMissingFiles
  2. 下载文件转到文件夹iOS ->打开.xcodeproj
  3. 转到文件夹库-> React.xcodeproj -> ThirdParty folder -> glog
  4. 更新文件,然后再次运行。

您可以在glog文件夹中看到缺少的文件config.h和文件,添加在finder中显示的缺少的文件,并从

https://github.com/mmmcompanies/ReactNativeMissingFiles

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49481015

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档