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
Run Code Online (Sandbox Code Playgroud)
我尝试了一切.要记住的是我甚至能够使它在xcode中工作.React-native升级,npm安装和终止端口都无法正常工作.请帮忙.
如果缺少config.h文件,可能会发生这种情况,
对于更新config.h文件,
1)关闭您的Xcode。
2)打开终端,转到项目的根文件夹并执行以下操作:
cd node_modules/react-native/third-party/glog-0.3.4/
Run Code Online (Sandbox Code Playgroud)
3)运行配置脚本:
./configure
Run Code Online (Sandbox Code Playgroud)
4)打开Xcode并尝试运行您的应用程序。
小智 2
您在反应中缺少一些库文件。所以需要在你的iOS项目中手动添加。
打开Xcode项目
转到 .xcodeproj :-
转到文件夹 Libraries -> React.xcodeproj -> ThirdParty 文件夹 -> glog
更新文件并再次运行。
you can see missing file config.h and files in glog folder
add missing files show in finder and add these files from
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6185 次 |
| 最近记录: |