317765973
V2EX  ›  React

Xcode 第一次 build 创建好的 ReactNative 工程巨慢, 是这样吗?

  •  
  •   317765973 · Jun 27, 2017 · 5478 views
    This topic created in 3421 days ago, the information mentioned may be changed or developed.

    半个小时了 Xcode 一直是:

    Build React Running 1 of 2 custom shell scripts

    都是这样吗?

    6 replies  •  2017-06-27 23:27:38 +08:00
    tyrealgray
    tyrealgray
    Jun 27, 2017
    1
    明显不正常,一般都是 1 分钟搞定
    fei31976
    fei31976
    Jun 27, 2017❤️1
    2
    不是的。

    看起来像是在打包 js bundle 的环节卡住了。

    我遇到一次类似问题,是 watchman 出了问题。
    SpringHack
    SpringHack
    Jun 27, 2017
    3
    大兄弟那是因为脚本需要下载几个组件可能需要科学上网

    ./node_modules/react-native/ios-install-third-party.sh

    给这个脚本 fq 下
    317765973
    317765973
    OP
    Jun 27, 2017
    4
    可是我在挂 VPN 的情况下也不行。
    317765973
    317765973
    OP
    Jun 27, 2017
    5
    @SpringHack 最后用 0.44.0 版本就可以。
    317765973
    317765973
    OP
    Jun 27, 2017
    6
    @fei31976 最后用 0.44.0 版本就可以了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4572 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 02:44 · PVG 10:44 · LAX 18:44 · JFK 21:44
    ♥ Do have faith in what you're doing.