Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

xcode error

share|improve this question
up vote 4 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


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.