Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

xcode error

share|improve this question
add comment

3 Answers

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

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.