An Xcode version error in MacPorts

A have freshly checked-out from svn, built and installed MacPorts. I have installed Xcode4.3. I get the following error when trying to call "sudo port install X":
Error: The installed version of Xcode (3.1.4) is too old to use on the installed OS version. Version 4.1 or later is recommended on Mac OS X 10.7.
"xcodebuild -version" returns:
XcodeComponent versions: DevToolsCore-1809.0; DevToolsSupport-1806.0 BuildVersion: 10M2518
I have recently updated MacOS to Lion and I used to have an older version of xCode in SnowLeopard, which didn't work in the new system. I didn't uninstall it explicitly, but I also don't find any trace of the old Xcode on my system.
Any ideas? Please, help!

Xcode use to be installed in /Developer see if that folder is still there.
Also Xcode now has changed, it is installed in /Applications and is no longer bundled with all the other developer bits. In your current xcode look in Preferences->Download  for inks to get some o the tools back. I would think that you specifically need the command line tools for hat you are trying to do.
You'll get better response to questions like this one if you post to  the Developer Forums
regards

Similar Messages

  • XCode version required for InDesign CS5

    I am using XCode (version 3.2.2) to build projects . Although SDK sample projects are getting build  correctly ,but project created using DollyX gives many errors.
    Can anybody tell me does CS5 supports my XCode version . In porting guide it is specified that InDesign CS5 still requires Xcode 3.1.3.
    So do I require that.

    Hello,
    I am using 3.1.
    P

  • XCode return error

    I followed a tutorial by Apple, and i made the exact application as they did (with a small difference that i am sure it does not counts) and still, it return me a error:
    error: syntax error before '{' token
    error: syntax error before '}' token
    fatal error: method definition not in @implementation context
    Even when i made the EXACT application as in the tutorial, it still returned me a error. What is the matter? Different XCode version? For some reason instead of .nib's i get .xib's, might this be the problem?
    This is the mail controller class:
    #import "CalculatorController.h"
    #import "Calculate.h"
    @implementation CalculatorController
    - (IBAction)calculate:(id)sender {
    float result;
    calculate = [[Calculate alloc]init];
    [calculate setA:[val1 floatValue]];
    [calculate setB:[val2 floatValue]];
    result = [calculate calculatesum];
    [sum setFloatValue:result];
    @end
    The error is right after the first line.

    Controller's Header:
    #import <Cocoa/Cocoa.h>
    #import "Calculate.h"
    @interface CalculatorController : /* Specify a superclass (eg: NSObject or NSView) */ {
    IBOutlet id sum;
    IBOutlet id val1;
    IBOutlet id val2;
    Calculate *calculate; //Pointer spre clasa;
    - (IBAction)calculate:(id)sender;
    @end
    Calculator class:
    #import "Calculate.h"
    @implementation Calculate
    @synthesize a,b;
    -(float)calculatesum{
    return self.a+self.b;
    @end
    Calculator Header:
    #import <Cocoa/Cocoa.h>
    @interface Calculate : NSObject {
    float a;
    float b;
    @property(readwrite) float a,b;
    -(float)calculate;
    @end
    The UI is just a window with 3 textboxes and a button. 2 textboxes to take the 2 numbers and 1 to return the result.

  • Xcode version 4.2.1 required - Cannot Install, OS X 10.8 Too New

    There is a reason why I need an Xcode version eariler than 4.3..
    I need to install some programs supplied by my university that make use of GIMP toolkit libraries (http://www.gtk.org) for the UI.
    GTK has certain prerequisites though, one of which being: I need Xcode installed.
    This would be all very well, but GTK contains a Python program called jhbuild which looks for the Xcode GCC Compiler in: /usr/bin and the SDK in /Developer.
    Now, am I correct in thinking that the /Developer folder no longer exists for currect versions of Xcode? (version 4.3 +)
    That would mean that I'd have to install an eariler version.
    After downloading Xcode 4.2.1, I tried installing it to be given an error: 'Xcode can't be installed because the version of OS X is too new.'
    So, I don't suppose anyone would know of a solution to this?
    Cheers, Jonathon

    Read the following, and see if the following steps eliminate the need for an earlier Xcode.
    Make sure you have updated to OS X 10.8.2 (including supplement).
    Install Xcode 4.5.2 from App Store.
    From Xcode 4.5.2 preferences > Downloads > Components, Install the Command Line Tools.
    (This puts the compilation environment in the expected /usr/bin location.)
    Now, resolve /Developer with a hard link:
    sudo ln /Applications/Xcode.app/Contents/Developer /Developer
    sudo chown root:wheel /Developer
    I cannot promise that the GTK jhbuild won't be checking for other dependencies that the above steps do not correct.
    In your startup file, you should add the following to your PATH: /Applications/Xcode.app/Contents/Developer/usr/bin

  • Open GL Version Error

    My Java 3D application is showing open gl version error as shwon below:
    javax.media.j3d.IllegalRenderingStateException: GL_VERSION
    *     at javax.media.j3d.NativePipeline.createNewContext(Native Method)*
    *     at javax.media.j3d.NativePipeline.createNewContext(NativePipeline.java:2681)*
    *     at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4827)*
    *     at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2372)*
    *     at javax.media.j3d.Renderer.doWork(Renderer.java:876)*
    *     at javax.media.j3d.J3dThread.run(J3dThread.java:256)*
    DefaultRenderingErrorListener.errorOccurred:
    CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context
    *graphicsDevice = Win32GraphicsDevice[screen=0]*
    *canvas = javax.media.j3d.Canvas3D[canvas0,0,0,1016x683]*
    Java 3D ERROR : wglGetExtensionsStringARB not support !
    - The specified procedure could not be found.
    Fallback to use standard ChoosePixelFormat.
    Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)
    After going through the forums I have found that updating the graphics card drivers can be a solution for the problem.
    Even after updating the grapichs drivers I am getting the same error as above.
    However when i checked the current open gl version using following link :
    http://download.java.net/media/java3d/webstart/prototype/QueryGL.jnlp
    its is showing the open gl vesrion as 1.3 as shown below.
    GL_VERSION = 1.3.0 - Build 4.14.10.4342
    GL_VENDOR = Intel
    GL_RENDERER = Intel 845G
    GL_MAX_LIGHTS = 16
    GL_MAX_TEXTURE_SIZE = 2048
    GL_MAX_3D_TEXTURE_SIZE = 128
    GL_MAX_CLIP_PLANES = 6
    GL_MAX_TEXTURE_UNITS = 4
    Please suggest how to work around this problem.
    Thanks,
    Divya

    What operating system are you on and what is it you are trying to do? "Texture too small" is more or less a transparency blending problem (see http://aeerrors.myleniumstuff.de/?p=750) or texture cropping problem, so it matters, what you are doing. comp preview res and size e.g. on text layers could be influential. The 8600 series should be just fine. While not exactly a precise comparison, the mobile version works just fien in my Macbook both under OSX and Vista, so something else must be the problem.
    Mylenium

  • Unsupported version Error while generating header and footer for the PDF

    hi
    I want to genrate header and footer for the PDF file however on the call of the EndPage class i got a Unsupported Version Error Unsupported major minor Version Error and Class loader Define class
    What has gone wrong ?.

    Can you provide more information about what you were trying to do? In particular, what does your code like like?
    Also, can you include the stack trace, and the complete error message?

  • "Invalid DOS version" error message when installing Tomcat in Windows98

    I tried to install Tomcat 5.0 in Windows 98. At first, it produced "Out of Environment Space" error message. I then changed the "Initial Environment" from Auto to other values (bigger than 2816) for both startup.bat and shutdown.bat.
    When I restarted the Tomcat, it produce "Invalid DOS version" error message. I thought about updating the DOS but previously when I had WinXP installed in computer, I couldn't access to the server due to the dos version issue.
    Is there any way to handle this? I would really appreciate the help:) Thank you very much..

    no, use the serial number listed on the page where you downloaded acrobat 7, not your acrobat serial number

  • Hello , how r u,  can i ask 1 question about xcode, i have mac os x 10.7.5 , n xcode version 4.6.3 i want build apps for ios 7.1 n mac os 1.9 ,, , but my macbook is old late 2008 macbook 4,1,  so can i develop apps for ios7 n 1.9 using xcode 4.6.3, bcz my

    hello , how r u,
    can i ask 1 question about xcode, i have mac os x 10.7.5 , n xcode version 4.6.3 i want build apps for ios 7.1 n mac os 1.9 ,, , but my macbook is old late 2008 macbook 4,1,  so can i develop apps for ios7 n 1.9 using xcode 4.6.3, bcz my machine cant upadte on 1.8 n 10.9,, ihave 2gb ram . core 2 duo pr, plz rely asap,
    thnxs

    Please type complete sentences and words.  This isn't an instant message program.
    https://developer.apple.com/support/ios/ios-dev-center.html

  • After upgrade java version - Error occurred during initialization of VM

    Hi,
    I have upgraded the java version to 6 in apps tier of my 12.0.4 ebs running on OEL 5.
    I followed below steps for this.
    Download Latest JDK 6.0 Update
    Stop All Application Tier Services
    Replace JDK Home Used With Oracle E-Business Suite Release 12
    $ cd [IAS_ORACLE_HOME]/appsutil
    $ mv jdk jdk_old
    $ mv jdk1.6.0_15 jdk
    After that when i tried to do any thin starting the services, autoconfig it gives me below error.
    $ADJVAPRG -version
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    Do i need to update any values in XML file?
    Please help.
    Thanks,
    Kavitha

    I have upgraded the java version to 6 in apps tier of my 12.0.4 ebs running on OEL 5.
    I followed below steps for this.
    Download Latest JDK 6.0 Update
    Stop All Application Tier Services
    Replace JDK Home Used With Oracle E-Business Suite Release 12
    $ cd [IAS_ORACLE_HOME]/appsutil
    $ mv jdk jdk_old
    $ mv jdk1.6.0_15 jdkDid you complete all the steps in (Using Latest Java 6.0 Update With Oracle E-Business Suite Release 12 [ID 455492.1])?
    After that when i tried to do any thin starting the services, autoconfig it gives me below error.
    $ADJVAPRG -version
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    Do i need to update any values in XML file?
    Please help.What does "echo $ADJVAPRG" return? Make sure it is set in the context file correctly and run AutoConfig then.
    Please see "Step 5.2: Verify Configurations On All Application Tier Nodes" section in (Using Latest Java 6.0 Update With Oracle E-Business Suite Release 12 [ID 455492.1]).
    Thanks,
    Hussein

  • JSPM: NWDI-controlled SC in REVISE due to SC Version Error

    Hello,
    We are still very new to working with the J2EE Engine and NWDI, so naturally we are finding our way through our mistakes.  We are in the process of implementing Enterprise Portal for ESS/MSS, and we have made some custom modifications to both of these components.  We are using NWDI to control the modifications, and after some initial mis-steps, we think we now have a reasonable working landscape.  However, we are now unable to apply support packages for ESS to our Test system.
    We successfully applied sps8 for ESS/MSS/PCUI_GP/ASR and sps11 for NetWeaver to our Development system, using NWDI and NWDS to re-apply our modifications to ESS and MSS.  The combined SP's and modifications went into DEV just fine, they imported into the CONS queue (no runtime system) fine, they assembled successfully, and now I am trying to import them into TEST using JSPM, but here is where the problem lies.
    In the "Check Queue" phase of JSPM, the ESS component is in status REVISE, and the detail message says "New component sap.com/SAP_ESS with version 600.8.0 and provider JD1 does not cover existing component with version 600.7.2 and provider JD1."  JD1 is our NWDI system/domain.  I think the basic problem is that for whatever reason, our TEST system has ESS in version 600.7.2, whereas in DEV it was in 600.7.0 (prior to applying sp8), and I have no idea why there is a difference.
    I have tried the import as a support package stack and as a collection of single support packages, but I get the same result.
    The MSS component has no such issue.  The status in Check Queue indicates that it has admitted our modification from the CMS track for deployment.  The assembled directory contains files for MSS, ESS, PCUI_GP, and ASR, as expected.
    The only thing I can think of is that prior to applying this sp stack, we had a misconfigured NWDI landscape (the transport directory was on the portal DEV server instead of the NWDI server, transports were variously held on the portal DEV server or the NWDI server depending on whether they were controlled by CMS, etc -- all of this is now fixed, but perhaps the damage is done), and the previous sp stack went into the systems prior to any modifications being done, it went in without NWDI control, and then modifications were transported into TEST separately.  However, supposedly the DEV and TEST systems had the same versions prior to this sp stack being applied.
    I know the documentation says that the component in the transdir must be replaced to fix the REVISE status, but we have nothing to replace it with.  It IS the correct version.  What I really need is a way to tell JSPM to ignore the version error and force the new (modified) component in, without losing the version history and track control in the CMS.
    Any advice on how to proceed will be much appreciated.  The NWDI and Portal are both NW04s release, and the NWDI is already at sps11.
    Best regards,
    Matt

    We resolved this problem by undeploying all ESS components via SDM, then applying all the support packages to still-deployed components with JSPM, and then redeploying the new/modified ESS package via JSPM with the option of "New Software Components."  I still don't know how the funny 7.2 sp.patch version number got there in the first place.
    --Matt

  • I can't find Cocoa-Java Application after Xcode Version 3.2.1 install..

    Can anyone tell me what happened to all the different Java Applications and Applet selections when File/New Project is selected from Xcode version 3.2.1 64bit? I can't seem to find it. Prior to installing this new version of Xcode, I had full access to all the different Java suites, now I have nothing. Please help, coding seems to compile, I just want to have the choices there for learning purposes. For example:
    Ant-based Application jar
    Java AWT Applet
    Java AWT Application
    Java Swing Applet
    etc.
    Any help would be greatly appreciated.
    I had just read in the Iphone Developer section that:
    +Important: You will need to re-install the iPhone SDK or Snow Leopard if you plan on developing iPhone applications after upgrading your Mac to Snow Leopard and installing Xcode 3.2.+
    Would somebody be able to give me installation instructions on installing the http://developer.apple.com/iphone/download.action?path=%2Fiphone%2Fiphonesdk_3.1.2__final%2Fiphone_sdk_3.1.2_with_xcode_3.2.1__snow_leopard_10m2003.dmg.. It looks like at this point I should have kept the previous version I was using and should have done a custom install. Am I allowed to create a folder called /Developer2 and put an older archived version of Xcode in there? Any help would be greatly appreciated.
    Best Regards,

    ...now I have nothing. Please help, coding seems to compile, I just want to have the choices there for learning purposes. For example:
    Ant-based Application jar
    Java AWT Applet
    Java AWT Application
    Java Swing Applet
    Changed - Apple has this to say about that:
    "The Java templates in the Organizer (Window > Organizer Cmd-Ctrl-O) are still present, however all but one of the Java project templates have been removed.
    The JNI project template is the only Java project template that remains, because it builds a native library. The template has also been re-written to be a full graphical Swing application that calls into the native Mac OS X address book. I'd highly encourage anyone who is interested in JNI development on the Mac to check it out.
    The only additional developer content we ship for Java is the source and javadoc for the JDK itself, and does not include any templates."
    -=-=-=-
    To create Java projects w/Xcode 3.2.1 as an example, you must first open Organizer by choosing Window > Organizer. At the bottom of the Organizer window, you will see three buttons.
    OrganizerBottomBar
    Click the + button on the left and choose New From Template > Java Templates to create a Java project. Click the right button at the bottom of the Organizer to show the editor. Use the editor to write your code.

  • Which Xcode version is compatible for Mac OS X v10.7 Lion ?

    Hi,
        I buy a latest Mac mini with OS version of MacOS X v10.7 Lion.  On that, I install xcode of the version 4.2. But after that I am facing lot of problems while working,
                The problems, I am facing are:
                                                                    The xcode is very slow,
                                                                    Frequent crashes while using xcode,
                                                                    Unable to create the bundle (or) unable to run the simulator after writing the code.

    bathiudeen wrote:
    Which Xcode version is compatible for Mac OS X v10.7 Lion ?
    v4.2 (free from the App Store)

  • "SQlite Version Error The application has been updated, but your version of SQlite is too old and the application cannot run." What is this all about?? Shall I give up on Firefox?

    When I tried to use Firefox this morning I got this message with exclamation marks.
    "SQlite Version Error The application has been updated, but your version of SQlite is too old and the application cannot run."
    What is this all about?? Shall I give up on Firefox?

    Sorry to hear that. I understand your frustration and I hope they send back a better working N78-3.
    Myself, I count myself lucky. Everything works perfectly for me right now...email, bluetooth, maps, gps, 3rd party apps, battery life, 3G, wifi, etc. etc.
    The only issue I've been having is the dreaded reboots but I believe that may have to do with 3rd party apps. I recently uninstalled Google Search app from my N78 and since then it hasn't rebooted or shown any issues. This seems odd at first but makes sense if you think about the fact that the Google Search app loads itself into memory and runs in the background at all times.
    I did this this past Tuesday night and so far no reboots, crashes or any problems. I'm sure I just jinxed myself but I've been using it heavily over the last few days with no issues. Prior to this, it would usually reboot every 2 days. If it doesn't reboot for another few days I'll be happy.
    I would normally not stand for this but I just love the phone and if I got something else it'd probably be the iPhone 3G which has perhaps more software bugs and issues than the N78-3!!
    Best of luck. Here's hoping they release an update soon.

  • "unsupported system version error" Message

    I just loaded Mavericks, upgrading from snow leopard server.  Everything uploaded great except I keep getting an error message that keeps popping up saying "unsupported system version error."  It tells me that I need some version of Mac OSX 10.6 to 10.8 to run this application.  What application is it talking about?  Everytime that I click "OK" to close the error box, it popps right back open immediately all over again.  Annoying!  I can't get rid of it.
    My question is what app is doing this?  It doesn't tell me.  How do I delete it off my system to stop this annoyance? When I mouse over the icon in the dock it says "Quay Menu"  I have no idea what this is or what I should do?  Any help woud be greatly appreciated.
    Thank You,
    -kirk
    2010 Mac Mini

    right click the quay menu icon in the dock and open in finder then delete the contents. have not had the message since

  • Java -version error when trying to do an upgrade

    Hi gurus
    i am having this problem with my java on SUSE 9.1
    java -version
    Error occurred during initialization of VM
    Unable to load native library: /usr/lib/SunJava2-1.3.1/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    which java
    /usr/lib/java/jre/bin/java
    my java installation is in /usr/java/j2sdk1.4.2_09  and i have defined this in .bashrc for my sidadm as i need to do an upgrade
    JAVA_HOME=/usr/java/j2sdk1.4.2_09/bin/java
    export PATH=/usr/java/j2sdk1.4.2_09/bin:$PATH
    export CLASSPATH=/usr/java/j2sdk1.4.2_09/lib
    Any ideas will be welcome

    i downloaded j2sdk1.4.2_09 and then uzippped it in
    /usr/java then edited the paths in .bashrc sidadm
    home directory.
    yes - but you´re logged on as root?
    I suggest, putting it on a different path instead of the SuSE  provided path, you will have trouble upgrading later SuSE packages if you overwrite the installed packages.
    I do it the following way:
    - cd /opt
    - j2sdk....*.sh
    - ln -s /opt/j2sdk1.4.2_09 java1.4
    - (as root)
    export JAVA_HOME=/opt/java1.4
    export PATH=$JAVA_HOME/bin:$PATH
    Then start installation.
    The advantage of using a softlink is the fact, that you don´t need to change anything later if you upgrade your JDK, just re-point the softlink.
    Markus
    Message was edited by:
            Markus Döhr

Maybe you are looking for

  • Can I save and open an attachemnt at the same time?

    I want to be able to open an email with an attachement or attachments and click on the save button for the attachment(s), designate the location (folder) where they are to be saved - but also tell Mail to save the attachments then open them up on the

  • Web template designs - any tutorials ?

    I have Fireworks 8 and would like to design some nice web templates for some sites. Not rickety designs but really nice ones, Web 2.0, etc. Are there any tutorials that help with that level of design? I've found some older tutorials but I'd love to f

  • How can i copy all SMS and Imessage from my old iphone(4s) to my new iphone(6plus)?

    I have over 8000 SMS in my 4s, so I want copy all of it to my 6plus but I dont know how to do that p/s: sorry about my Eng ^^

  • Tabs and Forms

    I have a jsp with 2 tabs and within each tab there is a form. Each form has its own Action Form bean and Action class, and they are both completely independent of each other. However when I submit the second form, it outputs this error "javax.servlet

  • Looking for an online bit calculator

    What's the best way of determining bit rate for long form jobs. I do between 1 1/2 hours to 2 hours 20 minutes? I am interested in 2 pass mainly. I will be using FCP6 & converting to m2v-ac3 in compressor then bringing into DVD studio pro4 for author