my apps wont start (black screen and back to springboard)

Discussion in 'iOS Development' started by plucked, Aug 10, 2008.

  1. plucked

    plucked New Member

    Joined:
    Aug 10, 2008
    Messages:
    6
    Likes Received:
    0
    Hi,

    I installed the toolchain with cygwin, have no problem on compiling. I copy my apps to the ipod on "/Applications/Myapp.app" and restart SpringBoard. But when I launch the app, there comes a black screen, very short, and then I'm back on the SpringBoard.

    I try to change the access policies to 777, I try to run the compiled code from this tutorial http://www.ifans.com/forums/showthread.php?t=58898 but the same effect.

    I try ldid -S MyApp but no effect.

    What do I wrong?

    I've ipod touch 8gb with jailbroken 2.0 firmware
  2. hobofan

    hobofan New Member

    Joined:
    Jun 1, 2008
    Messages:
    68
    Likes Received:
    0
    there i can only say DITO!!!

    it's all the same no problems compiling and the other things.

    but all apps i compiled are imideately bumping back to spingboard -.-
  3. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    wrong. if you installed cygwin using the binary installer, then that is the wrong thing. that compiler is for 1.1.x

    you need the iphone-gcc native compiler for 2.x toolchain. also, if you have linux:

    http://saurik.com/id/4
  4. hobofan

    hobofan New Member

    Joined:
    Jun 1, 2008
    Messages:
    68
    Likes Received:
    0
    I don't have cygwin installed, i compiled all apps with the 2.0 toolchain from cydia.
    If i try to compile them now i always get this really long error :-(
  5. plucked

    plucked New Member

    Joined:
    Aug 10, 2008
    Messages:
    6
    Likes Received:
    0

    Oh, okay I try it on linux. Thank you.

    There is no way to compile 2.x on windows ?
  6. hobofan

    hobofan New Member

    Joined:
    Jun 1, 2008
    Messages:
    68
    Likes Received:
    0
    There is no difference as far as i know.
    I'v also read that the best devs on the board are all coding on windows and not on linux

    ;-)
  7. plucked

    plucked New Member

    Joined:
    Aug 10, 2008
    Messages:
    6
    Likes Received:
    0
    Yes I think windows will be good, because I can use Visual Studio for the c-code and so on.
  8. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    if you wish to compile for 2.x on windows, you will configure cygwin from SCRATCH as the guide shows you to do for linux. its the same ssetup
  9. plucked

    plucked New Member

    Joined:
    Aug 10, 2008
    Messages:
    6
    Likes Received:
    0
    I'll try it and post my result
  10. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    good luck. even i could not build the toolchain from scratch. it is very complex and iphone-gcc is all around easier.

Share This Page