x

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"

[Closed] Packaging iOS - Mobile Provision & Signing Key - Not Found

Hi everybody,

I'm struggling trying to package my app (From Windows 10, 100% Blueprint based) for testing it on iOS. I have followed every step in the iOS Quick Guide, but with some changes so it allows Ad Hoc Distribution, this is:

  • In Apple iOS Developer site, when generating the certificate, selected "App Store and Ad Hoc" instead of "iOS App Development"

  • In Apple iOS Developer site, when creating the Provisioning profile, selected "Ad Hoc" instead of "iOS App Development"

  • Instead of using iPhonePackager.exe for importing mobile provision and certificate, which seems to be outdated, I directly used the options for it inside Project Settings >> Platforms >> iOS

Everything seems to be working, no errors, provision and certificates marked as valid and in green.(see screenshot)

Then I go to File >> Package Project >> iOS and I immediately get two errors saying Provision not found and Signing key not found. (see screenshot)

What am I doing wrong? I'm completely lost and desperate with this issue, any help would be welcomed!

Many thanks in advance.

alt textalt text

Product Version: UE 4.13
Tags:
001.jpg (389.4 kB)
002.jpg (142.5 kB)
more ▼

asked Sep 14 '16 at 01:26 PM in Packaging & Deployment

avatar image

lbarcelo
1 1 3 4

avatar image Steve Hardister ♦♦ STAFF Sep 14 '16 at 04:53 PM

Hi Ibarcelo,

I need some more information in order to help you troubleshoot this issue:

  1. Were you ever able to launch on or package for an iOS device on this (Windows 10) system?

  2. If not, please try to create and use a standard Development Certification and provision described exactly as described in the iOS Quick Start documentation (to rule out it being a problem specifically with the ad hoc steps)

  3. Make sure that you are using the correct Bundle ID for your provisions. Since you are in UE4.13 you might want to try the new "Get Game Bundle Id" Blueprint function.

  4. Try deleting the Saved, Intermediate and Config files: Then open and re-enter the pertinent information in the Project and Editor settings, resave the project and try packaging again.

  5. Before trying to package again, open the Project log, right-click and select "Clear"

  6. Try to package again and if it fails, copy all contents of the output log, paste them in a text doc and post here for evaluation.

Thanks,

Steve H.

avatar image lbarcelo Sep 14 '16 at 06:02 PM

Hi Steve, Many thanks for your reply.

  1. Yes. I've been testing my app on iOS during the last two months by doing Launch >> All_iOS_On_MyPC. The issue started when trying to package it instead. Now I'm using a test blank mobile project I created just to be sure nothing in my app is messing around.

  2. See 1

  3. I think the BundleID is correct. Not sure if I used correctly the "Get Game Bundle Id" function since it shows nothing. (See screenshot, it works with a plain string variable tho...)

  4. Done

  5. Done

  6. Output log attached

Thanks again!

alt text

link text

outputlog.txt (5.6 kB)
bp.jpg (94.2 kB)
avatar image Steve Hardister ♦♦ STAFF Sep 15 '16 at 05:34 PM

I tested this using the set up in your image and have found that it works when launched on the iOS device but not while playing in editor (I entered a bug for this, although it may be by design.) In any event, if you are able to launch on to an iOS device, be sure the Bundle Identifier shown there A) Matches the Bundle ID under Projects >iOS and B) that the Bundle Identifier matches the Bundle ID you entered for your Certification and Provisions.

To check this, log into your Apple Developer account and look at what was entered as the Bundle ID for the specific certification and provision you have shown in the first image above.

From the Log: Searching for mobile provisions that match the game 'DistroTest' with CFBundleIdentifier = 'com.distrotest.Profile05'

Bundle name: = com.distrotest.Profile05

Considering provision = Distro_Profile05.mobileprovision

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

LogTemp:Display: IPP ERROR: No Provision or cert found!!

Make sure provision Distro_Profile05.mobileprovision has com.distrotest.Profile05* designated as the Bundle Identifier

avatar image lbarcelo Sep 16 '16 at 09:16 AM

I'm sorry if wasn't clear, but I cannot either do Launch, I get the same error (Provision and Signing key not found).

I was able to Launch the project using the old Certificate and Provision files, the ones created I created for "Development", not "Distribution".

Is there any other way of getting that Game Bundle Id?

avatar image Steve Hardister ♦♦ STAFF Sep 16 '16 at 03:08 PM

You cannot log into your Apple Developer account and look at what was entered as the Bundle ID for your distribution Certification and Provision?

avatar image lbarcelo Sep 16 '16 at 03:19 PM

Yeah sure, I already did that and they all match. Just wondering if there was some other way of displaying it when "Playing" it, anyway...

Any clue what else could be? Thanks.

alt text

003.jpg (135.8 kB)
avatar image lbarcelo Sep 17 '16 at 09:10 AM

Just to be clear, the main problem here seems to be the editor can't find the provisioning file for some reason:

> IPP WARNING: Failed to find a valid matching mobile provision, will attempt to use the embedded mobile provision instead if present

If you google it you'll see it's been a pain in the a** since a while.

avatar image Steve Hardister ♦♦ STAFF Sep 19 '16 at 06:44 PM

I've seen that forum post a number of times while researching this. It does not contain useful information. The log you posted contains only the portion where it failed. Sometimes we have logging closer to the top of the log that could indicate the source of the failure. Hence, please post the entire output log (Open the Ouput log and press clear before trying to package, then cut and paste and post the entire contents in a text doc) as well as the following logs:

"UE4.log" Located: Engine\Saved\Logs\

or ProjectName.log" Located: ProjectName\Saved\Logs\

avatar image lbarcelo Sep 19 '16 at 08:10 PM

The log was already attached days ago, here is the link again: https://answers.unrealengine.com/storage/temp/106985-outputlog.txt

avatar image valdener Dec 29 '16 at 04:28 PM

hello ibarcelo, I have the same problem had you found the answer. Thank you (sorry for english)

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

The question has been closed Dec 29 '16 at 07:27 PM by Steve Hardister for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

From the following link: iPhone Debugging: How to resolve 'failed to get the task for process'?

"The ad-hoc profile doesn't support debugging. You need to debug with a Development profile, and use the Ad-Hoc profile only for distributing non-debuggable copies."

more ▼

answered Sep 22 '16 at 08:02 PM

avatar image lbarcelo Sep 23 '16 at 02:53 PM

Does that means that Unreal Engine 4 doesn't allows you to package the app with an AdHoc (Distribution) profile without debugging it before with a Development profile?

avatar image Steve Hardister ♦♦ STAFF Sep 23 '16 at 07:55 PM

No, you can package the app with an AdHoc Distribution profile without debugging it if you chose to. You simply cannot debug it with that profile. However, if you want to debug your project, you will need to use a Development profile first. -Then use the debugged version to package AdHoc distributable copies of the project (which will not be debugged a second time).

The difference between the two builds is that final packaged build that you create with the AdHoc Distribution profile will be optimized for performance and shipping. This configuration strips out console commands, stats, and profiling tools.

Here is documentation explaining, in depth, the various Build Configurations and their purpose: Build Configurations Reference

avatar image lbarcelo Sep 25 '16 at 03:49 PM

Thanks for the information Steve, but I don't know how that is going to help with my problem.

avatar image Steve Hardister ♦♦ STAFF Sep 27 '16 at 05:02 PM

So, as it stands, can you not debug your project using your Development certification and provision? Then, once your project is sufficiently debugged, can you not package it for shipping using your Ad Hoc Development certification and provision?

avatar image lbarcelo Sep 29 '16 at 08:13 PM

How do I debug my app? I'm sorry but I'm new to this.

avatar image Steve Hardister ♦♦ STAFF Sep 29 '16 at 09:27 PM

With your Development certifications and provisions you launch on an iOS device and package in development mode to ensure there are no errors. Once you correct all errors (if any) you will use your Ad Hoc/distribution Certifications and Provisions (with this same, now debugged project) to publish your final shipping package. The only difference between the two, is that the final shipping version undergoes additional steps to optimize performance on the final build.

avatar image Steve Hardister ♦♦ STAFF Sep 29 '16 at 09:30 PM

With your Development certifications and provisions you launch on an iOS device and package in development mode to ensure there are no errors. Once you correct all errors (if any) you will use your Ad Hoc/distribution Certifications and Provisions (with this same, now debugged project) to publish your final, shipping package (now packaging for shipping). The only difference between the two, is that the final shipping version undergoes additional steps to optimize performance on the final build.

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

Follow this question

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

Answers to this question