Opening c file in xcode from terminal

Hi,
I know this can be done, I've done it before but can't remember how or where I found it, searches have led nowhere.
How do I open my c file in xcode from terminal? As in, to open in emacs I type emacs (filename)?
Cheers

Try open <filename>.  Unless you have changed the default editor, it should open up in Xcode.  Other option is "open -a Xcode <filename>"

Similar Messages

  • Cant open .xib file in xcode solve...

    cant open .xib file in xcode??
    here to go to find its solution with video tutorial..
    http://anscacorona.blogspot.in/2012/02/cant-open-xib-file-in-xcode.html
    thanks

    Apropos Rick's messages, the IB error you reported is most often caused by an installation or version problem. This often happens when a new SDK is installed over an older SDK, and is often fixed by removing as much of the previous SDK as possible before re-installing the new one. If you search on the text of your error message in this forum and/or Google, you'll find lots of advice on how to clean your system before installing a new SDK.
    Here's another link you should look at: [http://lists.apple.com/archives/Xcode-users/2009/Jan/msg00084.html].
    I'm also wondering what book you have. You said your book was titled "Beginning ipod development". I can't find that title on the net, so you probably didn't type the exact title. However if that is indeed to title of your book, it might be too old. So if the book came with a CD, you could have some xib files that are too old for your SDK.
    If the above doesn't apply to you, then take Rick's suggestion and get the latest SDK from the iPhone Dev Center. Then you'll need to clean your system to get rid of the previous SDK. Do this even if the previous SDK is the same one you just downloaded, because that's the best way to fix a bad installation. You should also consult the other posts on this subject that discuss permission problems. For example I think you could get IB to fail by installing as one user and then opening IB as another user.
    In any case, if you re-install, there's one step you must never omit: Rename your /Developer folder (e.g. to /OldDev).
    Hope that helps!
    \- Ray

  • Cannot Open Excel File after exporting from Disco Plus

    Hi there,
    I got a question from one user having issue with opening Excel file after exporting from Disco Plus.
    The report has been using for a while and he is using Excel 2003 version and Discoverer 10g(10.1.2.2), he never got this kind of error before, just recently got error.
    After exporting from Disco Plus he saved file on his desktop and when he tries to open the excel it says "Cannot be Accessed, can be corrupted...." but this is not from network drive since he saved file on local desktop or C drive.
    Also not for all reports, only this particular report and only specific parameter, for example for parameter 2008 Feb opened successfully, but for2009 Feb he gets this error when trying to open excel.
    i tried in excel 2007 also , i dont think this is Excel version error, am not sure.
    Also after go live last week (we upgraded database from 9i to 10g) but i am not sure this causes ,since for one parameter working, for other parameter not working.
    Actually we should get one window for Macro when we try to open excel, but he is not getting it seems.
    Any ideas/thoughts on this would be greatly appreciated.
    Thanks for your help
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Rod,
    Thanks for your quick response on this.
    Yes, we can export to other formats as well, but actually exporting is working, after saving the file on our local desktop/drive and when we try to open we get this kind messages or we cannot open the file, we should get message window for Macro to enable/disable but for this report we are not getting this either,
    Also this happens only for specific parameters,like i mentioned above it works I mean excel file opens for one set of parameters but for some other set of parameters cannot open.
    For example :- when we enter FEB 2008 it works, if we enter FEB 2009 it won't open the file.
    This is weird
    I am still working on this issue, may be better to recreate the report again might be helpful,
    Any ideas/comments/thoughts would be great
    Thanks
    Skat

  • FileNotFoundException thrown when opening a file for writing from EJB

    Hi,
    I know it is against EJB rules that access file IO from EJB. However we have a legacy system to working with and we need to generate a text file on file system.
    Weblogic (we are using 10.3) allows open a file for read from EJB. When we tried to open a writer like below:
    BufferedWriter writer = new BufferedWriter( new FileWriter(fileName, false));
    FileNotFoundException was thrown from the native method of open. The fileName is an absolute path and permission is properly set. The same piece of code can execute correctly in a test application with same filename.
    Does anyone know how to achieve this or whether Weblogic just forbids this kind of output access?

    Sorry guys. Just double-checked the source code and found out a bug produced wrong filename, the filename was surrounded by "", so FileNotFoundException is a correct result.
    Weblogic does allow read/write external file.

  • Hi, I have a version of CS4 on my Mac.  I can not longer open Raw files with it from my Canon 5D.   I never had problems with it in the past.  What can I do?

    Hi, I have a version of CS4 on my Mac.  I can not longer open Raw files with it from my Canon 5D.   I never had problems with it in the past.  What can I do?

    is that the eos 5d?
    if so, you only need cr 3.3 or greater.  what version do you have in your cs4? (help>about plugins>camera raw)
    if you need to update it, http://www.adobe.com/downloads/updates/

  • Photoshop Elements 9 won't open blank files or copy from clipboard

    PE9 for Macwon't open blank files or "copy from clipboard."  I get error messages that say, "Could not complete the command because of a problem using the Adobe color engine," when I try to create a new blank file, and "Could not place because of a program error" when trying to "copy from clipboard."  I tried reinstalling the software, but that didn't help.

    Are you still facing the same problem ?
    can you try it after resetting your preferences.
    To reset your preferences at the time of launching PSE press command+option+shift key combination untill following pop up comes.
    Addi

  • Missing photos when opening multiple files into Photoshop from LR3.2

    When I try to open multiple files (8+ maybe) from Lightroom 3.2 to edit in Photoshop CS5, almost always one or two photos does not open. This means I have to manually find out which photos are missing, and then reopen them.
    Can anyone help me with this problem??

    I have opened as many as 50 from external hard drive with LR 3.2 and Windows XP with no problem.
    It takes a long time to bring in this many if they are 100MB tiffs.  I had to go have coffee and come back later.
    Are you sure you waited until it was finished?

  • How to open m4a file in GarageBand from iTunes music?

    How do I open m4a file in GarageBand from iTunes music (first recorded on iPhone Voice Recorder). I am recording my foreign language teacher and want to be able to replay at slower pace than she speaks.

    ArtDog11 wrote:
    How do I open m4a file in GarageBand from iTunes music
    http://www.bulletsandbones.com/GB/GBFAQ.html#importfromitunes
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    ArtDog11 wrote:
    want to be able to replay at slower pace than she speaks.
    http://www.bulletsandbones.com/GB/GBFAQ.html#changeimportedtempo
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • I get a "No Editor" when I open a file on Xcode?

    Hi gang, I'm new to the forum so my apologies if the question has already been asked.
    I keep getting a No Editor every time I reopen my files in xcode? I've trolled online forums for
    solutions but none seem to help.
    Thanks in advance.
    OsX 10.8.2 xcode 4.5.2 (4g2008a)

    I'll throw out some ideas I've gleaned from the net - you've probably already tried them - I'm guessing here.
    1) Try pressing <Command><1> - Show Project Navigator
    from this link xcode4 - Trying to open project in xCode 4 - Stack Overflow
    I'm guessing that these are individual files that cause your problem and not the entire project?
    Tell me the file extension of the affected files. Or does it happen for all files?
    (You can tell I've never had this problem myself.)
    Here's some info from the Xcode documentation:
    "Xcode provides viewers to display some files for which it has no editor (some audio, video, and graphics files, for example). If you select a file for which Xcode does not have an editor or viewer, Xcode attempts to display the file using the same Quick Look facility used by the Finder."
    What happens when you try to open one of these source files in the Finder?
    2) Try double-clicking on the file to launch an editor in a separate window.
    ...yet another piece of info...
    "Note: Sometimes an editor pane may display the message “No Editor.” This means that there is no file selected in the detail view or the Groups & Files list."

  • Cant open .xib file in xcode

    I just got my Mac today and I am planning on develop an ipod app, and I got the book Beginning ipod development and I am in the 2nd chapter of the book and it told me to double click on the file that is .xib ... I double click on it and it opens up interface builder and says
    "the document helloworldViewController.xib could not be opened. Interface builder cannot open files of this type"
    and in the book it says I am supposed to open the file on interface builder but it wont open and I get that error, please help me I have no clue what to do.
    Please help me I really want to continue with my development.

    Apropos Rick's messages, the IB error you reported is most often caused by an installation or version problem. This often happens when a new SDK is installed over an older SDK, and is often fixed by removing as much of the previous SDK as possible before re-installing the new one. If you search on the text of your error message in this forum and/or Google, you'll find lots of advice on how to clean your system before installing a new SDK.
    Here's another link you should look at: [http://lists.apple.com/archives/Xcode-users/2009/Jan/msg00084.html].
    I'm also wondering what book you have. You said your book was titled "Beginning ipod development". I can't find that title on the net, so you probably didn't type the exact title. However if that is indeed to title of your book, it might be too old. So if the book came with a CD, you could have some xib files that are too old for your SDK.
    If the above doesn't apply to you, then take Rick's suggestion and get the latest SDK from the iPhone Dev Center. Then you'll need to clean your system to get rid of the previous SDK. Do this even if the previous SDK is the same one you just downloaded, because that's the best way to fix a bad installation. You should also consult the other posts on this subject that discuss permission problems. For example I think you could get IB to fail by installing as one user and then opening IB as another user.
    In any case, if you re-install, there's one step you must never omit: Rename your /Developer folder (e.g. to /OldDev).
    Hope that helps!
    \- Ray

  • Strange question mark error while opening pdf files in adobereader from SAP

    Hi Gurus
    We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button.
    This issue occurs few times a day
    This issue does not occur in Windows XP.
    Since past few weeks, we have been trying to find some error/warning/atleast some text in log files of SAP, OS, Adobe Reader, Registry entries, Event Viewer. So far, we have not found anything.
    SAP is not able to help as this issue occurs intermittently and said when they tried, the issue did not occur. They made two attempts and in each attempt they tried 10 times to reproduce the issue. This issue occurs intermittently.
    Environment
    SAP R/3 4.7 EE SAP_Basis 620 Support Package 61
    Windows Vista Enterprise
    Adobe Reader 9.0 and Adobe Reader 9.1 (tried with both versions)
    SAPGUI 710 Patch 12 (latest patch). It also occured in Patch 11. 
    Please suggest
    Thank you
    Pavan

    Thank you for the quick reply.
    We tried many notes from Service Market Place. Also, Windows Team is in contact with Adobe.
    As per Adobe's suggestions, we tried changing preferences of Adobe Reader. We think it might be a problem with SAP Frontend.
    Present status - Issue still exists. nothing works.
    Thank you

  • After upgrading to CC, I can't open a file in photoshop from LR5 interface.

    Pre CC I could 'edit in' from LR5, but now, when I attempt to 'Edit in -> Photoshop CC' nothing comes across to Photoshop CC.
    Any ideas?

    Hi, I need -
    OS 9's Finder uses File Type and Creator codes embedded in files to determine how the file should be handled - what program to use to open it, and how that program should process the file.
    OSX uses filename extensions rather than File Type and Creator codes.
    As a result, it is not uncommon for a file created in an OSX environment to be displayed as a generic unknown-type document when the machine is booted to OS 9; and for Finder to not know how to handle it when it is double-clicked.
    If you know that a certain program in OS 9 should be able to open a file, try dropping that file onto the icon for that program (or on an alias to that program) - some programs are capable of trying to open a file done that way; others won't even try.
    In most cases, a file created by an OSX app will not be openable by an OS 9 app - this is understandable, given that newer programs often use more advanced formats than older ones, even versions of the same program.
    If you know that you will be transporting a file from OSX to OS 9, try saving it in a form accessible by OS 9 - many programs will offer a list of alternate file formats when you do a Save As of the file, or (in some cases) an Export of it.
    Question: does the Internet connection (Internet Explorer vs. Safari play any role ?)
    It certainly can. If Safari saves a file in a proprietary format, then IE will probably not be able to open it. However, a file saved in plain html should be openable by most any browser.
    You might experiment with the settings in OS 9's File Exchange control panel, particularly the ones listed under PC Exchange. Adjusting some of these, or creating new linkages, may allow OS 9 to handle files which are openable by your OS 9 programs, but which are not identifiable by Finder.

  • Can't open RAW file when moved from Lightroom to Photoshop CS4

    I have a Canon 6D and recently purchased Lightroom 4.4 so that I could open my Canon RAW files. They do open in Lightroom, but when I move them to PHotoshop CS4 I can't open the files. I get a message telling me I can't open them. Any suggestions?

    I don't know Macs so can't give you advice if CS6 will run on your Mac.
    But since you have Lr5 you won't need to open Raw images in Photoshop. Lr5 gives you all the Raw editing capabilities that you need. I don't think CS6 will add anything to Raw editing capabilities that Lr5 doesn't have - although I don't know CS6 since I am still working with CS5.
    You still can send images from Lr5 to CS4 for editing but you have to select <Render using Lightroom> in the dialog that says that the "Camera raw plug-in 8.1 may be required   ...". BTW: what this means is that the Camera raw plug-in 8.1 is required for Photoshop, not for Lr.
    When you select <Render using Lightroom> Lr will create a TIFF / PSD from the Raw image and send it to CS4 for editing.
    If you had CS6 Lr would send the Raw image to CS6 but on saving the edits in CS6 a TIFF / PSD would be created.
    The only drawback with using CS4 is that the options <Merge to Panorama ...>, <Merge to HDR ...>, and <Open as layers> will be greyed-out and are not available.
    If instead of selecting  <Render using Lightroom> in the dialog box you would select <Open anyway>, nothing would happen. CS4 would open but the image would not be displayed in CS4.

  • Help! I can't open my files in ImageReady from Adobe Bridge

    I have Photoshop CS2. I recently wiped my hard drive and reinstalled the original factory software, and then reinstalled Photoshop CS2, and it has been a little glitchy ever since then. For example, I arrange my files in Adobe Bridge, and then when I go back to them later they are not in the order I put them in. The program is putting the .BridgeSort file in the folder, so that is not the problem. When I restart the computer, if the last folder I had open in Bridge was sorted, it will still be sorted when I reopen Bridge, but if I open another folder that I already sorted it reverts back to the way it was before I sorted it.
    Also, I can't open any files in Adobe ImageReady from Adobe Bridge. Before I wiped my computer, when I wanted to create a slideshow in ImageReady, I just selcted the files I wanted to open and then right-clicked and chose "open in / Image Ready", but now that doesn't even come up as an option. I have already tried uninstalling photoshop and reinstalling it but that didn't fix the problem.

    Try something like this:
    1. Use window explorer to find a jpeg on your computer
    2  Right click on that jpeg file and go to Open With>Choose Program
    3. If the box that says:Always use the selected program to open this kind of file
        is checked, uncheck it and then press the Browse button.
    4. Navigate to the location of the cs2 ImageReady program and double click on it, then
        press ok in the dialog and the jpeg should open in ImageReady.
    5. Close ImageReady and right click on the jpeg and hopefully ImageReady will be
        listed as a choice.
    Hopefully cs2 bridge will also show ImageReady as a choice for jpegs.
    MTSTUNER

  • Opening Raw files in CS6 from Olympus OM D   EM1

    Can anyone advise How I can open raw files from OMD  EM1 camera.  I ran updates from Help menu in CS6 but it still wont open them.

    You need at least ACR 8.3 for that camera model.
    What version of ACR do you have now?  Help / About Plug-ins / Camera Raw will tell you.
    If Help / Updates doesn’t install anything, then you may be able to use the manual installers, here:
    http://helpx.adobe.com/x-productkb/multi/camera-raw-84-support-policy.html

Maybe you are looking for