Exclude Pods when cleaning Xcode 9 project [duplicate]

我怕爱的太早我们不能终老 提交于 2019-12-11 18:33:55

问题


I am wondering if there is a way to exclude your Pods in a Swift 4, Xcode 9 project when performing a Product -> Clean operation.

In rare cases when I try to build I get errors like

file too small for architecture x86_64

Easiest way to fix this is doing a full clean, according to this question.

This works, but when I have a lot of Pods included in my project, cleaning and rebuilding takes forever. Therefore the question if the Pods can be excluded from being cleaned to save some time.


回答1:


Menu: Product->Scheme->Manage Schemas (way at bottom)

Choose your product target and then click the "Edit..." button at the bottom left.

Select "Build" from left section

Then uncheck the "Find Implicit dependencies" checkbox in the top section.



来源:https://stackoverflow.com/questions/48564548/exclude-pods-when-cleaning-xcode-9-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!