Xcode and C/C++

I recently upgraded my Leopard to SL. I then installed Xcode 3.2.1, but I'm no longer able to create regular C/C++ projects. Can anyone help me?

I'm assuming that by "them" you mean the Carbon project templates. You have to install Xcode 3.1, at least temporarily. You can have Xcode 3.1 and 3.2 installed on the same computer.
After you install Xcode 3.1, copy the Carbon application templates to the location of user project templates. The Carbon templates are in the following directory:
XcodeInstallLocation/Library/Xcode/Project Templates/Application
Where XcodeInstallLocation is the directory where you installed Xcode 3.1. Copy the templates to the following directory:
/Library/Application Support/Developer/Shared/Xcode/Project Templates/Carbon
You will have to manually create some of the folders in that path, at least the Project Templates and Carbon folders. After copying the Carbon project templates, restart Xcode and create a new project. Under User Templates, there should be a Carbon entry. Select it and you should be able to choose the Carbon application projects. At this point, you can uninstall Xcode 3.1.

Similar Messages

  • How can i create link between ipad(xcode) and webserver?

    Hi, I'm a new to iPad development and i need help,
    i'm not good with english but i try to explain my question:
    how can i create link between ipad(xcode) and webserver?
    (the webserver ".NET" with driver odbc is connected with DB Oracle)
    so, how can my ipad application access to the Oracle DB?
    Create a webservice (.NET) to be place between iPad and DB, is this correct?
    how can i do it?
    which are libraries to include in the xcode's framework?
    thx

    I think the following URL will be your best answer:
    http://stackoverflow.com/questions/3510468/connecting-iphone-to-an-odbc-database

  • Upgrading to xcode and can't connect to the network

    Hi! I use a C++ library in my application which connects to the network (I suppose it uses sockets). I've been using it for months and I was using xcode 3.2.4. Now, I just had the great idea of upgrading to xcode 3.2.5, and I found out my application was crashing with the error:
    If you are encountering this problem running a simulator binary within gdb, make sure you 'set start-with-shell off' first. 3.2.5
    Ok, couldn't solve it, so went back to 3.2.4, as suggested somewhere. The application is not crashing anymore, but now the library can't connect anymore to the network. Tried to rebuild it (I didn't write the library but I have the sources) and use the new library, but nothing. Still the library can't connect to the network. I tried with every simulator.
    Any idea what there could be wrong and how I may be able to solve this? Can I somehow delete manually everything related to xcode and the simulator and try to start all over again?
    Thanks!

    I've been able to temporarily solve this problem by removing the entire Development directory and installing again xcode 3.2.4. Even with xcode 3.2.4 however, the same happened, and I had to do this procedure again. Now it seems to be working correctly, but it seems something very strange has happened. Hasn't anyone experienced anything similar?
    Thanks!

  • Why can't I exit Xcode and shut down my computer?

    Hello,
    I have just installed Xcode and I don't think I like it.
    This time I CAN'T Exit Xcode and shut the computer
    down, I can't do nothing. Even if I hold down the
    off/on button nothing will happen, I guess I have to wait
    until the battery runs out! However, any suggestions?

    try to use "Force Quit":
    The choose "XCode" from the list of items to quit:

  • How to create fxplug transition for xcode and quatrz composer

    how to create fxplug transition for xcode and quatrz composer?

    Hi Mohan,
    You have to create and configure your system in the system administration tab in the portal.
    Usually, it looks like the following:
    System from template: JDBC System
    Connector properties
       Connection URL: jdbc:sap:sqlserver://<serverlocation>;DatabaseName=<database name>
       Driver class name: com.sap.portals.jdbc.sqlserver.SQLServerDriver
    User management properties
       User mapping type: admin, user
    Set the system with an alias.
    Go to user administration tab and map the user with VCRole to the configured system
    (the default for MSSQL is usauly user: sa and pw: admin)
    Save your changes and logon to VC with this user.
    The alias name should appear in your list of systems.
    Hope I helped,
    Shay

  • I am new to xCode and SDK Disks. My Interface Builder will not work and 'quit's unexpecteldy'. What can I do? I really want to create an applicaiton. Thanks

    Hi, I am a new user to xCode and just recently downloaded a SDK Disk image and also an older version of xCode from the Apple Developer site. I opened the 'Interface Builder' for the first time and it worked. Next, when I tried to open it again (with and without the xCode 'Mainmenu.xib' attachment file from xCode) it kept showing the message "it quit unexpectedly".
    I need to create an application for a project I am working on. If anyone who can resolve my problem of why the Interface Builder is not working, that will be great.
    If you need additional details (like which versions etc.) please ask, for I am desperate to find an adequate solution to this problem.
    Thanks.

    If you need additional details (like which versions etc.) please ask, for I am desperate to find an adequate solution to this problem.
    Without intending any disrespect, if you had suspected these would be questions and if you're in a hurry for an answer, then why did you exclude the information?  And yes, knowing the Mac OS X version (preferably Mac OS X 10.5.8 or 10.6.7) , as well as the Xcode version might shed some light on this.  Might.  And I'll presume there's a specific reason you downloaded what I will assume is an Xcode3 version.
    Was this an existing Xcode project, or did you start with a new project here?  If it's an existing project, it could well have a corruption or an incompatibility.
    Initially, I'd probably start with a new project, and load in newly-copied source files.  On the off chance the project is corrupted.
    Failing that, I'd deinstall Xcode using the documented procedures, and would then reload it.  If there was an old version of Xcode around on the system, sometimes wonky stuff can happen with an installation.
    And FWIW, the Apple Developer Forums and the Apple mailing lists tend to see far more developer-related traffic than do these particular forums.  (There's an Xcode users' mailing list around which sees regular traffic, too.)

  • Xcode and older Java projects

    Help!
    Recently I've tried to re-run some older Java Xcode projects and have received this error message:
    "Jam is deprecated and has been removed; targets that use Jam must be upgraded to native targets. For more information on doing this, consult the Xcode documentation."
    I can get around the problem by copying the old code into a newly created project; however, when I tried to follow the instruction in the error message and consult the Xcode documentation, I could find no information on how to do this. I have tried searching the user docs for all of the terms in the above message with no useful results. Selecting "Upgrade all targets to native" from the Project menu produces a warning that this is not supported in Java.
    I must be missing something really obvious. Can anybody tell me what is going on?
    Thanks, dcl

    Thanks for the quick reply, Karl.
    I should have mentioned that I'm pretty much a beginner with Xcode and Java (actually, with software in general). I get the impression that you don't think that Xcode is a very good way to develop Java. Why is that?
    For my level of programming it works just fine (usually). If I start with a new project there is no problem; however, I can't go back and work on older projects because of the problem I mentioned in the original email.
    Any clues as to what is going on?

  • Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution

    Hello I am on a macbook pro (retina IOS 9) i have installed xcodes and command line tools but codeblocks does not compile, terminal gives this message /Users/MacPc/Desktop/Untitled1: Permission denied      any one has a solution?? please...

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • How do I completely uninstall Xcode and Developer Tools?

    **Sorry if this isn't the place to ask this, but I really didn't find a section dedicated to this, so I'm asking it here.**
    I installed Xcode and the Mac developer tools from Apple's developer site page and I'm not going to use it (for the time being anyway). I dragged and dropped all of the files from the download into the trash and emptied it. Then, I went to Terminal, and typed in the following:
    sudo /Developer/Library/uninstall-devtools –mode=all
    It gave me a prompt to enter my password before continuing, entered my password, and then that was it! Question is, though, is this really it? Did I really get rid of Xcode and all of the developer stuff that came in the Mac Developer Tools download?

    The only thing that I could find in utilities that started with "X" was something called "X11". Also, I had Xcode 3.1.2 installed, and at first I tried typing this command in Terminal:
    $ sudo <Xcode>/Library/uninstall-devtools --mode=all
    I got this from the "About Xcode 3.1.2" document from Apple's developer site, but it wouldn't work. Then I tried the code that I posted in my first post, and I guess it worked. I actually entered the code
    sudo /Developer/Library/uninstall-devtools –mode=all
    a few times (for closure) and the same thing happened every time: password to continue and, that's it! So I guess it worked. I actually got that code from a blog after googling "how to uninstall xcode 3.1.2 and developer tools"!

  • Cheapest option for someone new to mac wanting to use xcode and try develop

    Hi
    Apologies if this is in wrong location but couldnt find a general section
    I havent used mac before, looking to find cheapest option to get in to the mac World and try my hand with xcode / develop the likes of an app for iphone for fun
    Had found a imac5 1 but when I researched further it would appear that I might not be able to use this for latest version of xcode and therefore wouldnt suit my need. Shame as I think I could have got it for €300
    Am I correct - in that its not suitable?
    Any suggestions on what else would be suitable or where I could start?
    I couldnt afford to spend €1,000 or more on a new mac whether it was desktop or laptop etc.
    I want to get something thats useable (not from the dark ages) but realise that I may have to go back at least a few years thus the reason I was looking at the imac5,1
    Thanks for your time. Any help advise etc would be appreciated.

    The latest XCode requires OSX Lion. That requires:
    Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of RAM
    Mac OS X 10.6.6 or later with the Mac App Store installed
    At least 4GB of additional disk space to accommodate the download, but more is obviously recommended
    Thus, assuming that whan you said imac5 you were referring to an iMac with an Power PC G5 processor you are right i that that is not compatible.
    There are some Mac with an Intel Core sSolo and just Intel Core Duo processor that will not work with the latest XCode.
    I would look for a Mac Mini 2007 or later since those meed the XCode requirements

  • Do I need xCode and developer tools?

    Hi,
    Do I need Xcode and the developer tools? I'm not a software developer and don't see a time when I will be. I did a quick check and the Developer file on my HD is taking up roughly 6 GB of space. If I don't need them, I'd love to free up that space for other things (i.e. movies, music, photos, etc.). If I don't need them, what is the best way of going about getting rid of them?
    Thanks

    You dont need them at all if you're not a developer or do not use any of the utilities for troubleshooting or any other purpose. To uninstall the developer tools, open the Terminal and enter the following command:
    sudo /Developer/Library/uninstall-devtools -mode=all
    Supply your password, and you should be all set once the script is done running.

  • IPhone, xCode and iTunes

    Hi All
    Got my new iPhone 2 days ago.  Worked a treat with iTunes opening when the phone was connected with a cable.
    Today I installed xCode and now when I plug my iPhone into my Mac I get xCode and not iTunes opening.
    Is there any was of returning to the original behaviour?  (i.e. itunes opening when iPhone conected to my Macbook).
    Thanks in advance
    Sathers

    Cable, or the dock connector on the bottom of the phone. Try cleaning it with a dry toothbrush and/or wooden toothpick.

  • Exporting screen layouts made with Creative Cloud for Xcode and Eclipse.

    Hi,
    I would like to know if it is possible to create the screens layouts (User Interface) with Creative Cloud and export the code to my developers in a way they can add additional coding to the screens I've created.
    I am insterested in export to iOS devices (Xcode) and Android (Eclipse).
    Tks,

    You Deserves cookie. YOU DESERVE COOKIE!!!!!
    Adobe could never figure out why people were experiencing the problem, telling them to go to appdata rename this, uninstall this that, and the freaking coresync x64 wouldn't erase.
    I was lucky that I born in the SSD era that it didn't take me that much time restarting my computer, I had to restart my computer so many times...and all my efforts was unnecessary.
    I couldn't find this thread until today. Thanks. Adobe should request Google to move this thread up.

  • I have 4GB ram running 10.7.5 . Would installing Mavericks make it easier to run apps such as VMware,Xcode and ADT(Eclipse)?

    I have 4GB ram running 10.7.5 . Would installing Mavericks make it easier to run apps such as VMware,Xcode and ADT(Eclipse)?

    I fully agree with Barney-15E above.
    Well if you are entertaing the idea why not up grade the OS
    Then see for yourself how you use your Mac.  You can always upgrade at that point.
    RAM is the best bang for your buck.
    OWC  http://www.macsales.com/
    Crucial  http://www.crucial.com/
    System requirement fot Mavericks actually designate 2GB minimium:
    http://support.apple.com/kb/ht5842

  • Xcode and network password

    Hey All,
    I am writing my first application in Xcode and everything is working fine except for a password issue.
    A little background;
    I have a simple application that when a button is clicked, an AppleScript is launched and loads a Growl notification on my local machine and another computer on the local network. I have store the password in the script in the form of "eppc://USER:[email protected]".
    The issue I am having is that every time my app is launched and sends the command to the remote computer I get a dialog that asks for the username and password to use on the remote computer. I enter the user and pass and tell it to add to my keychain. As long as a leave the application open it never asks again. If I close and relaunch the application it will ask for the user and pass again. The information is being added to my keychain but it doesn't seem to want to use it.
    Here is my question:
    Is there a different way to need to save the user and pass in my script so I don't have to enter it every time I launch the application? I don't mind if it is stored in cleat txt as we are on a secure access network and everyone with access to the script already knows the user and pass.
    Thanks in advance for any help,
    GaffMan

    http://developer.apple.com/library/mac/search/?q=keychain
    Keychain Services Programming Guide 
    Keychain Services Tasks for Mac OS X 
    Keychain Services Concepts 
    Certificate, Key, and Trust Services Programming Guide 
    Glossary 
    Certificate, Key, and Trust Services Tasks for iOS 
    Secure Coding Guide 
    Mac OS X and iOS Security Services 
    Developing Secure Software 
    Security Overview 
    Security Services 
    Security Architecture 
    Keychain Services Reference 
    SFKeychainSettingsPanel Class Reference 
    SFKeychainSavePanel Class Reference 
    Mac OS X Man Pages 
    systemkeychain(8) Mac OS X Manual Page 
    security(1) Mac OS X Manual Page 
    Keychain APIs Release Notes 
    QA1486: Programmatically Accessing and Manipulating Multiple Keychain Items 
    Certificate, Key, and Trust Services Reference 
    Good luck

Maybe you are looking for