Moving project files, can be a bad idea
vegasmike1
Member Posts: 192
I just wanted to take a few moments to describe a problem I have been fighting with GS and Apple for the last 5 days. I am happy to say that neither GS or Apple was a party to this problem. Ok a little bit on GS but read on.
I have two macs, one mine, one the clients. The client agreed to purchase GS and get a developer agreement with Apple, they did that, they bought a Mini, and sent the computer to us for development, but this client loves to take his time. So I went ahead and made the game he wanted on my machine.
The mini shows up, and I get it all set up with cer and it all seems fine.
NOW THE PROBLEM
I finish the game with some great input from Joe at Firemaple, thanks Joe. Adhoc the game, its all good. Fix a few bugs. Then we call it done.
The mini is ready, it has GS, and all the apple goodies installed.
I put the project file from GS on my machine on a USB drive. THE PROBLEM begins.
Not thinking there could be a problem I load the game, go to publish and GS sucks it up and whisks it away to the great xcode lobby in the sky and sends it back and all is good. NOT
I go to zip the file to post to Itunes and it just hangs and says, I will be done in 5 seconds. Now this is martian seconds, each second is like maybe 1 year. So I stop it, but the zip seems ok, so I try to post, and I get the first of what seems like 900 messages saying CODE SIGN ERROR.
I strip the Mini down to nothing, re do all the Cer files etc, all is good. I do the whole thing over, same results.
Ok lets fast forward, its 5 days later, I have bought books on the MAC and KEYCHAINS and IPHONE DEV and of course I have searched this and other places for the answer. NADA, nothing, bupkiss.
So at 4 am this morning I fire up both machines and I start looking at what might be a difference between the project file on my machine and the other. There is a difference. So I zip the PROJECT file up on my machine, and put the proj file native and zipped on to a USB drive, move it over to the mini, and low and behold the proj native file has grown in size, but the zip file is the same. I unzip the file and it is the same on both machines but the native file has been padded with white space or something more evil, who knows, maybe you will.
The end result of my dilema was then to GS upload the file from my machine that was zipped, it went up and down as all the other files had.
But now when I went to ZIP the download file from GS, it took maybe 1 second and the file was there, no delay, no gas tank running, no five second rule. It was just there.
I used Application Loader from APPLE, instead of telling me it had problems with codesign verification, it started doing all kinds of cool stuff, checking this and that and this and then the magic moment, it said HEY its going to Itunes. A few minutes later, it was done, it is there, and now I am waiting for the GREEN go light.
This was a real bitch, it was real easy to resolve but if you have a problem similar it might be a way to fix the problem....Maybe.
I think that GS needs to do a better job of checking files before they allow upload but I cant really blame them either, I should have seen the difference myself before I lost all this time.
Moral of the story, two machines, network them, so you can transfer files without any other issues involved.
Hope that helps someone else.
I have two macs, one mine, one the clients. The client agreed to purchase GS and get a developer agreement with Apple, they did that, they bought a Mini, and sent the computer to us for development, but this client loves to take his time. So I went ahead and made the game he wanted on my machine.
The mini shows up, and I get it all set up with cer and it all seems fine.
NOW THE PROBLEM
I finish the game with some great input from Joe at Firemaple, thanks Joe. Adhoc the game, its all good. Fix a few bugs. Then we call it done.
The mini is ready, it has GS, and all the apple goodies installed.
I put the project file from GS on my machine on a USB drive. THE PROBLEM begins.
Not thinking there could be a problem I load the game, go to publish and GS sucks it up and whisks it away to the great xcode lobby in the sky and sends it back and all is good. NOT
I go to zip the file to post to Itunes and it just hangs and says, I will be done in 5 seconds. Now this is martian seconds, each second is like maybe 1 year. So I stop it, but the zip seems ok, so I try to post, and I get the first of what seems like 900 messages saying CODE SIGN ERROR.
I strip the Mini down to nothing, re do all the Cer files etc, all is good. I do the whole thing over, same results.
Ok lets fast forward, its 5 days later, I have bought books on the MAC and KEYCHAINS and IPHONE DEV and of course I have searched this and other places for the answer. NADA, nothing, bupkiss.
So at 4 am this morning I fire up both machines and I start looking at what might be a difference between the project file on my machine and the other. There is a difference. So I zip the PROJECT file up on my machine, and put the proj file native and zipped on to a USB drive, move it over to the mini, and low and behold the proj native file has grown in size, but the zip file is the same. I unzip the file and it is the same on both machines but the native file has been padded with white space or something more evil, who knows, maybe you will.
The end result of my dilema was then to GS upload the file from my machine that was zipped, it went up and down as all the other files had.
But now when I went to ZIP the download file from GS, it took maybe 1 second and the file was there, no delay, no gas tank running, no five second rule. It was just there.
I used Application Loader from APPLE, instead of telling me it had problems with codesign verification, it started doing all kinds of cool stuff, checking this and that and this and then the magic moment, it said HEY its going to Itunes. A few minutes later, it was done, it is there, and now I am waiting for the GREEN go light.
This was a real bitch, it was real easy to resolve but if you have a problem similar it might be a way to fix the problem....Maybe.
I think that GS needs to do a better job of checking files before they allow upload but I cant really blame them either, I should have seen the difference myself before I lost all this time.
Moral of the story, two machines, network them, so you can transfer files without any other issues involved.
Hope that helps someone else.