本文介绍了使用新的Sierra更新,应用编译速度慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将mac更新为macOS Sierra 10.12.1时,在真实设备上运行应用程序的时间显着增加.运行自定义脚本'Embed Pods Frameworks''和"Copy Swift标准库"花费了30多分钟.

When I updated my mac to macOS Sierra 10.12.1 time of running application on real device significantly increased. "Run custom script 'Embed Pods Frameworks'" and "Copy Swift standard libraries" take more then 30 minutes to build.

有人遇到同样的问题吗?

Do someone face the same issue?

推荐答案

检查您的钥匙串.在将Sierra升级到10.12.1之后,我获得了一份证书的500多个副本,而另一些则被复制了数百次.

Check your keychain. After updating to Sierra to 10.12.1, I had over 500 copies one of my certificates, and a few others were duplicated a few hundred times.

我删除了所有重复项,并只保留其中一个,并且我的代码签名时间从每个框架30秒减少到每个框架约1秒.

I removed all the duplicates and kept just one of each, and my code signing time went from 30 seconds per framework down to about 1 second per.

我不知道如何或为什么重复证书,但是问题的时机表明这是由于更新了Sierra.

I don't know how or why the certificates were duplicated, but the timing of the issue suggests it was due to updating Sierra.

这篇关于使用新的Sierra更新,应用编译速度慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 20:20