On Jan 4, 2016, at 12:25 , Doug Hill <[email protected]> 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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to