Run vs. Multitask Delete. Click

Discussion in 'iOS Programming' started by IDMah, Jul 19, 2012.

  1. IDMah macrumors 6502

    IDMah

    Joined:
    May 13, 2011
    #1
    When I run the app (without) compile It works but when I delete the app from the multitasking bar and click on it .. I get

    Code:
     int retVal = UIApplicationMain(argc, argv, nil, nil); //<--- Thread 1: program received signal: "SIGKILL"
    shouldn't those be the same thing???

    any hints on how to get rid of the error???
    I'm figuring it's some sort of leak somewhere.. but lost at how to find it.

    my first crack at an app so the code is UGLY ugly ugly.. !!!
    :(

    thanks
    Ian
     
  2. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #2
    SIGKILL means you killed it while in debug mode, it kills the debug mode, so you get a SIGKILL, nothing wrong with your code sir :)
     
  3. Duncan C macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #3
    There is an entitlement file you add to release apps that prevents the system from running them in debug mode. I forget what it's called off the top of my head, but if you have that file in your bundle, the app will refuse to launch from Xcode. It sounds like that's what is going on with you.

    ----------

    This reminds me of a taunt from my high school days:

    "U - G - L - Y,
    You ain't got no alibi,
    You ugly, ugly, ugly-ugly-ugly!"

    (No insult intended)
     
  4. IDMah thread starter macrumors 6502

    IDMah

    Joined:
    May 13, 2011
    #4
    Thanks Gang.. Otherwise I would waste another few Days trying to fix it..
    Hahaaa... !!!! :)

    now I just need to plug the memory leaks..
     
  5. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #5
    Convert to ARC, no need to do Memory leaks ^_-
     

Share This Page