react-native 错误记录

** BUILD FAILED **


The following commands produced analyzer issues:
    Analyze /Users/ofoer/Documents/code/test/Acc/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
    Analyze /Users/ofoer/Documents/code/test/Acc/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
(2 commands with analyzer issues)


The following build commands failed:
    PhaseScriptExecution Install\ Third\ Party /Users/ofoer/Documents/code/test/Acc/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/Acc.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/Acc.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

因为react-native更新可能是版本兼容问题

降低了react react-native版本解决了问题

修改配置文件,并重新npm install

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 174,002评论 25 709
  • 1.使用require产生的路径错误 这个应该是属于文件路径错误导致的。 当我使用require('image!p...
    月塘路阅读 1,110评论 0 0
  • 尽管在移动开发中,原生APP的开发成本很高,但现阶段基于原生开发仍然是必须的,因为Web的用户体验仍无法超越Nat...
    奔跑的大橙子阅读 5,429评论 0 11
  • 此刻,正疾驰在意大利去威尼斯的大巴上,早上9.30的太阳暖烘烘的打在脸上,而国内这会是下午3.30。这个时差,让我...
    李舒萍阅读 513评论 0 0
  • 一个普通农民工的自白: 我曾经无数次疼恨自己生不逢时,英雄无用武之处,一个普通的打工仔自保很难何谈贡献?生不逢地,...
    拍星星阅读 267评论 0 1