Xcode won't run my programs any more

Discussion in 'iOS Programming' started by 1458279, Nov 12, 2013.

  1. 1458279 Suspended


    May 1, 2010
    When I run a program in Xcode / iOS simulator, it gets to the point when it says "Attaching to _______" (insert program name). It stays there until I shut down the simulator.

    Also, my documentation is gone. I go into organizer and it shows the outline of the documentation on the left window but nothing on the right window (the actual documentation screen)

    Background: ATT shut down my service for about 12 hours. Every link I clicked on during that time was redirected to ATT's site. The links were destroyed in the process (not restored). So I had to recreate the links.

    It look like Xcode needs some kind of internet access to run a program.

    All the source code is local, no Github or anything online dependent that I did. I'm pretty sure it's Xcode looking online at something that it can't find because the link is broken.

    I let my paid dev account expire (don't need to test on the device at this time).

    I can't access any of my provisioning profiles, can't access help, can't run any programs (simulator start, program gets stuck attaching to itself).

    Any ideas?
  2. Duncan C macrumors 6502a

    Duncan C

    Jan 21, 2008
    Northern Virginia
    If you let your paid developer account expire then your developer certificate and provisioning profiles are dead.

    You should be able to build and run on the simulator, but that's it.

    The file you install for Xcode is not complete. Xcode does need an internet connection to finish installing Xcode (download the other SDKs, documentation, etc.)
  3. 1458279 thread starter Suspended


    May 1, 2010
    Ok, so I got it working. I still don't know why Xcode was 'attaching' and not running.

    Clearly the documentation requires being online. This will prove a problem when I get a notebook and don't have a WiFi connection.

    Maybe there's a setting to tell Xcode to download the documentation?

    As for the endless 'Attaching' message, it's gone. I don't understand why my internet connection would stop Xcode from running a program.

    I rebooted the system and all the crap that ATT caused is gone, but I'm still confused as to why Xcode was doing that.
  4. ArtOfWarfare macrumors G3


    Nov 26, 2007
    Do you use Dropbox, Google Drive, or a similar background sync program? Those have been known to corrupt Xcode 5 projects so that they won't launch.
  5. 1458279 thread starter Suspended


    May 1, 2010
    I don't use any of those, but I could see how those might cause a problem.

    I really don't know how Xcode would be that dependent on something. I also don't like how I went thru all the settings and couldn't find anything that might be causing the problem.

    Too many guesses or unknowns, I don't like that, I like to know what causes what and how to fix things like this.

    oh well, at least it's back working.
  6. xArtx macrumors 6502a

    Mar 30, 2012
    I can't help with the problem, but Xcode doesn't need an internet connection
    to run your program. It might do something when your account expires, etc.

    Back the operating system up to a hard drive if you want to forget about it.
  7. iMacFarlane macrumors 65816


    Apr 5, 2012
    Adrift in a sea of possibilities
    xCode does NOT require an internet connection for the documentation, as long as you download it first.

    Open xCode, open preferences, select documentation, manually download as many doc sets and simulators that you want. Done.

Share This Page