> On 30 Mar 2015, at 21:21, Jens Alfke <[email protected]> wrote:
> 
> 
>> On Mar 30, 2015, at 12:34 PM, Steve Mills <[email protected]> wrote:
>> 
>> The last time I ran the Analyze command was in the previous build of Xcode, 
>> 6.1.x. Today I tried it in 6.2 and keep getting the following errors. I 
>> tried cleaning the build folder, trashing the DerivedData folder, trashing 
>> the entire DerivedData/ModuleCache folder, but nothing helps.
> 
> I’ve had this happen, but was able to make it go away by deleting the entire 
> build directory (not just Derived Data) and/or quitting and relaunching Xcode.
> 
>> I guess I could try throwing out Xcode and reinstalling from the App Store, 
>> but I thought I'd try here first.
> 
> That wouldn’t do anything; app bundles are read-only. You’d only be 
> downloading an identical copy of what you just threw out.

Actually that is no longer true. I’ve twice now accidentally modified framework 
header files embedded in the Xcode application bundle and saved because of an 
command-S twitch I’ve developed from olden days. Once I was able to undo past 
the last save and after deleting all the DerivedData/ModuleCache content I was 
able to rebuild it all but another time I wasn’t so lucky and so had to 
reinstall Xcode and remove the DerivedData/ModuleCache content to fix. For some 
reason only removal of the module cache content causes it to be rebuilt.

Example from Xcode 6.1.1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers

-rw-r--r--   1 xxxx  admin   7658 12 Nov 01:31 CFXMLNode.h

Kevin



 _______________________________________________
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