Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

iOS distribution package fail 4.13++

i know that this report is a duplicate question.

But this problem still exist even 4.15 source version branch.

There isn't commit that is related to resolve missing provisioning flag when distribution packaging.

It's been almost a month since posted the bug report, and It not seem to resolve or review.

I report one more time for remind this problem.

related forum, answerhub



https://answers.unrealengine.com/questions/530227/tvos-package-for-distribution-fails-to-find-valid.html (it's tvOS , similar problem...)

https://issues.unrealengine.com/issue/UE-39501 (tvOS , similar problem)

Product Version: UE 4.14
more ▼

asked Jan 04 '17 at 02:38 AM in Bug Reports

avatar image

sangpan On 에픽
42 6 14 18

avatar image Samantha Sutton ♦♦ STAFF Jan 09 '17 at 04:15 PM


The API had a misspelling in it, which was resolved for 4.14. If you could post additional information about exactly what you're seeing. Do you have screenshots on how you've set up your iOS provisions? Did the same set up work in 4.12?

Have you looked over this AnswerHub yet?


avatar image sangpan On 에픽 Jan 12 '17 at 03:23 AM


check this video.

record iOS 'disribution' package process. (when fail, and how to success)

testing with latest UE Master branch git source.

avatar image Samantha Sutton ♦♦ STAFF Jan 12 '17 at 07:19 PM

4.16 isn't released. The master branch is not to be used for distribution. Please use a released version of the engine to test your iOS distribution packaging issue on.

Thank you.

avatar image sangpan On 에픽 Jan 13 '17 at 01:07 AM


surely it was release veriosn(4.13.2, 4.14.3) engine.

Why did testing with 4.16?

Because this problem isn't fixed even in the latest version.

avatar image Samantha Sutton ♦♦ STAFF Jan 16 '17 at 07:12 PM

Remove ALL provisions and ALL certificates from the engine. Once you've done that, only add the ones that you need back. Make sure that they match one another otherwise you're going to run into an issue.

avatar image sangpan On 에픽 Jan 17 '17 at 02:45 AM

Well.. I think biggest problem is IPhonePackager.exe run without '-distiribution' when developer select 'package option = distribution' on Unreal Editor(actually stored in project's .ini)

then.. IPhonePackager.exe only search development provisioning & certificate whether [distribution : true] or not.

so, IPhonePackager.exe 'must' return false to Unreal engine Editor.


Remove ALL provisions and ALL certificates from the engine

this mean remove all provisioning except one?

mac system's provisioning store in [~/Library/MobileDevice/Provisioning Profiles/].

will try this soon..

avatar image Samantha Sutton ♦♦ STAFF Jan 17 '17 at 06:06 PM

I would remove all of the provisions, and then recreate a new provision and and make sure they match up appropriately for the project you're working with.

Are you packaging by going to File > Package Project > iOS after setting to distribution? Make sure you have a distribution provision and certificate in the editor.

avatar image sangpan On 에픽 Jan 18 '17 at 06:07 AM


alt text alt text alt text alt text alt text ![alt text][6]

b00000.png (55.1 kB)
b00001.png (371.2 kB)
b00002.png (85.0 kB)
b00003.png (85.4 kB)
b00004.png (177.1 kB)
avatar image sangpan On 에픽 Jan 18 '17 at 06:12 AM

alt text

  • provisioning seems to wrong?

NEVER. (Build & Run success pure obj-c ios application with xcode 8 ) alt text

b00005.png (496.6 kB)
b00006.png (261.7 kB)
avatar image Samantha Sutton ♦♦ STAFF Jan 18 '17 at 08:08 PM

Can you try a blank project in 4.15 preview 1 to see if you're experiencing the same issue? It might be due to undeclared identifier errors from UE-38950.


avatar image sangpan On 에픽 Jan 19 '17 at 02:37 AM

4.15 pv 1 also can't package distribution ios

As far as I know, there is n.o.t.h.i.n.g change(commit) related to this problem.

avatar image Samantha Sutton ♦♦ STAFF Jan 20 '17 at 08:44 PM

UE-38950 is a bug in Jira where we're failing to package for iOS or TVOS. This is occurring on both Mac and Windows machines however it was caught in 4.15 while testing. Are you seeing the following error (or similar) in your logs?

 error: use of undeclared identifier 'FScopeLock'

If so, this issue should be corrected once changelist 3207659 has been integrated into our 4.15 release build.

If you're on a git version later than that build, please upload your full error output logs.

I have verified that I am not having any trouble while packaging for distribution on iOS. I am using a blueprint only project.

Please double check that you have 100% accurately created your provisions and certificates.

iOS Documentation

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I found solve (avoid...) way on release version.

Prepare both distribution and development provisioning/certificates on same bundle ID. ( I was only have distribution. )

then Do distribution package.

iPhonepackage.exe will check only development's.

this time prepared development's help to pass

and start to complie and cook with 'distribution provi/certi'.

Conversely, when Prepare only distribution's , wouldn't package forever until adding -distribution flag checking with iphonepackage.exe.

could you understand what I said?..

Still... there is bug, and there is some way to avoid ,also there is way to fix problem.

I update comment on my pull request (#2889).

more ▼

answered Jan 24 '17 at 11:09 AM

avatar image

sangpan On 에픽
42 6 14 18

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question