# IOS remote build failed : Failed to find a valid matching mobile provision

**URL:** <https://forums.unrealengine.com/t/ios-remote-build-failed-failed-to-find-a-valid-matching-mobile-provision/421478>\
**Category:** Mobile\
**Tags:** xcode, distribution, provisioning-profile, Shipping, unreal-engine, iOS, question\
**Created:** [April 1, 2018, 3:39am UTC](https://forums.unrealengine.com/t/ios-remote-build-failed-failed-to-find-a-valid-matching-mobile-provision/421478 "2018-04-01T03:39:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wzspdw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wzspdw](https://forums.unrealengine.com/u/wzspdw)\
**Post date:** [April 1, 2018, 3:39am UTC](https://forums.unrealengine.com/t/ios-remote-build-failed-failed-to-find-a-valid-matching-mobile-provision/421478/1 "2018-04-01T03:39:40Z")

</div>

Hey guys,  
I’ve been working on build distribution ipa for almost 6 hours and almost all problems were solved except this one. Here is my working environments and steps:  
1 Mac with xcode9.0.  
1 windows PC with UE 4.18.

1. I’v create a distribution certificate and export as .P12 file
2. Add a provisioning file and download through Apple website
3. Mac remote control set
4. Set UE4 package settings to shipping ( also for distribution)
5. Set auth for UE4\_cmd.exe
6. set ios bundle id, import certificate and provisioning file (boih valid)
7. Build → failed

Log:  
UATHelper: 打包 (iOS): IPP WARNING: Failed to find a valid matching mobile provision, will attempt to use the embedded mobile provision instead if present  
UATHelper: 打包 (iOS): … ‘G:\Unreal4\UE\_4.18\Engine\Build\IOS/NotForLicensees/UE4Game.mobileprovision’ → ‘I:\Unreal4\Projects\ProjectWM2\Intermediate\IOS-Deploy\ProjectWM2\Shipping…\XcodeSupportFiles\2011-20140516TC\_UE4Temp.mobileprovision’  
UATHelper: 打包 (iOS): Copy: G:\Unreal4\UE\_4.18\Engine\Build\IOS\NotForLicensees\UE4Game.mobileprovision → I:\Unreal4\Projects\ProjectWM2\Intermediate\IOS-Deploy\ProjectWM2\Shipping…\XcodeSupportFiles\2011-20140516TC\_UE4Temp.mobileprovision, last modified at 1601/1/1 8:00:00  
UATHelper: 打包 (iOS): IPP WARNING: Failed to copy file to ‘I:\Unreal4\Projects\ProjectWM2\Intermediate\IOS-Deploy\ProjectWM2\Shipping…\XcodeSupportFiles\2011-20140516TC\_UE4Temp.mobileprovision’  
UATHelper: 打包 (iOS): IPP WARNING: Exception: δ���ҵ�·����G:\Unreal4\UE\_4.18\Engine\Build\IOS\NotForLicensees\UE4Game.mobileprovision����һ���֡� (going to retry copy)  
UATHelper: 打包 (iOS): IPP WARNING: Failed to copy file to ‘I:\Unreal4\Projects\ProjectWM2\Intermediate\IOS-Deploy\ProjectWM2\Shipping…\XcodeSupportFiles\2011-20140516TC\_UE4Temp.mobileprovision’  
UATHelper: 打包 (iOS): IPP WARNING: Exception: δ���ҵ�·����G:\Unreal4\UE\_4.18\Engine\Build\IOS\NotForLicensees\UE4Game.mobileprovision����һ���֡� (going to retry copy)  
UATHelper: 打包 (iOS): IPP WARNING: Failed to copy file to ‘I:\Unreal4\Projects\ProjectWM2\Intermediate\IOS-Deploy\ProjectWM2\Shipping…\XcodeSupportFiles\2011-20140516TC\_UE4Temp.mobileprovision’  
UATHelper: 打包 (iOS): IPP WARNING: Exception: δ���ҵ�·����G:\Unreal4\UE\_4.18\Engine\Build\IOS\NotForLicensees\UE4Game.mobileprovision����һ���֡� (going to retry copy)  
UATHelper: 打包 (iOS): IPP WARNING: Failed to copy file to ‘I:\Unreal4\Projects\ProjectWM2\Intermediate\IOS-Deploy\ProjectWM2\Shipping…\XcodeSupportFiles\2011-20140516TC\_UE4Temp.mobileprovision’  
UATHelper: 打包 (iOS): IPP WARNING: Exception: δ���ҵ�·����G:\Unreal4\UE\_4.18\Engine\Build\IOS\NotForLicensees\UE4Game.mobileprovision����һ���֡� (going to retry copy)  
UATHelper: 打包 (iOS): IPP WARNING: Failed to copy file to ‘I:\Unreal4\Projects\ProjectWM2\Intermediate\IOS-Deploy\ProjectWM2\Shipping…\XcodeSupportFiles\2011-20140516TC\_UE4Temp.mobileprovision’  
UATHelper: 打包 (iOS): IPP WARNING: Exception: δ���ҵ�·����G:\Unreal4\UE\_4.18\Engine\Build\IOS\NotForLicensees\UE4Game.mobileprovision����һ���֡� (going to retry copy)  
UATHelper: 打包 (iOS): IPP ERROR: Failed to copy file to I:\Unreal4\Projects\ProjectWM2\Intermediate\IOS-Deploy\ProjectWM2\Shipping…\XcodeSupportFiles\2011-20140516TC\_UE4Temp.mobileprovision and there are no more retries!  
UATHelper: 打包 (iOS): IPP ERROR: Application exception: System.IO.FileNotFoundException: δ���ҵ��ļ���I:\Unreal4\Projects\ProjectWM2\Intermediate\IOS-Deploy\ProjectWM2\XcodeSupportFiles\2011-20140516TC\_UE4Temp.mobileprovision����

I’ve attached log screenshot and setting screenshot , any help would be appreciated! many thanks!

 ![235782-setting1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/0/150575d5c0e047391dc56f198814f023ec90ab79.jpeg)

 ![235783-log-output.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/5/8453f60ab4ac5bf8cf758afd79f9bcd37d2b250a.jpeg)

---

<div class="post-metadata">

**Author:** ![wzspdw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wzspdw](https://forums.unrealengine.com/u/wzspdw)\
**Post date:** [April 1, 2018, 3:46am UTC](https://forums.unrealengine.com/t/ios-remote-build-failed-failed-to-find-a-valid-matching-mobile-provision/421478/2 "2018-04-01T03:46:11Z")

</div>

Heres the other methods I’ve tried:  
1.Reset appID\certificates\provisioning profiles(for \>5 times already)  
2.Set BundleName \ Bundle Display Name \ Provisioning profile name to → App ID \ Profile ID \ whatever other id…  
3.Add prefix info to Bundle ID  
4.Delete obstecle provisioning profiles & certificates then restart profile and build

None of them worked yet…

---

<div class="post-metadata">

**Author:** ![GRADgr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GRADgr](https://forums.unrealengine.com/u/GRADgr)\
**Post date:** [July 14, 2018, 6:54pm UTC](https://forums.unrealengine.com/t/ios-remote-build-failed-failed-to-find-a-valid-matching-mobile-provision/421478/3 "2018-07-14T18:54:42Z")

</div>

I have also tried every solution found on net …

UATHelper: Packaging (iOS): IPP WARNING: Failed to find a valid matching mobile provision, will attempt to use the embedded mobile provision instead if present

my provisions + Certs are 100% correct am on 4.18.3 ( building on win64 launcher, bp project , on remote mac)

any progress on that?
