清理Xcode 9项目时排除Pod [英] Exclude Pods when cleaning Xcode 9 project

查看:228
本文介绍了清理Xcode 9项目时排除Pod的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道在执行 Product-> Clean 操作时,是否可以在Swift 4,Xcode 9项目中排除Pods。

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


文件对于体系结构x86_64而言太小的错误$ b

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.

推荐答案

菜单:产品->方案->管理模式(位于底部)

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

选择您的产品目标,然后单击左下角的编辑...按钮。

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

从左侧部分选择构建

然后取消选中顶部的查找隐式依赖项复选框。

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

这篇关于清理Xcode 9项目时排除Pod的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆