Cocoapods `Embed pod frameworks` took long time to execute

后端 未结 2 1024
梦谈多话
梦谈多话 2021-02-04 20:32

Environment:

  • Macbook Pro With Retina Display 2013 late with 8G Ram, 256GB ssd.
  • Cocoapods 1.1.1
  • macOS Sierra 10.12.1
  • Xcode 8.0
相关标签:
2条回答
  • 2021-02-04 20:47

    I have the same issue since I installed Xcode 8.1 beta and created a new Swift project. Currently I "fixed" the issue by unchecking the "Run script only when installing" the first time (causing a longer build time), for every following build I am able to build and run the app with the checkbox "Run script only when installing" checked. This works until I do a "pod install" or "pod update". I am eagerly waiting for an official update to Xcode 8.1, but perhaps it has something to do with cocoapods itself?

    0 讨论(0)
  • 2021-02-04 21:06

    If you use the new beta of Cocoapods - 1.2.1.beta.1 at the time of writing, which you can install sudo pod install --pre then you have access to the super cool COCOAPODS_PARALLEL_CODE_SIGN option.

    This has sped up the Embed Pods Frameworks build stage for me by 75% on device.

    Instructions in below image.

    0 讨论(0)
提交回复
热议问题