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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Invalid IPA under 4.6

We migrated a 4.5 project that we've been successfully building and distributing through TestFlight. After migrating to 4.6, we get the following error upon uploading to TestFlightApp.com:

 'Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc?'

We did copy the provisioning profile to the 4.6 Engine/Build/iOS folder, and the project settings seem to see them:

alt text

The build happens without errors and produces an .ipa file, but TestFlight rejects the file.

Any thoughts or suggestions are much appreciated, as our weekly build had to be cancelled because of this.

Thank you!

Jeff

Product Version: Not Selected
Tags:
more ▼

asked Dec 05 '14 at 10:27 PM in Bug Reports

avatar image

Kneebiter
291 15 26 44

avatar image DrDigg0R Dec 06 '14 at 11:17 PM

Same problem hear - no solution so far...

avatar image Ravlek STAFF Dec 09 '14 at 04:34 PM

When creating the IPA are you selecting Distribution under the Package Settings? I don't believe Test Flight will accept an IPA with a mobile provision that is not Ad Hoc which is created in UE4 utilizing the Distribution option under the File|Package|Packaging Options.

-Pete

avatar image Kneebiter Dec 09 '14 at 04:37 PM

Pete:

Yes. We're using the exact same settings as we've been using for months under 4.2 - 4.5 to create the builds:

Build Configuration: Shipping Full Rebuild: Yes For Distribution: Yes

avatar image Ravlek STAFF Dec 09 '14 at 05:12 PM

Could you post a log of the File|Package run?

-Pete

avatar image Kneebiter Dec 10 '14 at 03:20 PM

Pete:

Here you go: Build Log

log.txt (2.1 MB)
avatar image Ravlek STAFF Dec 10 '14 at 04:13 PM

Ok, first thing, you have a lot of provisions which is a good test for us :). To create the final package Xcode is utilizing the "iPhone Distribution: Empirical Development LLC" signing identity with the "Empirical Development Wildcard In House Profile". Is that the provision you were expecting to be used? If so, then it should be working correctly. If not, then we need to figure out why Xcode chose that provision as opposed to the one you were expecting.

-Pete

avatar image Kneebiter Dec 10 '14 at 04:14 PM

That is the correct profile and identity. Let me try uploading it again and see if it still gives the error.

avatar image Ravlek STAFF Dec 10 '14 at 04:27 PM

No it's actually ok because I did notice that our provision validation check is failing when it checked against the one that was finally chosen by Xcode. There definitely is still a bug in how we determine what provision should be used.

avatar image Kneebiter Dec 10 '14 at 04:38 PM

Yes, second attempt to upload gave the original error message, so looks likes something is still off. :(

avatar image Ravlek STAFF Dec 10 '14 at 05:55 PM

What was the error message?

avatar image Kneebiter Dec 10 '14 at 05:56 PM
 'Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc?
avatar image Ravlek STAFF Dec 10 '14 at 05:57 PM

That happened after a second build and upload? Do you have the log from the second build?

avatar image Kneebiter Dec 10 '14 at 05:59 PM

I think it was the app generated by the build I already sent you the log for.

avatar image Ravlek STAFF Dec 10 '14 at 06:12 PM

Ok according that log, you should have had an ipa called Distro_FP-IOS-Shipping.ipa in /Users/jeff/Desktop/IOS. Is that the one you pushed up? (Just making sure :))

avatar image Kneebiter Dec 10 '14 at 06:13 PM

It was, yes. I deleted the previous build before creating it, too, just to make sure.

avatar image Ravlek STAFF Dec 10 '14 at 06:15 PM

ok, so the IPA is just a zip file, so you can extract it and look at the files. Check to see if it has an embedded.mobilprovision, if so, open that up with a text editor and verify it is the one you expect. If it doesn't have one, then we'll have to figure out why.

-Pete

avatar image Kneebiter Dec 10 '14 at 06:16 PM

Heh, okay. I just deleted it. Let me re-do the build and I'll do it. I'll also attempt an upload to make sure the build has the same problems.

avatar image Kneebiter Dec 10 '14 at 04:21 PM

Well, now, that's weird. Today, TestFlightApp is accepting the build. Maybe it was a problem on their end. Sorry to have bothered you.

Edit: or maybe not. It didn't give an error message, but the new build is not there. Let me investigate further.

avatar image Ravlek STAFF Dec 10 '14 at 05:54 PM

It has to process the build I believe before it becomes available. It took about 30 minutes or so before one of mine became available.

avatar image Kneebiter Dec 10 '14 at 06:30 PM

Okay, just tested, and am still getting 'Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc?'

Here's the latest build log: Log

The unzipped .ipa does not have an embedded.mobileprovision file:

Unzipped IPA folder

avatar image Kneebiter Dec 10 '14 at 06:34 PM

Pete:

Just an FYI - this isn't our full main project (which is still on 4.5), but a smaller test project I was using to develop some effects. It's small enough that I could upload it if that will help, but i can't upload it to the ticket because it has assets that aren't licensed for redistribution.

avatar image Ravlek STAFF Dec 10 '14 at 07:19 PM

Can you look in /Users/jeff/Documents/Unreal Projects/FP 4.6/Binaries/IOS/Payload/FP.app and see if it has an embedded mobile provision? If so, then the problem is the final creation of the ipa and I may need the project at that point to try to reproduce here. Also, check the date on the Distro_FP-IOS-Shipping.ipa in the same directory and verify it has been updated recently. Lastly, are you guys using the binary release or the GitHub release?

-Pete

avatar image Kneebiter Dec 10 '14 at 07:22 PM

Nope, no embedded.mobileprofision there, either. The /Users/jeff/Documents/Unreal Projects/FP 4.6/Binaries/IOS/Payload/FP.app directory looks pretty much identical to the screenshot above showing the unzipped contents.

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

1 answer: sort voted first

Actually, I think I just found the problem. It looks like it is signing the app in /Users/Shared/UnrealEngine/4.6/Engine/Binaries/IOS/Payload/FP.app, but you have a code based project so it should be doing that in the game's Binaries/IOS directory. Definitely a bug of some sort. I'll keep looking through the log and see if I can figure out where it happened.

-Pete

more ▼

answered Dec 10 '14 at 07:23 PM

avatar image

Ravlek STAFF
1.9k 4 6 34

avatar image Ravlek STAFF Dec 10 '14 at 07:35 PM

Ok, I think what is going on is there is a bug in the temporary xcode project generated to do the code sign. I'll have to dig in to the project generation code to see what's up.

avatar image Ravlek STAFF Dec 10 '14 at 07:40 PM

Definitely an issue with project generation. However, I can give you a real quick change to fix the problem for now. Rename the game directory from FP 4.6 to just FP ( /Users/jeff/Documents/Unreal Projects/FP 4.6 to /Users/jeff/Documents/Unreal Projects/FP) and that should resolve the issue for now. The problem is there is a single spot in the project generation that is keying off the game folder name to determine if it is a game or a program and your folder setup is not being handled correctly.

-Pete

(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