PDA

View Full Version : install on ios device problem



oli69
12-20-2010, 07:18 PM
I try to install my card on my Iphone 3g (Ios 4.2) and this is the message that appears on my screen:


Running iPhonePackager.exe RepackageIPA MobileGame Release -interactive -sign -compress=none...
Executing iPhonePackager RepackageIPA MobileGame Release -interactive -sign -compress=none
Cleaning temporary files from PC ...
... cleaning: ..\..\Development\Intermediate\IPhoneDevice-Deploy\Release\MobileGameRelease\MobileGame
Loaded stub IPA from 'F:\UDK\UDK-2010-12\Binaries\IPhone\Release-iphoneos\MobileGame\MobileGame.stub' ...
Using mobile provision 'Olivier SAVOIE' to code sign
... Writing updated embedded.mobileprovision
... Found matching certificate 'iPhone Developer: SAVOIE Olivier (LSUD49HBX9)'
Found CFBundleVersion string '7301.51' and updated it to '7301.56'
... 'F:\UDK\UDK-2010-12\MobileGame\Build\IPhone\Resources\Graphics\*.pn g' -> '<PAYLOADDIR>'
... 'F:\UDK\UDK-2010-12\MobileGame\Build\IPhone\iTunesArtwork' -> '..\..\Development\Intermediate\IPhoneDevice-Deploy\Release\MobileGameRelease\MobileGame'
... 'F:\UDK\UDK-2010-12\MobileGame\Build\IPhone\Resources\Music\*.mp3' -> '<PAYLOADDIR>'
... 'F:\UDK\UDK-2010-12\MobileGame\Build\IPhone\Resources\Movies\*.*' -> '<PAYLOADDIR>'
... '..\..\Engine\Stats' -> '<PAYLOADDIR>\Engine\Stats'
... 'F:\UDK\UDK-2010-12\MobileGame\IPhoneTOC.txt' -> '<PAYLOADDIR>'
... 'F:\UDK\UDK-2010-12\MobileGame\Build\IPhone\Resources\Settings\Sett ings.bundle' -> '<PAYLOADDIR>\Settings.bundle'
... 'F:\UDK\UDK-2010-12\MobileGame\CookedIPhone\*.*' -> '<PAYLOADDIR>\CookedIPhone'
... 'F:\UDK\UDK-2010-12\MobileGame\CookedIPhone\Shaders' -> '<PAYLOADDIR>\CookedIPhone\Shaders'
... 'F:\UDK\UDK-2010-12\MobileGame\CookedIPhone\..\..\Engine\Shaders\ES 2\*.*' -> '<PAYLOADDIR>\Shaders'
Saving IPA ...
... Writing updated Info.plist
Opening source executable...
... Initial signature step
IPP ERROR: Application exception: System.Security.Cryptography.CryptographicExceptio n: La cl‚ publique de fournisseur n'est pas valide.
… System.Security.Cryptography.Pkcs.PkcsUtils.Create SignerEncodeInfo(CmsSigner signer, Boolean silent)
… System.Security.Cryptography.Pkcs.SignedCms.Sign(C msSigner signer, Boolean silent)
… System.Security.Cryptography.Pkcs.SignedCms.Comput eSignature(CmsSigner signer, Boolean silent)
… MachObjectHandling.CodeDirectorySignatureBlob.Sign CodeDirectory(X509Certificate2 SigningCert, DateTime SigningTime, CodeDirectoryBlob CodeDirectory)
… iPhonePackager.CodeSignatureBuilder.PerformSigning ()
… iPhonePackager.CookTime.RepackageIPAFromStub()
… iPhonePackager.Program.Main(String[] args)

Program exited with return code 1



I managed to install 3 times my map and when I tried to install the demo chikencoup to the test, this error message appeared, is not want to leave.
I restored my iphone and reset, uninstalled the udk, try on another PC, with another iphone 3g (Ios 4.2) and still the same message.

if you like it help me. I know what to do!!

joat
12-20-2010, 07:26 PM
Hi Oli,
The iPhone 3G isn't supported, only 3GS and above (UDK for iOS requires OpenGL ES 2.0 support).

However, you are hitting another error before it even tries to install to the device. Could you translate "La cl‚ publique de fournisseur n'est pas valide" to English for me? (Babelfish didn't do a very good job of translating it).

Cheers,
Michael Noland

oli69
12-20-2010, 08:23 PM
I managed to find the solution to my problem,it was that my key to request the certificate was corrupt and therefore the certificate too.
I just rebuilt a demand key and generated a new certificate.
By cons by now, I have 4 App ID, and 10 profile name generated .
if not sorry, my translator made a mistake, it's an iPhone 3GS that I use and not a 3G.
Otherwise "La cl‚ publique de fournisseur n'est pas valide" mean "the public key is invalid."

Thank Michael for your answer.

joat
12-20-2010, 08:39 PM
Glad to hear it's working for you now.

You can delete stale profiles, but you can never delete an AppID. It seems like it takes a few minutes for the option to show up for profiles after revoking and regenerating a profile.

Cheers,
Michael Noland

Thomas J. Papa
12-22-2010, 11:46 PM
Dear Oli,

I am getting the same message you had when I try to install the simple courtyard game.
What have you done exactly to fix this problem? I have spent the past 4 hours creating new provisioning profiles, app ID's, creating new key etc but I keep getting this error.


Running iPhonePackager.exe RepackageIPA MobileGame Release -interactive -sign -compress=none...
Executing iPhonePackager RepackageIPA MobileGame Release -interactive -sign -compress=none
Cleaning temporary files from PC ...
... cleaning: ..\..\Development\Intermediate\IPhoneDevice-Deploy\Release\MobileGameRelease\MobileGame
Loaded stub IPA from 'C:\UDK\UDK-2010-12\Binaries\IPhone\Release-iphoneos\MobileGame\MobileGame.stub' ...
Using mobile provision 'leaving' to code sign
... Writing updated embedded.mobileprovision
... Found matching certificate 'iPhone Developer: cteam cteam (D25KLPG88A)'
Found CFBundleVersion string '7301.51' and updated it to '7301.52'
... 'C:\UDK\UDK-2010-12\MobileGame\Build\IPhone\Resources\Graphics\*.pn g' -> '<PAYLOADDIR>'
... 'C:\UDK\UDK-2010-12\MobileGame\Build\IPhone\iTunesArtwork' -> '..\..\Development\Intermediate\IPhoneDevice-Deploy\Release\MobileGameRelease\MobileGame'
... 'C:\UDK\UDK-2010-12\MobileGame\Build\IPhone\Resources\Music\*.mp3' -> '<PAYLOADDIR>'
... 'C:\UDK\UDK-2010-12\MobileGame\Build\IPhone\Resources\Movies\*.*' -> '<PAYLOADDIR>'
... '..\..\Engine\Stats' -> '<PAYLOADDIR>\Engine\Stats'
... 'C:\UDK\UDK-2010-12\MobileGame\IPhoneTOC.txt' -> '<PAYLOADDIR>'
... 'C:\UDK\UDK-2010-12\MobileGame\Build\IPhone\Resources\Settings\Sett ings.bundle' -> '<PAYLOADDIR>\Settings.bundle'
... 'C:\UDK\UDK-2010-12\MobileGame\CookedIPhone\*.*' -> '<PAYLOADDIR>\CookedIPhone'
... 'C:\UDK\UDK-2010-12\MobileGame\CookedIPhone\Shaders' -> '<PAYLOADDIR>\CookedIPhone\Shaders'
... 'C:\UDK\UDK-2010-12\MobileGame\CookedIPhone\..\..\Engine\Shaders\ES 2\*.*' -> '<PAYLOADDIR>\Shaders'
Saving IPA ...
... Writing updated Info.plist
Opening source executable...
... Initial signature step
IPP ERROR: Application exception: System.Security.Cryptography.CryptographicExceptio n: Provider's public key is invalid.
at System.Security.Cryptography.Pkcs.PkcsUtils.Create SignerEncodeInfo(CmsSigner signer, Boolean silent)
at System.Security.Cryptography.Pkcs.SignedCms.Sign(C msSigner signer, Boolean silent)
at System.Security.Cryptography.Pkcs.SignedCms.Comput eSignature(CmsSigner signer, Boolean silent)
at MachObjectHandling.CodeDirectorySignatureBlob.Sign CodeDirectory(X509Certificate2 SigningCert, DateTime SigningTime, CodeDirectoryBlob CodeDirectory)
at iPhonePackager.CodeSignatureBuilder.PerformSigning ()
at iPhonePackager.CookTime.RepackageIPAFromStub()
at iPhonePackager.Program.Main(String[] args)

Program exited with return code 1

oli69
12-23-2010, 06:38 AM
Hi Thomas J. Papa
check how is configured your certificate.
To this opens Unreal Ios Configuration and go to "Other deployment tool" and "provision and cert. There see the project name, etc. ...
If it does not match your project, uninstalls and reinstalls UDK, remade a new certificate and sends it to Apple reconfigure your deployment.
normally it should work.
Basically we erase all and start again.

Tell mi if you are a problem.

Thomas J. Papa
12-27-2010, 02:10 AM
You are right Oli, the certificate does not match, even though I did exactly as said in the tutorial. Well, I will try it again after the holiday season. Will get back to you early January! Thanks for your reply.