Error 3! (error publishing a Mac app on mountain lion)

12346

Comments

  • eternalrhinoeternalrhino Member, PRO Posts: 9
    edited October 2012
    it says sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate /usr/bin
    ln: /usr/bin/codesign_allocate: File exists

    But, I deleted it and it wasn't there, but it still says it is.
  • MantoManto Member Posts: 796
    Thanks for the solution! Signing works perfect now :)
  • chaleychaley Member, PRO Posts: 226
    So has anyone done the "sudo" terminal line with success?

    The straight up solution seems to work, but there might be something wrong with the "sudo" line.
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    Can Anyone Help Me Here? When I Publish To Apple I Have No Problem. But When I Try To Publish To Android It Gives Me The (Error 3)

    http://forums.gamesalad.com/discussion/49446/no-provisioning-profile-found#latest

    Here Is My Post
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    @SaladStraightShooter Sorry, How Would I Fix It For Android?? iOS Works perfect and when i type in sudo it recognizes it like the post.
  • eternalrhinoeternalrhino Member, PRO Posts: 9
    I did the sudo command, have all provisioning files valid and certs right, worked on lion, and not on mountain lion. I even did the terminal checks like the advice given on page 6, and I have everything it showed right. Still giving Error 3 for my iOS app signing. But it's blowing my mind that I just installed xcode/gamesalad/command tools on a random laptop with lion and it worked perfectly.
  • chaleychaley Member, PRO Posts: 226
    eternalrhino... yea, I hear you. I've double and triple checked everything and it just won't go through. Another frustrating night for me, unfortunately.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    @chaley, @eternalrhino

    can you both attempt to create a mac app using mountain lion, and as soon as the error 3 messsage appears open your OS X Console and using the filter option in the top right search for gamesalad. Post your entire output, that will help us and GS determine if it caused by the same problem.
  • chaleychaley Member, PRO Posts: 226
    ok... I'll give that a try when I get home tonight. thanks!
  • chaleychaley Member, PRO Posts: 226
    Well, with the console window open, I read that there was a provisioning conflict (as SSS suggested) as well as the wwdr certificate needed. I deleted a bunch of old profiles... made sure the certs were all in place and the thing finally went through!

    Thanks jonmulcahy! & Thanks SSS! SO great to have this thing working now.

  • Peter_OlafsonPeter_Olafson Member Posts: 301
    Unfortunately none of this has worked for me. I've uninstalled and reinstalled the certificates more times than I can count. I tried the terminal code mentioned but mistyped one word(developer) and when I try to do it again with the correct spelling it says the file already exists. Deleting it changes nothing. It still says it exists.

    Anyway, here is my console output.

    10/7/12 10:53:18.256 AM GameSalad[7104]: Code Signing Error: /var/folders/q4/s_551dt50c9fbk48wq_rz49w0000gn/T/GameSalad2/Output5.app: replacing existing signature
    /var/folders/q4/s_551dt50c9fbk48wq_rz49w0000gn/T/GameSalad2/Output5.app: object file format unrecognized, invalid, or unsuitable
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    edited October 2012
    @PeterGisHere ok.. what i did was

    go into the provisioning portal.

    1. Click Certificates
    2. Revoke both Development and Distribution
    3. Clear Certificates from KeyChain
    3. When in KeyChain and get new certificate
    4. Go back to provisioning portal
    5. Reissue Them
    6. Download them

    Hope it helps.
  • Peter_OlafsonPeter_Olafson Member Posts: 301
    I've tried all of that. Several times. No luck. :(
  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375
    i dont know then, Best of luck.
  • eternalrhinoeternalrhino Member, PRO Posts: 9
    Yeah, Nothings working and I have everything set up correctly. It has to be something behind the scenes that is not understood. Hope GS comes out with an update that fixes these issues asap. I know it's not a gamesalad software issue, but maybe an update that is updated that GS pinpoints app signing issues within Xcode and any other possible issues with mountain lion and troubleshoots it.
  • No luck here. Same issue and already tried everything it says here...
  • DigiChainDigiChain Member, PRO Posts: 1,288
    Me too. Can't publish to Mac Store with Mountain Lion - have tried everything suggested, revoked and re-setup all certificates etc. etc.
    Mountain Lion has been nothing but grief for me!
  • totg3dtotg3d Member Posts: 9
    edited October 2012
    Ok, so as concise as I can be,. I have a team developer certificate that says its cool, for my team, I have one for game salad that says it is valid, and I have a provisioning profile for the game I am attempting to publish to the game salad server. the game salad and team provisioning files in the key chain state which team they are on, but the game says unknown under the team column. When I try to publish to the gs server, it uploads, it shows up in the game area under GS in my profile, but when I try to sign the game I get (com.gendaigames.GameSalad error 3.), someone once said that error 3 is a catchall error. So has anyone solved this issue, and if so what steps did you take to resolve this matter. All of my profiles show VALID, am I missing something.
    Thanks
    Mike
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    as soon as the error 3 messsage appears open your OS X Console and using the filter option in the top right search for gamesalad. Post your entire output, that will help us and GS determine what the problem is.
  • ultimaultima Member, PRO Posts: 1,207
    edited October 2012
    so i finally got an review progress from apple with 2 of my mac titles both was rejected due to in app purchase not working and also title error.

    iTunes Connect Name: xxx.
    App Name when Installed: Output10.

    (i'm using xxx as a place holder) but one title shows output10, one title shows output12. so after all the trouble gone through installing a virtual machine, it appears there's still errors to be worked out.

    I do hope that the problem gets fixed in the next update.. wonder when that'll be.
  • totg3dtotg3d Member Posts: 9
    edited October 2012
    John You asked for my console output, here it is, I get error 3 all the time, I have checked in keychain for valid WWDC, developer ID, personal and company certificates, I have four, keychain says they are valid and expire sometime in the future, so what gives. I looked at the end of the console and it says that certificates were not installed, but I think otherwise. So what am I doing wrong.

    10/11/12 2:40:25.467 PM com.apple.launchd.peruser.501[141]: (com.apple.tccd[6019]) Exited: Killed: 9
    10/11/12 2:40:25.000 PM kernel[0]: memorystatus_thread: idle exiting pid 6019 [tccd]
    10/11/12 2:40:40.578 PM GameSalad[5361]: Error: Local file '/Users/mike//sdk/platform-tools/adb' does not exist
    10/11/12 2:40:43.906 PM com.apple.launchd.peruser.501[141]: (com.apple.CalendarAgent[6017]) Exited: Killed: 9
    10/11/12 2:40:43.000 PM kernel[0]: memorystatus_thread: idle exiting pid 6017 [CalendarAgent]
    10/11/12 2:40:44.000 PM kernel[0]: memorystatus_thread: idle exiting pid 5857 [cfprefsd]
    10/11/12 2:40:46.570 PM com.apple.launchd[1]: (com.apple.sleepservicesd[5822]) Exited: Killed: 9
    10/11/12 2:40:46.000 PM kernel[0]: memorystatus_thread: idle exiting pid 5822 [SleepServicesD]
    10/11/12 2:40:46.862 PM locationd[7566]: NOTICE,Location icon should now be in state 0
    10/11/12 2:40:48.457 PM GameSalad[5361]: {"policy":"eyJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJncy5hcHBzLmdhbWVwcm9qIn0seyJhY2wiOiJwcml2YXRlIn0seyJzdWNjZXNzX2FjdGlvbl9zdGF0dXMiOiIyMDAifSx7InN1Y2Nlc3NfYWN0aW9uX3JlZGlyZWN0IjoiaHR0cDovL3B1Ymxpc2guZ2FtZXNhbGFkLmNvbS9nYW1lcHJvai81MTQ2MS91cGxvYWRfc3VjY2Vzcz90b2tlbj0yNTNjNTc0OWU3NGMzY2IzNzdkZDk5NjMzNzUzN2IwOWI1NDVkN2U0ZmIwYmZkZWZmMDdiZGZmZjBjNDY1MjMyJnRva2VuVXNlcm5hbWU9dG90ZzNkIn0sWyJlcSIsIiRrZXkiLCJVZzFpcWhQc0VlSzB4eEl4UFI5MDFRXy9EYmxUcmJsLnppcCJdLFsic3RhcnRzLXdpdGgiLCIkQ29udGVudC1UeXBlIiwiYXBwbGljYXRpb24vemlwIl1dLCJleHBpcmF0aW9uIjoiMjAxMi0xMC0xMVQyMTo0NTo0OFoifQ==","gameproj_id":51461,"content_type":"application/zip","success_action_redirect":"http://publish.gamesalad.com/gameproj/51461/upload_success?token=253c5749e74c3cb377dd996337537b09b545d7e4fb0bfdeff07bdfff0c465232&tokenUsername=totg3d","url":"http://publish.gamesalad.com/gameproj_file/51461?token=253c5749e74c3cb377dd996337537b09b545d7e4fb0bfdeff07bdfff0c465232&tokenUsername=totg3d","signature":"rCPAEvPmpCul0+2sf5Kvxbeo4pI=","access_key":"0C1MCDRHZ5WB0M9NQ202","post_url":"http://s3.amazonaws.com/gs.apps.gameproj","key":"Ug1iqhPsEeK0xxIxPR901Q_/DblTrbl.zip","acl":"private"}
    10/11/12 2:40:56.515 PM DashboardClient[846]: (com.sedonavision.widget) file:///Users/mike/Library/Widgets/SedonaMountaintop2.0.wdgt/mshvolcanocam.js: ReferenceError: Can't find variable: setalert (line: 84)
    10/11/12 2:40:58.020 PM com.apple.launchd[1]: (com.apple.sleepservicesd[7567]) Exited: Killed: 9
    10/11/12 2:40:58.000 PM kernel[0]: memorystatus_thread: idle exiting pid 7567 [SleepServicesD]
    10/11/12 2:41:06.176 PM com.apple.launchd.peruser.501[141]: (com.apple.tccd[7564]) Exited: Killed: 9
    10/11/12 2:41:06.000 PM kernel[0]: memorystatus_thread: idle exiting pid 7564 [tccd]
    10/11/12 2:41:11.581 PM com.apple.launchd[1]: (com.apple.sleepservicesd[7568]) Exited: Killed: 9
    10/11/12 2:41:11.000 PM kernel[0]: memorystatus_thread: idle exiting pid 7568 [SleepServicesD]
    10/11/12 2:41:17.740 PM com.apple.launchd.peruser.501[141]: (com.apple.CalendarAgent[7562]) Exited: Killed: 9
    10/11/12 2:41:17.000 PM kernel[0]: memorystatus_thread: idle exiting pid 7562 [CalendarAgent]
    10/11/12 2:41:22.923 PM com.apple.launchd[1]: (com.apple.sleepservicesd[7570]) Exited: Killed: 9
    10/11/12 2:41:22.000 PM kernel[0]: memorystatus_thread: idle exiting pid 7570 [SleepServicesD]
    10/11/12 2:42:12.870 PM DashboardClient[846]: (com.sedonavision.widget) file:///Users/mike/Library/Widgets/SedonaMountaintop2.0.wdgt/mshvolcanocam.js: ReferenceError: Can't find variable: setalert (line: 84)
    10/11/12 2:43:29.192 PM DashboardClient[846]: (com.sedonavision.widget) file:///Users/mike/Library/Widgets/SedonaMountaintop2.0.wdgt/mshvolcanocam.js: ReferenceError: Can't find variable: setalert (line: 84)
    10/11/12 2:44:34.605 PM GameSalad[5361]: request body is tokenUsername=totg3d&token=253c5749e74c3cb377dd996337537b09b545d7e4fb0bfdeff07bdfff0c465232
    10/11/12 2:44:34.606 PM GameSalad[5361]: download URL is http://publish.gamesalad.com/apps/36361/download?tokenUsername=totg3d&token=253c5749e74c3cb377dd996337537b09b545d7e4fb0bfdeff07bdfff0c465232
    10/11/12 2:44:34.606 PM GameSalad[5361]: Going for it.
    10/11/12 2:44:34.607 PM GameSalad[5361]:
    10/11/12 2:44:45.411 PM DashboardClient[846]: (com.sedonavision.widget) file:///Users/mike/Library/Widgets/SedonaMountaintop2.0.wdgt/mshvolcanocam.js: ReferenceError: Can't find variable: setalert (line: 84)
    10/11/12 2:44:47.134 PM GameSalad[5361]: Receieved response: {
    "Accept-Ranges" = bytes;
    "Content-Length" = 1619234;
    "Content-Type" = "application/octet-stream";
    Date = "Thu, 11 Oct 2012 21:44:48 GMT";
    Etag = "\"7049122fceb30e61a1e657b8db2b3f27\"";
    "Last-Modified" = "Thu, 11 Oct 2012 21:41:42 GMT";
    Server = AmazonS3;
    "x-amz-id-2" = "kU20D4e+bkoKx5JjWv3QKNGvrH3qNcBLB1e9ybsa0PGxHoaaZF2Y7YQG5uwkisJz";
    "x-amz-request-id" = C07681EF8B706EB1;
    }
    10/11/12 2:45:51.228 PM GameSalad[5361]: Downloaded to: /var/folders/45/hydd8c5j1116l0vtk55p8d7h0000gn/T/GameSalad1/appoutput39.zip
    10/11/12 2:45:58.671 PM GameSalad[5361]: 2CYK4TDEM6.*
    10/11/12 2:45:58.672 PM GameSalad[5361]: 2CYK4TDEM6.com.totg3d.dbltrbl
    10/11/12 2:45:58.672 PM GameSalad[5361]: EVZS83D885.com.impulse.gamesalad
    10/11/12 2:46:01.518 PM DashboardClient[846]: (com.sedonavision.widget) file:///Users/mike/Library/Widgets/SedonaMountaintop2.0.wdgt/mshvolcanocam.js: ReferenceError: Can't find variable: setalert (line: 84)
    10/11/12 2:46:06.506 PM GameSalad[5361]: Code Signing Error: /var/folders/45/hydd8c5j1116l0vtk55p8d7h0000gn/T/GameSalad1/Output40.app: replacing existing signature
    codesign_allocate: for architecture armv6 object: /private/var/folders/45/hydd8c5j1116l0vtk55p8d7h0000gn/T/GameSalad1/Output40.app/DblTrbl malformed object (unknown load command 9)
    /var/folders/45/hydd8c5j1116l0vtk55p8d7h0000gn/T/GameSalad1/Output40.app: object file format unrecognized, invalid, or unsuitable
    10/11/12 2:46:06.507 PM GameSalad[5361]: Results written to /var/folders/45/hydd8c5j1116l0vtk55p8d7h0000gn/T/GameSalad1/signingLog.txt
    10/11/12 2:46:06.507 PM GameSalad[5361]: ERROR: Code signing failed. Make sure your provisioning profile, developer certificate, and WWDR certificate are installed.
    10/11/12 2:47:17.787 PM DashboardClient[846]: (com.sedonavision.widget) file:///Users/mike/Library/Widgets/SedonaMountaintop2.0.wdgt/mshvolcanocam.js: ReferenceError: Can't find variable: setalert (line: 84)
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    @totg3d
    merged with the full thread. from your other post above i can't tell if you tried the terminal commands that worked for a bunch of us that @SSS posted a page or so ago.
  • ultimaultima Member, PRO Posts: 1,207
    what is that terminal command? I missed it.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    what is that terminal command? I missed it.
    Yellow post at bottom of page 6. I spent a few hours on the phone with support recently Andrew worked for me.
  • hk9000hk9000 Member, PRO Posts: 11
    I also face the "Error 3" problem. The same envirnoment (GS 00.10.00 Mac OS 10.8) I can publish the same app to apple iphone, however the "error 3" happen in andorid signing.
    I redownload Android SDK mac version (http://developer.android.com/sdk/index.html), upzip , chage the previous folder to "sdk1" (since I do the download and unzip before I change language to british) recreate the "sdk" folder and andorid update again. But "error 3" again!

    Anyone suggestion?

    http://forums.gamesalad.com/discussion/49800/fail-to-generate-apk-and-where-to-verify-the-keytool-jarsigner-and-zipalign-locations#latest
  • totg3dtotg3d Member Posts: 9
    Ok I have done the terminal thing, no love at all. I am not alone in this so there must be more than just my ignorance at work here. I have sent the console output, I have entered the terminal commands, still no happiness. Does anyone have a fix for the code 3 errror when posting to the GS server for a game that can be at least played on an apple device.
  • EbreezeEbreeze Member, PRO Posts: 481
    edited October 2012
    Im having serious issues with this. i just bought a new mac mini fully loaded and extras
    for mountain lion. not only have i done the terminal check but I've revoked certificates many times. the error 3 shows plus the only provisioning profile that shows is the Xcode team profile thing...none of the profiles i made on my own. please have a hot fix soon or i have no other choice but to leave the software
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Wait for 10.1 to get better error messages. Error 3 means a ton of diff things.
Sign In or Register to comment.