Running 1 of 2 custom shell script stuck for 2 minutes in Xcode

前端 未结 2 1538
不思量自难忘°
不思量自难忘° 2020-12-17 01:18

Running 1 of 2 custom shell scripts it stuck for 2 minutes while trying to build the app.

I tried to fix with the solution :Xcode custom sh

2条回答
  •  無奈伤痛
    2020-12-17 01:50

    Finally, I found a solution for this. At least the total build time now is 57sec.

    I found that 'Embed Pods Framework' (Once 'Embed Pods Framework' and 'CP Embed Pods Framework') builds twice. Anyway, I don't have an idea why I have both of them on build phases.

    I found for this on Report Navigator.

    Solution:

    1) I let only active ✓ Run script only when installing only for'[CP]Embed Pods Framework' 2) Optimization Level on Build Settings for debug was -None. I set to Fast...

    3) Tip: use Simulator instead of Device for minimal build time.

提交回复
热议问题