[4.10] IOS launch failure

Hi, I am trying learning how to launch a game on an iphone and am having a few problems with deployment. I am using the vehicle advanced template with no modifications. The certificate and provision have been properly set up and are valid. When I launch the game I get an unknown error and have attached the output log. I noticed that it says “Failed to connect to bundle”. I’m basically stuck and I’m not sure where to go from here.

Few things to know:

  • itunes 12.3.2.35
  • iphone 5 version [link text][1]9.2
  • UE4 4.10
  • PC(Windows 10)
  • advanced vehicle template(as is)

72013-output_log.txt (726 KB)

Darvos,

These are the following errors found within your project output :

LogPlayLevel: DeploymentServer: Failed to connect to bundle 'com.EnemySpawn.examplegame' with Unknown error 0xE80000B7
LogPlayLevel: DeploymentServer: Error: Failed to connect to bundle 'com.EnemySpawn.examplegame'

LogPlayLevel: IPhonePackager: IPP ERROR: Application exception: System.Security.Cryptography.CryptographicException: Invalid provider type specified.

It looks like your signing isn’t working correctly for your iOS project. You may want to make sure that you’ve properly set up your Certificate and Provision like the [guide][1] suggests.

Setting Up an Unreal Engine Project for iOS | Unreal Engine 5.1 Documentation

Hi, thank you for the reply. I have followed the instructions provided in the guide and I believe that the provision and certificate are set up properly. However, I do wonder if the error is caused by the iphonepackager application. When importing the provision, certificate, and keypair, I get no check marks(green or yellow). Also, in the iphonepackager app, there is a message:

“Could not find file ‘C:\Program Files\Epic Games\4.10\Engine\Build\IOS\UE4Game-Info.plist’.”

I was under the impression that 4.10 doesn’t need a manual info.plist because UE4 generates it for me. Do you have any insight on this? Thanks

Did you utilize the import function within the editor before using IPP? This is an older post but it may be what you are running into: [AnswerHub Link][1]

UE4.7.3 iPhonePackager could not find UE4Game-Info.plist - Platform & Builds - Epic Developer Community Forums

I have tried both ways several times and I keep having the same issue. At this point I’m wondering if this is a bug because I have followed the instructions and keep getting the same error. Not to sure where to go from here. Any advice?

Darvos,

Code iOS projects on Binary (Epic Games Launcher version of the Engine) will not package or launch on iOS devices. Please make sure that you are using a Mac in order to package your iOS project. You may also want to check that your XCode is up to date and that you’re not using a beta version.

I also browsed through and found UE-16236 which is a bug stating that Windows code projects fail to package on iOS devices from GitHub.

Thanks!

The project I have uses only blueprints, no code. Also, I don’t have access to a mac. Does this mean I cannot develop IOS games on my PC?

Have you tried adding your BUNDLE ID to your certificate in Bundle Identifier? You can find these areas in Project Settings > Platform - iOS.

Replace YOURCOMPANY with your BUNDLEID.

Hi, so after trying to figure this out using every tutorial and piece of information I can find, I am still left stuck. I know it has to do with the way I’m naming things. I will create a video of the steps that I’m taking to set up and maybe that will better help solve this mess. Thanks

Could you show me some screenshots of the naming conventions so I can try to help?

Thank you!

I know this is wrong, but here is an example so you may better guide me. Please tell me what I am suppose to put in each box. Thanks and sorry to be such a pain.

Right. Now I have a individual account, no company. What would be my company name?

Hey

As you can see in the image above, you simply need to put your project name in the Bundle Display Name and the Bundle Name. In the Bundle Identifier, you’ll need to put com.YOURCOMPANY.PROJECTNAME.

Your bundle ID is going to include AgonyID. So it should be com.YOURCOMPANY.AgonyID.

Have you tried deleting your DerivedDataCache, Intermediate and Saved folders from your project?

Upload the newer , thank you!

So I experimented a little a got has no success or progress. Here is a image of what I have. I changed it from AgonyID to just Agony. Any ideas as to what I may try?

Darvos,

Sign in to Apple Developer (developer.apple.com) and go to your Certificates, Identifiers & Profiles. Go to Identifiers, and then you should have the app ID you created for your game. It will have its name on the left, and the ID on the right will be what you put in “Bundle Identifier.”

If you haven’t set any of that up, then you will need to join apple developer before you can get this ID etc. Here is the UE4 documentation that I used to help, since I just did all this too: https://docs.unrealengine.com/latest/INT/Platforms/iOS/QuickStart/5/index.html

Hi, if you scroll up you can see I have a Apple developer account and have matched the bundle ID to App ID. The very top shows my log. The latest image is me following 's instructions to put com.YOURCOMPANY.Agony. Showing that it is invalid when I put that and the only way to make is valid is if I were to put that exact string as my App ID on the Apple website. Which also does not work. Is there by a phone number to where I can call someone for tech support? Thanks

You most likely have a specific mobile provision of the form com.companyname.game and you have not specified that exact name in the App Bundle Identifier in the Project settings. Set the Bundle Identifier to the exact same name as the mobile provision identifier and it should work.

  • [Provision Identifier Not Matched -
    Forum Post][1]
  • [iOS Mobile Provision
    Not Matching - AnswerHub][2]

We do not have technical support via the telephone. AnswerHub and Forums are where you can receive assistance.

Thanks!

Provision Identifier Not Matched - Mobile - Epic Developer Community Forums
[2]: 4.7.2 iOS mobile Provision not matching - Mobile - Epic Developer Community Forums

I finally did resolve this by putting com.epicgames.agony and waiting for version 4.12. Thanks

Thanks, putting com.YOURCOMPANY.PROJECTNAME. in a Bundle Identifier field solved issue for me (I haven’t put PROJECTNAME initially)