Take the 2-minute tour ×

Is there a way to copy paste the content of this warnings in Xcode ?

xcode error

share|improve this question

3 Answers 3

up vote 3 down vote accepted

Yes. If you go to the Issue Navigator (cmd-4), you'll see a list of build warnings and errors. You can select one from the list and hit cmd-c. You'll get something like this:

/Users/dave/Developer/Cocoa/EmptyFoundation/EmptyFoundation.m:180:15:{178:2-178:6}{178:2-178:7}: warning: conversion specifies type 'unsigned long long' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat,7]

share|improve this answer

I know it's possible in Xcode 4. Just click the warning (or error), then press Cmd ⌘-C to copy. It will copy the file path as well, but the warning/error text will be at the end of the string.

share|improve this answer

Click on your error or select the section and on your Apple Keyboard, tap the following : ⌘ + C to copy it and ⌘ + V to paste it.

share|improve this answer

Your Answer


