# IPP ERROR: Stub IPA does not appear to be signed correctly (missing mobileprovision or CodeResources)

**URL:** <https://forums.unrealengine.com/t/ipp-error-stub-ipa-does-not-appear-to-be-signed-correctly-missing-mobileprovision-or-coderesources/466517>\
**Category:** Mobile\
**Tags:** unreal-engine, iOS, question\
**Created:** [June 10, 2020, 11:44am UTC](https://forums.unrealengine.com/t/ipp-error-stub-ipa-does-not-appear-to-be-signed-correctly-missing-mobileprovision-or-coderesources/466517 "2020-06-10T11:44:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bitwaker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bitwaker](https://forums.unrealengine.com/u/Bitwaker)\
**Post date:** [June 10, 2020, 11:44am UTC](https://forums.unrealengine.com/t/ipp-error-stub-ipa-does-not-appear-to-be-signed-correctly-missing-mobileprovision-or-coderesources/466517/1 "2020-06-10T11:44:12Z")

</div>

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.
```

---

<div class="post-metadata">

**Author:** ![aamirhussain110](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aamirhussain110](https://forums.unrealengine.com/u/aamirhussain110)\
**Post date:** [May 8, 2022, 1:25pm UTC](https://forums.unrealengine.com/t/ipp-error-stub-ipa-does-not-appear-to-be-signed-correctly-missing-mobileprovision-or-coderesources/466517/2 "2022-05-08T13:25:06Z")

</div>

hello, do find the solution to this issue?

---

<div class="post-metadata">

**Author:** ![Eddietal211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eddietal211](https://forums.unrealengine.com/u/Eddietal211)\
**Post date:** [January 13, 2023, 5:44pm UTC](https://forums.unrealengine.com/t/ipp-error-stub-ipa-does-not-appear-to-be-signed-correctly-missing-mobileprovision-or-coderesources/466517/3 "2023-01-13T17:44:31Z")

</div>

Still getting this error in 2023 on Unreal 5.

---

<div class="post-metadata">

**Author:** ![Karyfan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Karyfan](https://forums.unrealengine.com/u/Karyfan)\
**Post date:** [January 26, 2023, 9:33am UTC](https://forums.unrealengine.com/t/ipp-error-stub-ipa-does-not-appear-to-be-signed-correctly-missing-mobileprovision-or-coderesources/466517/4 "2023-01-26T09:33:09Z")

</div>

Same error. UE5.1

---

<div class="post-metadata">

**Author:** ![582099479](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@582099479](https://forums.unrealengine.com/u/582099479)\
**Post date:** [October 29, 2023, 1:16pm UTC](https://forums.unrealengine.com/t/ipp-error-stub-ipa-does-not-appear-to-be-signed-correctly-missing-mobileprovision-or-coderesources/466517/5 "2023-10-29T13:16:11Z")

</div>

我也遇到同样的问题，如何解决呢？

---

<div class="post-metadata">

**Author:** ![582099479](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@582099479](https://forums.unrealengine.com/u/582099479)\
**Post date:** [October 30, 2023, 8:14am UTC](https://forums.unrealengine.com/t/ipp-error-stub-ipa-does-not-appear-to-be-signed-correctly-missing-mobileprovision-or-coderesources/466517/6 "2023-10-30T08:14:53Z")

</div>

我也遇到同样的问题相同的错误，历经3天终于解决了。我用的是5.03二进制版本，按照教程需要修改Engine\Source\Programs\UnrealBuildTool\Platform\IOS里的IOSToolChain.cs和UEBuildIOS.cs代码。但是如果你用的苹果账号是99$付费的的账号，就不用修改代码。需要到苹果开发者账号里创建bundle id的mobileprovision，需要在mac电脑钥匙串里申请颁发新证书后导出p12证书。有这个2个文件和bundle id后在设置虚幻ios平台项目后，打包就成功了。
