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安装和终止端口都不起作用。请帮帮忙。
发布于 2018-07-27 15:14:15
如果您缺少config.h文件,则可能发生这种情况。
对于更新config.h文件,
1)关闭您的Xcode。
2)打开终端,进入项目根文件夹,执行以下操作:
cd node_modules/react-native/third-party/glog-0.3.4/3)运行配置脚本:
./configure4)打开Xcode,尝试运行你的应用。
发布于 2018-03-26 14:25:53
您的react中缺少一些库文件。因此需要在您的iOS项目中手动添加。
打开xcode项目
转到.xcodeproj :-
您可以在glog文件夹中看到缺少的文件config.h和文件,添加在finder中显示的缺少的文件,并从
https://stackoverflow.com/questions/49481015
复制相似问题