Issues with XCode

I was typing this in XCode (I had just gotten to the end) when this error comes up. A similar error also appears when I try to backspace over a double-slash comment if the comment is the first line.
What does the error mean and why is it coming up?
BTW I didn't realize the image links would cause the image to display; if they aren't, here are the links:
/___sbsstatic___/migration-images/105/10575740-1.png for the first one and
/___sbsstatic___/migration-images/105/10575740-2.png for the second one.
Message was edited by: musicwind95

I tried, and it did not help. Notice that I had typed the for(), pressed return, and tried to indent the code by pressing tab twice. I pressed them, XCode lagged, and then displayed the error. I cleared the caches before, and it didn't help. This issue has been present in Leopard as well as Snow Leopard, with XCode 3.1 and 3.2.

Similar Messages

  • A weird installer issue with xcode

    This is a new macbookpro i bought only a few weeks ago. I installed xcode on it, then removed it due to the fact that i needed to put some really huge hd video files, which needed all the hard disk space i could muster. After moving the videos from my mbp to my external hd, i tried to install xcode again. However, xcode's mpkg won't open, no matter how many times i open it with installer. Other mpkgs and pkgs work fine. What's the problem?

    Hi rhonnywhoop, and welcome to the Dev Forum!
    rhonnywhoop wrote:
    I installed xcode on it, then removed it ... i tried to install xcode again.
    There's no such thing as a weird issue with Xcode after an uninstall-install again cycle. Almost anything can go wrong and weird is the rule, not the exception. But yes, most of the strange problems show up after the installation (e.g., Xcode won't open, Xcode starts up but gcc always fails, Interface builder won't read nib files, etc., etc.). If I needed disk space for a video, I'd probably get another drive before I'd uninstall Xcode, but then I use Xcode all the time. Plus it's too late for that advice, so I'll try my best to point you in the right direction.
    A few questions:
    1) Was there any message when the mpkg failed to open? Please post any such message for us;
    2) Did you install from the DVD that came with your MacBook, or did you download a dmg from the Mac or iPhone Dev Center? If you haven't tried downloading the latest Xcode version yet, that might be worth trying;
    3) Did you uninstall from Terminal, using the command given in the Xcode doc (e.g. /Developer/"About Xcode Tools.pdf"? If not, how did you uninstall the prior Dev Tools?
    4) Is any entry made in one of your logs at the time of the failure? E.g., open Console.app (in /Applications/Utilities) and look for the most recent entries in install.log and system.log. If you find anything like that, please post it for us;
    5) Have you tried any additional cleanup besides the recommended uninstall (question 3, above)? Based on case histories in this and other forums, the most powerful trick is to rename /Developer (e.g. to /OldDev). Other tips will be found by searching on terms like "uninstall" or "clean" in this forum.
    In general, we can assume that since your previous installation was successful, the game is to restore your system to its past condition. This may seem like a no-brainer, but it might help to rule out irrelevant conditions as you try one thing after another. In fact, some developers have cleaned up by re-installing the entire system (needless to say, be sure to try restarting your system before resorting to anything that drastic!). On the other hand, some developers have reported that installing a more recent version of the Dev Tools (if any), can clean up a problem when repeated installs of the same system fail.
    I hope something above will lead you to a solution. Several other developers who regularly contribute to this forum know much more than I do about installation problems. For example, if etresoft joins this thread, be sure to follow his instructions completely and before any others.
    \- Ray

  • Issues with Xcode 4.3.2 Mobile Device Framework Installation

    After downloading this newest version of Xcode 4.3.2, I tried to open it.
    Xcode greets me with Xcode component installation, stating that Xcode must install the following components before continuing
    So I click install and type in the correct administrative password.
    But immediately after this, Xcode gives the alert " An unknown error occurred. See the install log for more details."
    However, the log proves to be not helpful at all.
    Apr  9 22:42:06 mediter diskmanagementd[30360]: DM ->T+[DMToolBootPreference getPartitionBootability:]: inUDS=0x101146c30=disk0s2=Mighty Lion
    Apr  9 22:42:06 mediter diskmanagementd[30360]: DM ..T+[DMToolBootPreference getPartitionBootability:]: PMBootable=1            (bootable right now without any further action)
    Apr  9 22:42:06 mediter diskmanagementd[30360]: DM ..T+[DMToolBootPreference getPartitionBootability:]: PMBootCapable=0         (bootable if you call MKCFPrepareBootDevice)
    Apr  9 22:42:06 mediter diskmanagementd[30360]: DM ..T+[DMToolBootPreference getPartitionBootability:]: PMBootSurgeryRequired=0 (for primitive MBR on BIOS, add boot block and loader)
    Apr  9 22:42:06 mediter diskmanagementd[30360]: DM ..T+[DMToolBootPreference getPartitionBootability:]: PMFSSurgeryRequired=0   (for primitive MBR on BIOS, add boot block and loader)
    Apr  9 22:42:06 mediter diskmanagementd[30360]: DM ..T+[DMToolBootPreference getPartitionBootability:]: PMNewfsRequired=0       (bootable with MKCFPrep but it will rudely carve)
    Apr  9 22:42:06 mediter diskmanagementd[30360]: DM <-T+[DMToolBootPreference getPartitionBootability:]: MKerr=0 out=132=0x84
    I tried to repair disk permission, then restart to try Xcode again, the same issue occur.
    I really can't figure out what went wrong here. Could anyone please offer a helping hand?
    Thank you very much!

    When I want to "Install That MobileDevice.pkg" appeared to me "The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance".
    You can help me, please ?

  • MacPorts install issue with Xcode

    When I try to install MAcPorts v 2.1.3 I get the message. Xcode is not installed, or was installed without UNIX Development. When I try to open Xcode to install I get a choose application message. Running a MacBook Pro on OSX 10.6.8, what application do I open it with to install?

    Look in Hard Drive/Library/Receipts. Do you see any .pkg files in there that could be related to FCP?
    Delete them and try again.

  • Issues With Xcode SCM Repository

    I've set up an SVN server on an iMac running Leopard as well as enabled remote login so I can ssh into it. Then I imported my latest Xcode project. It's a Java-based project. On my MacBook Pro also running Leopard I checked out the project using Terminal, then opened it in Xcode and configured it to use the repository over ssh. The little green jewel said Authenticated so I thought everything was working. I set the correct repository in my project settings and then edited a file. Yet when I select any file in the project, just about everything in the SCM menu is greyed out. The three Commit/Refresh/Update Entire Project items are not, however they fail with the following error:
    Error: 155005 (Working copy not locked; this is probably a bug, please report) Description: Commit failed (details follow):
    Error: 155005 (Working copy not locked; this is probably a bug, please report) Description: Directory '/Users/lord_jeremy/XCode/Java RTS/trunk/Java RTS/build/Java RTS.build/Java RTS.pbxindex/strings.pbxstrings/.svn' containing working copy admin area is missing
    I did a lot of google searching but I haven't found anything helpful. Is this a bug in Xcode 3.1.2 (the version I'm using)? If so, is it fixed in 3.2? I'd really prefer not to have to manage my project SVN via the command line,
    EDIT:
    I just noticed the stuff in the Get Annotations For submenu also isn't greyed out. Selecting Latest in that menu gave me the following error:
    Error: 210005 (Couldn't find a repository) Description: No repository found in 'svn+ssh://[email protected]/Users/lord_jeremy/Projects/Repositories/SVN/trunk/Java2TS/src/G ame/Objects/MoveableObjectBase.java'
    If you notice the path is .../trunk/Java2TS/... Is Xcode parsing some path somewhere incorrectly? I'm going to try reimporting the project without spaces in the name and see what happens.
    Message was edited by: Jeremy A

    I just noticed that for some reason the project is using an old path to my SVN repository. I recreated it and reimported the project but for some reason Xcode didn't realize that. I'm betting there's some little file somewhere that's causing my problem.

  • HT201487 i have a problem with xcode programming app when i lunch to it it asking me to enter my password and when i enter it the program show that it is wrong but am 100% sure it's wright so please help me with this issue thanks

    i have a problem with xcode programming app when i lunch to it it asking me to enter my password and when i enter it the program show that it is wrong but am 100% sure it's wright so please help me with this issue thanks

    That's not very intuitive
    Check your mail server setup (mail>preferences>accounts>) choose your MobileMe account and select Outgoing Mail Server (SMTP) dropdown box, select Edit SMTP server list, verify that each instance of the me server has a password, if there are more than one and you only have one account then delete the one without a password.

  • Issues With opening Xcode

    Hello,
    I have been having issues opening Xcode in my computer since I downloaded it a while ago. I have tried all of the textbook troubleshooting; uninstalling/ re-installing, updating software then re-installing, ect... but I am still getting the same error report when I try opening the application in my computer:
    Process:         Xcode [4342]
    Path:            /Users/eduardogarzajr/Desktop/Xcode.app/Contents/MacOS/Xcode
    Identifier:      com.apple.Xcode
    Version:         ??? (???)
    Build Info:      DevToolsIDE-18070000~38
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [87]
    Date/Time:       2011-11-07 16:25:07.010 -0800
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          175966 sec
    Crashes Since Last Report:           3
    Per-App Crashes Since Last Report:   3
    Anonymous UUID:                      EA3E26A9-0AEA-4262-AD4D-2D1540F08739
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0
    Dyld Error Message:
      Library not loaded: @rpath/DevToolsFoundation.framework/Versions/A/DevToolsFoundation
      Referenced from: /Users/eduardogarzajr/Desktop/Xcode.app/Contents/MacOS/Xcode
      Reason: image not found
    Binary Images:
        0x7fff5fc00000 -     0x7fff5fc3be0f  dyld 132.1 (???) <29DECB19-0193-2575-D838-CF743F0400B2> /usr/lib/dyld
    Model: iMac10,1, BootROM IM101.00CC.B00, 2 processors, Intel Core 2 Duo, 3.06 GHz, 4 GB, SMC 1.53f13
    Graphics: ATI Radeon HD 4670, ATI Radeon HD 4670, PCIe, 256 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 2.1.14.6
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: Hitachi HDE721010SLA330, 931.51 GB
    Serial ATA Device: PIONEER DVD-RW  DVRTS09
    USB Device: USB DISK, 0x090c  (Silicon Motion, Inc. - Taiwan), 0x1000, 0x26200000 / 3
    USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0x26500000 / 2
    USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8502, 0x24400000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x04500000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8215, 0x06110000 / 4
    Does anyone know what this means? If so what do I have to do to get the Xcode working again?
    Any help is greatly appreciated. Thank you.
    Eduardo

    You have installed Xcode to your home directory.
    Try re-installing to the default location: /Developer/Applications

  • Starting February 1, new apps and app updates submitted to the App Store must be built with Xcode 5

    Apple send out this message:
    "Starting February 1, new apps and app updates submitted to the App Store must be built with Xcode 5 and iOS 7 SDK. Learn more about building apps for iOS 7."
    A few questions about this to Adobe:
    - Which AIR SDK version is prepared for this ?
    - Do we need to recompile all ANE's ?
    Cheers.

    Hi All,
    The issue has been fixed and the build 4.0.0.1619 is available at
    http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air4-0_sdk_mac.tbz2 for mac and http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air4-0_sdk_win.zip for window. Please let us know if you will face any issues.
    Regards,
    Nimit

  • New apps and app updates submitted to the App Store must be built with Xcode 5

    I just received an email from Apple Developer saying that:
    "Starting February 1, new apps and app updates submitted to the App Store must be built with Xcode 5 and iOS 7 SDK."
    Does anyone has any idea how will this impact on those who build iOS apps using Flash cc?

    Hi All,
    The issue has been fixed and the build 4.0.0.1619 is available at
    http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air4-0_sdk_mac.tbz2 for mac and http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air4-0_sdk_win.zip for window. Please let us know if you will face any issues.
    Regards,
    Nimit

  • Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK.

    Hi Guys,
    i am receiving this error since last 3 days please help me resolve this.
    i am already using XCode 5.1.1 and iOS 7 SDK i have regenerated my app store provisioning profile twice after this issue.
    my app gets validated by Xcode and also gets uploaded successfully through Application Loader (i.e. latest one 2.9.1 i believe)
    but in itunes connect when i try to submit my app for review i receive this error.
    "Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK."

    I'm getting the same error as well, using Xcode 6.1 (6A1042b) on OSX 10.9.5.  My project settings in Xcode have “Deployment Target” as “7.0” and “Base SDK” as “Latest iOS (iOS 8.1)”.  I uploaded the app via Xcode, not with the application loader and I've tried re-generating my distribution provisioning profile.
    This is an update to an existing app which was previously built against iOS 6.0 sdk but all attempts to submit the update now produce the error message "Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK."

  • Issue with assistive access not keeping permissions

    Since a recent upgrade (likely from OS X 10.9.x to 10.10.2) I've had issues with Assistive Access blocking Automator and Applescript from interaction with dialogs.
    If I run my script or my Automator workflow (which basically has the same script in it) I get the error:
    System Events got an error: Automator is not allowed assistive access. (in the case of Automator).
    If I open Automator, and then untick and retick the Automator entry in the Accessibility options within Security & Privacy (System Preferences), then workflow can run again. It continues to work until I Quit Automator. Then it's as if OS X no longer trusts Automator to be the same app I gave Accessibility permissions to.  And the situation repeats. It's much as if it were not code-signed. The exact same issue plays out with Apple Script.
    I came across this info, which I hoped would solve the problem, but it made no difference: http://macscripter.net/viewtopic.php?id=43394 and http://bit.ly/1x3SRmc
    In my Accessibility permissions I now have:
    Script Editor
    Automator
    1Password 5 (which the script interacts with)
    com.apple.security.agentStub.xpc (in case that's being called up and triggering the Accessibility issue)
    osascript (in case that's handling the script and triggering the Accessibility issue)
    SecurityAgent.xpc (in case that was triggering the Accessibility issue)
    I added all these because the post at http://bit.ly/1x3SRmc     indicated that anything Apple Script is interacting with needs Accessibility access permissions.
    My script is as follows:
    set appName to "SecurityAgent"
    set passApp to "1Password 5" (* set this to the name of your password manager *)
    tell application "System Events"
      if not (exists window 1 of process appName) then -- test if SecurityAgent window exists
      set answer to display dialog "The password dialog was not found. Please check." buttons {"Ok"}
      return -- abort if SecurityAgent window does not exist
      end if
    end tell
    tell application "System Events"
      set position of window 1 of process appName to {10, 10}
    -- move SecurityAgent window out of the way
    end tell
    activate application passApp
    tell application "System Events"
      tell application "SystemUIServer"
      set answer to display dialog "Make sure correct 1Password item is actively selected (i.e. click it again if it was previously selected), then click “Continue” to proceed." buttons {"Continue"}
      end tell
      tell process passApp
      (* If you are not using 1Password, you may need to change the menu item clicks, below, to whatever is correct in your particular password manager *)
      click menu item "copy password" of menu "item" of menu bar 1
      delay 1
      set appData to the clipboard
      end tell
      tell application "System Events"
      tell process appName
      set value of text field 1 of window 1 to appData
      if exists (text field 2 of window 1) then
      set value of text field 2 of window 1 to appData
      if exists checkbox 1 of window 1 then
      if value of checkbox 1 of window 1 is 1 then
      click checkbox 1 of window 1
      end if
      end if
      set value of checkbox 1 of window 1 to 0
      delay 1 (* gives  a moment to see what's going on *)
      click button "OK" of window 1
      else
      if value of checkbox 1 of window 1 is 1 then
      click checkbox 1 of window 1
      end if
      delay 1 (* gives  a moment to see what's going on *)
      click button "OK" of window 1
      end if
      end tell
      end tell
    end tell
    In Automator it would appear the script is generating an error as soon as it reaches line 5, "if not (exists window 1 of process appName) then"
    I would greatly appreciate some assistance in resolving this issue.

    Starting with Mavericks, Apple changed the way that the accessibility works (see Using AppleScript with Accessibility and Security features in Mavericks) - each individual application needs to be given access, instead of a global option.  A regular AppleScript application saves properties and global variables with the script, which makes it a new application as far as the system security is concerned, so it needs to be re-added to the accessibility list.  To work with this new security feature, you need to code-sign your AppleScript application or make the script(s) in the bundle read-only so that they don't get changed (note that an AppleScript-based project in Xcode does not modify the application bundle by saving properties and globals).

  • Can a CS3 plugin be built with Xcode 3.1 and the CS4 SDK?

    My goal is to build a plugin that loads in CS3 and CS4 on both the Mac and Windows platforms. For the Mac development I have a machine with Xcode 3.1. When I try to build the automationfilter/hidden plugin sample I get a compiler error in PIDefines.h because some typedefs conflict with Apple headers. The CS4 SDK seems to have corrected these issues so I am now trying to build the samples from CS4SDK. The build is successful, but when I try to load the plugin into CS3 I get an error that causes Photoshop to abort (after a friendly dialog box telling me it is going to abort).
    I am wondering if the mix of tools and SDK versions that I am using would be expected to work, or if what I have done is known to fail.
    Thanks
    -- Bennett

    I found a solution to the question. The CS4 sample I was building (Automation/Hidden) was causing PS CS3 to fail when I tried to launch the plug-in. It turns out that the failure is due to one of the suites having a different version in CS3 than CS4. The sample was from CS4, so it was requesting a version of the suite that did not exist in PS CS3.
    To fix the problem I made a copy of the samplecode/common/sources/PIUSuites.cpp file. I placed my copy in the samplecode/automation/automation/common directory and modified my Xcode project to use it instead of the one from common/sources. In the file I changed this line:
    AutoSuite<PSActionDescriptorProcs> sPSActionDescriptor(kPSActionDescriptorSuite, kPSActionDescriptorSuiteVersion);
    to be like this instead:
    AutoSuite<PSActionDescriptorProcs> sPSActionDescriptor(kPSActionDescriptorSuite, kPSActionDescriptorSuitePrevVersion);
    Doing this causes the plug-in to load and execute just fine in CS3.
    Cheers
    -- Bennett

  • IB doesn't sync with Xcode on a new project (related to project path)

    Hey everybody!
    I've got very strange behavior of the Interface Builder.
    I've got ~/Documents/Projects folder. I start Xcode and choose to create a new iPhone project. I don't change anything, just open the main controller's XIB file with IB and I can see the gray sync status in the Document window there. So, IB is out of sync. But, if I create a project in some other location it works fine! Even if I recreate the Projects folder at the same location it works fine! And it all works for only a few days. Then, this bug occurs again.
    This bug disappoints me a lot and I'd appreciate any help. Thanks in advance!
    PS. The bug was discovered on Mac OS X 10.6.4 with Xcode 3.2.4, but has been verified also on 10.6.4/3.2.5 and 10.6.5/3.2.4.

    Of course, I reinstalled SDK, cleared caches, preferences and so on.
    Tech Guru, thank you for your replies, but it seems I posted my question in the wrong place. On the whole forum the only person payed attention to my issue is you Maybe you can advice me the right place?

  • I would like to buy a developer license to use on a mac at a public library from a flash drive any issue with this?

    I would like to buy a developer license to use on a mac at a public library from a flash drive any issue with this? Very new to this

    The license is for the Developer not the machine it is run on However there could be soma issues with trying to develop on a public machine.
    The biggest is does the library machine have or will they let you install  and run Xcode and if you are developing for IOS will they let you plug in your devices?
    In addition will they allow you the hours needed on the machine? Most public machines have a time limit especially if there are others waiting to use it.
    All-in-all in can be done but it won;t be an easy situation.
    good luck

  • I have an issue with the Recycle Bin. It does not respond if I click on the Icon. I have to empty the bin via another programve an issue with the Recycle Bin. It does not respond if I click on the Icon. I have to empty the bin via another program

    I have an issue with the Recycle Bin. It does not respond if I click on the Icon. I have to empty the bin via another program

    "CCleaner" is a scam and it may well have corrupted the operating the system. Get rid of it according to the developer's instructions, then see below.
    If you don't already have a current backup, back up all data, then reinstall the OS.* You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.
    If you use FileVault 2, then before running the Installer you must launch Disk Utility and select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon, usually with the same name. Click the Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main Recovery screen.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data will be preserved.
    *The linked support article refers to OS X 10.10 ("Yosemite"), but the procedure is the same for OS X 10.7 ("Lion") and later.

Maybe you are looking for

  • Can't get EA3500 routers to connect to internet.

    I'm trying to upgrade a pair of WRT54G routers to a new pair of EA3500 routers, but I cannot get the modems to connect to the internet.  I've tried both of the new modems, and multiple connection cables between the Charter cable modem and the router,

  • Connect to an external JMS

    Hi, How can I configure a business process/jcd to receive(also send) messages from an external queue/topic? Thanks Kaanu PS: I am able to use queues/topics used in other SunSeeBeyond Projects.

  • Conditions Tab to be in display mode

    Dear Friends, There is a unique requirement I have come across where the Conditions Tab in the Sales Order and the Billing Document should be in display mode only and that too only for 2 scenarios. The reason I cannot go to the Condition Type and mak

  • How to find TriMap and IdTriples Tables

    Hi: I want to create materialiaed join views, speeding up RDF_MATCH queries. But i can not find them in oracle database. My database version is 10.2.0.1.0. Thanks.

  • Jukebox Zen Xtra 60GB - power probl

    I've got a Jukebox Zen Xtra 60 GB and, having tried everything else, I'm fairly certain the power adapter has failed. I can't seem to find reference to the model I've got (Creative Switching Adapter TESA3-050500) so that I can get a replacement. Has