CodeSinging problem in Xcode

Discussion in 'iPhone/iPad Programming' started by lolec3d, Nov 28, 2008.

  1. macrumors newbie

    Joined:
    Nov 28, 2008
    #1
    Well, my app works great on the simulator, and despite the hours and hours spent in understanding how to send the app to my iphone, i cant get it to work. There are 2 problems:

    When I try to build an app to Release-Device i get:
    codeSign error: no certificate found in keychain for code signing identity 'iPhone Developer '

    Ive created my certificate, used the script and modified info.plist.

    Im stucked. But, i can build my app if i use Release-Simulator.
    It creates a folder apparently similar to the one i would get using Release-Divice, it contains an .app, i send this .app to my iphone via ssh, it shows the default.png and then, go back to springboard. I think is because Release-Simulator is incomplete or something, maybe I can manually fix it.

    ive bypassed the code signing check using :
    sysctl -w security.mac.proc_enforce=0
    sysctl -w security.mac.vnode_enforce=0

    I was also wondering if there's a way to
    Use Release-Simulator in Xcode. Fix the .app file so it works, and then create a .ipa, the reason i want to do this is im developing and app for personal use, but i would like some friends to use and test for bugs or whatever, They are not very involved in iPhone development but ive installed mobileinstallation patch on their iphones so they can use my ipas, of course, if i get it working.
     
  2. macrumors member

    Joined:
    Sep 18, 2008
    #2
    Hi,

    first of all have u got Mobile Installation patch on ur iPhone?

    And also if u have a look into that .app directory you should see a directory called CodeSigning?

    Got this?
     
  3. thread starter macrumors newbie

    Joined:
    Nov 28, 2008
    #3
    I have Mobile Installation Patch, and it works.

    The only way I can release an app from Xcode is Release to the simulator, i believe the core structure is different since its built for an X86 processor instead of an ARM.

    So, i get this 3 folders in the build folder.
    Development-iphonesimulator
    AppName.build
    Release-iphonesimulator

    Inside the last one i find 2 files, AppName.app and AppName.app.dSYM

    AppName.app contains nothing called CodeSigning

    After reading a lot, seems that i have to fix the code signing and build for Release-Device.

    Also, ive read that installing the latest version of Xcode will help, well, im on a hackintos and cant update further than 10.5.4 without risk of loosing data or something, and im currently on a project i cant postpone. jaja, i think im screwed and will have to wait a bit. If anyone know some tutorials on the code signing i might have missed, please post.

    CodeSigning for building the app in Xcode, not to get into the divice. Thanks a lot.
     
  4. macrumors member

    Joined:
    Sep 18, 2008
    #4
  5. thread starter macrumors newbie

    Joined:
    Nov 28, 2008
    #5
    I followed your instuctions, the problem was i named the certificate iPhone developer , when i used Developer with capital D, and deleted the old one, everything worked :)!!!! im creating ipas of my own software to send to the iPhone via iTunes. :)!!! tx alot. !
     
  6. macrumors newbie

    Joined:
    Dec 16, 2008
    #6
    Yes, When I try to build an app to Release-Device i get a same error
    codeSign error: no certificate found in keychain for code signing identity 'iPhone Developer '

    Please give me some tutorials

    Thanks you so much
     
  7. Guest

    Joined:
    Mar 13, 2008
    #7
    You have singing code? What does it sing? :confused:
     

Share This Page