Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-228 in a recent build.
  1. #1
    Sencha Premium Member zmagyar's Avatar
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    91
    Vote Rating
    2
    zmagyar is on a distinguished road

      0  

    Default SDK build stops working with OS X Mountain Lion

    SDK build stops working with OS X Mountain Lion


    Our standard build process uses SDK tools. It was working without any issues but stopped working since Mac updated to OSX 10.8. It looks like there is a code signing issue. The process goes fine till the end where the following error is reported:

    Code:
    [INFO] The application was successfully packagedFailed to execute system command while signing application with error 256
    Failed to package application
    [ERROR] /Users/zoltanmagyar/Sandbox/Sencha Designer/FieldServices/build/native//FieldServices.app: object file format unrecognized, invalid, or unsuitable
    It looks like the code signing bit is failing. When trying to to sign the app manually I get the same error:

    Code:
    mbp:application zoltanmagyar$ codesign -s "iPhone Developer" "/Users/zoltanmagyar/Sandbox/Sencha Designer/FieldServices/build/native/FieldServices.app"
    /Users/zoltanmagyar/Sandbox/Sencha Designer/FieldServices/build/native/FieldServices.app: object file format unrecognized, invalid, or unsuitable
    Is there any update planned to sort this out please?

  2. #2
    Sencha Premium Member zmagyar's Avatar
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    91
    Vote Rating
    2
    zmagyar is on a distinguished road

      0  

    Default


    Sorry guys for being pushy but it's becoming a burning issue here. Is there anyone have any idea how to sort this out please? Even a few pointers would be quite handy.

  3. #3
    Sencha Premium Member zmagyar's Avatar
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    91
    Vote Rating
    2
    zmagyar is on a distinguished road

      1  

    Default


    Just in case anyone else is running into this issue....

    It looks like the old codesign_allocate was used by some reason. The quick solution is

    Code:
     export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"

  4. #4
    Sencha User
    Join Date
    Aug 2012
    Posts
    1
    Vote Rating
    0
    Zandalus is on a distinguished road

      0  

    Default


    Quote Originally Posted by zmagyar View Post
    Just in case anyone else is running into this issue....

    It looks like the old codesign_allocate was used by some reason. The quick solution is

    Code:
     export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"

    I Love u!

  5. #5
    Sencha User willgillen's Avatar
    Join Date
    Mar 2007
    Posts
    110
    Vote Rating
    0
    willgillen is on a distinguished road

      0  

    Default Fixed It!

    Fixed It!


    Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you. Thank you.

  6. #6
    Sencha Premium Member zmagyar's Avatar
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    91
    Vote Rating
    2
    zmagyar is on a distinguished road

      0  

    Default


    I'm glad this solution could make a few people happy.

  7. #7
    Sencha User
    Join Date
    Sep 2012
    Posts
    5
    Vote Rating
    0
    fshaik is on a distinguished road

      0  

    Default Only iOS simulator is supported to run packaged apps

    Only iOS simulator is supported to run packaged apps


    I tried to build again after doing

    export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"

    but then I get

    "Only iOS simulator is supported to run packaged apps
    Failed to run packaged application"

    can any one please help, its been night mare so far getting this work.

    Thanks
    Faiyaz

  8. #8
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,382
    Vote Rating
    136
    dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold dongryphon is a splendid one to behold

      0  

    Default


    I am opening this as a Ticket, but have you tried Sencha Cmd v3? ... if that is an option - it requires Sencha Touch 2.1.

  9. #9
    Sencha - Sencha Touch Dev Team voloshyn's Avatar
    Join Date
    Jan 2012
    Posts
    118
    Vote Rating
    1
    voloshyn is on a distinguished road

      0  

    Default


    this issue has been resolved in build 201