I’m getting this strange error while trying to package iOS from windows
IPP ERROR: Stub IPA does not appear to be signed correctly (missing mobileprovision or CodeResources)
This is my configuration:
on Mac:
- rsync activated
- enabled file sharing
- enabled remote login
- enabled remote management
- Provisioning profile and signing certificates installed (I’ve also copied the signing cert to the system keychain… not just to the login one)
On Windows
- UE4.24
- Correctly Imported and selected provisioning profile and signing cert (i see them in green in the iOS mobile provision panel on Project Settings)
- Correctly generated SSH keys from the iOS remote build panel
but I get the error stated in the title. I’m attaching here a portion of the log:
CWD: E:\UnrealEngine\UE_4.24\Engine\Binaries\DotNET\IOS
UATHelper: Packaging (iOS): Initial Dir: E:\UnrealEngine\UE_4.24
UATHelper: Packaging (iOS): Env CWD: E:\UnrealEngine\UE_4.24\Engine\Binaries\DotNET\IOS
UATHelper: Packaging (iOS): BranchPath = DESKTOP-73864OC/E/UnrealEngine/UE_4.24/Engine/Binaries --- GameBranchPath = DESKTOP-73864OC/E/UnrealProjects/Leedr2/Binaries
UATHelper: Packaging (iOS):
UATHelper: Packaging (iOS): ----------
UATHelper: Packaging (iOS): Executing command 'Clean' ...
UATHelper: Packaging (iOS): Cleaning temporary files from PC ...
UATHelper: Packaging (iOS): ... cleaning: E:\UnrealProjects\Leedr2\Intermediate\IOS-Deploy\Leedr2\Development\
UATHelper: Packaging (iOS):
UATHelper: Packaging (iOS): Loaded stub IPA from 'E:\UnrealProjects\Leedr2\Binaries\IOS\Leedr2.stub' ...
UATHelper: Packaging (iOS): ... 'E:\UnrealProjects\Leedr2\Binaries\IOS\Leedr2.stub' -> 'E:\UnrealProjects\Leedr2\Binaries\IOS\Leedr2.ipa'
UATHelper: Packaging (iOS): Copy: E:\UnrealProjects\Leedr2\Binaries\IOS\Leedr2.stub -> E:\UnrealProjects\Leedr2\Binaries\IOS\Leedr2.ipa, last modified at 10/06/2020 11:25:53
UATHelper: Packaging (iOS): IPP ERROR: Stub IPA does not appear to be signed correctly (missing mobileprovision or CodeResources)
UATHelper: Packaging (iOS): Found Info.plist (E:\UnrealProjects\Leedr2\Saved\StagedBuilds\IOS\Info.plist) in stage, which will be merged in with stub plist contents
UATHelper: Packaging (iOS): Using mobile provision 'Leedr-X' to code sign
UATHelper: Packaging (iOS): ... Writing updated embedded.mobileprovision
UATHelper: Packaging (iOS): Looking for a certificate that matches the application identifier 'HV43WW4FZW.com.blackrobotgames.Leedrx'
UATHelper: Packaging (iOS): .. Provision entry SN '52277229535B01DD' matched 1 installed certificate(s)
UATHelper: Packaging (iOS): .. .. Installed certificate 'iPhone Developer: [hidden name and lastname] ([hidden TEAM ID])' is valid (choosing it) (range '26/04/2020 17:29:17' to '26/04/2021 17:29:17')
UATHelper: Packaging (iOS): ... Found matching certificate 'iPhone Developer: [hidden name and lastname] ([hidden TEAM ID])' (valid from 26/04/2020 17:29:17 to 26/04/2021 17:29:17)
UATHelper: Packaging (iOS): Found CFBundleVersion string '0.10' and updated it to '0.11'
UATHelper: Packaging (iOS): Saving IPA ...
UATHelper: Packaging (iOS): ... Writing updated Info.plist
UATHelper: Packaging (iOS): Opening source executable...
UATHelper: Packaging (iOS): ... Processing one mach object (binary is thin)
UATHelper: Packaging (iOS): IPP ERROR: Application exception: System.IO.InvalidDataException: Did not find a Code Signing LC. Injecting one into a fresh executable is not currently supported.
UATHelper: Packaging (iOS): at iPhonePackager.CodeSignatureBuilder.PerformSigning() in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\IOS\iPhonePackager\CodeSigning.cs:line 848
UATHelper: Packaging (iOS): at iPhonePackager.CookTime.RepackageIPAFromStub() in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\IOS\iPhonePackager\CookTime.cs:line 352
UATHelper: Packaging (iOS): at iPhonePackager.Program.Main(String[] args) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\IOS\iPhonePackager\iPhonePackager.cs:line 937
UATHelper: Packaging (iOS): Took 1,3198314s to run IPhonePackager.exe, ExitCode=37
UATHelper: Packaging (iOS): Command failed (Result:37): E:\UnrealEngine\UE_4.24\Engine\Binaries\DotNET\IOS\IPhonePackager.exe RepackageFromStage "E:\UnrealProjects\Leedr2\Leedr2.uproject" -config Development -schemename Leedr2 -schemeconfig "Development" -sign -codebased -stagedir "E:\UnrealProjects\Leedr2\Saved\StagedBuilds\IOS" -project "E:\UnrealProjects\
Leedr2\Leedr2.uproject" -provision "LeedrX.mobileprovision" -certificate "iPhone Developer: [hidden name and lastname] ([hidden TEAM ID])". See logfile for details: 'IPhonePackager-2020.06.10-11.26.11.txt'
UATHelper: Packaging (iOS): AutomationTool exiting with ExitCode=37 (Error_StubNotSignedCorrectly)
UATHelper: Packaging (iOS): BUILD FAILED
PackagingResults: Error: Stub not signed correctly.