Re: Xcode warnings after pod install
Re: Xcode warnings after pod install
- Subject: Re: Xcode warnings after pod install
- From: Quincey Morris <email@hidden>
- Date: Mon, 04 Jan 2016 13:55:32 -0800
- Feedback-id: 167118m:167118agrif8a:167118sk1NEdkZe7:SMTPCORP
On Jan 4, 2016, at 12:25 , Doug Hill <email@hidden> wrote:
I’m seeing some wacky behavior from Xcode when I checkout a new git branch and run ‘pod install’ again. I sometimes see a lot of warnings of the form:
warning: /Users/user1/Library/Developer/Xcode/DerivedData/ModuleCache/1DYFEIW0SNQ0N/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
My guess is that you’ve inadvertently checked in some files that are specific to your (or, each developer’s) Mac, so of course the unique subfolder name isn’t present when the project is freshly checked out.
Specifically, you should use .gitignore to exclude the “xcuserdata/“ subfolder, and I also (for historical reasons, not sure if it’s still helpful) ignore “project.xcworkspace/“.
Note that DerivedData/ModuleCache isn’t project specific. AFAIK, Xcode tries to share precompiled files between projects when possible. However, I think — I’m not sure — that precompiled headers for system frameworks is kinda moot these days — if your project settings have “Use Modules” set to YES (the current default), then I don’t think precompiled headers help, unless they’re precompiling a large set of your own headers too. It might be practical to stop using precompiled headers completely.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden