在同事电脑上能编译的工程到我电脑上就不能编译通过了?

周末刚更新了Cocoapods版本到1.0.1(教程点这里),顺带再更新了本地三方库源,然后遇到了特别奇特的事情,在同事电脑上能编译成功的工程,到我电脑上就编译成功不了了!一直提示’Mantle/Mantle.h’ file not found. 然后去检查了header search path 并没有问题啊,还检查了本地文件夹里确实有那个文件啊。
clean工程再build也没搞定。
最后的最后,请教了公司大牛Jack,Jack来只用一步轻松搞定编译问题”Product –>按住option –>clean 变成 clean build folder”


  • Clean的作用基本上就是清除编译过程中的中间文件、目标文件以及可执行文件,使得项目回到没有被编译之前

If you select “Clean”, Xcode will delete files inside every folder(e.g., Products, Intermediates) in the Build folder, for the current target. Files for other targets remain.

If you select “Clean Build Folder”, Xcode will delete the entire Build Folder, so nothing left.

In most cases “Clean” will work for “unknown” reasons, but you still have to “Clean the Build Folder” because Xcode won’t delete files in the include folder inside Products folder.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值