Distribution iOS crash on launch. help

this is my 1st game. Ok where to start i have been trying to fix this issue for about a week now. so i need help so let me explain what going on.

so when im using Development Provisioning every thing works fine, i use the lunch button and everything is good. but know the game is done and im ready for release. so i setup the Distribution Provisioning i switch to shipping, checked for Distribution, checked the full rebuild, checked cook everything, then build. everything builds fine so i transferred it to my mac and uploaded it using Application Loader.

that’s when i got my 1st problem i got signing error. so i came here and look for answers. i found a answer so i download resign and resign my .ipa. then tried to upload it again. this time every thing upload good then i got an email saying "This bundle is invalid - Your archive contains paths that are not allowed: ( “entitlements.plist” ) ".

looked that up and found an answer so i made a entitlements.plist as detected from Can we pack IOS game for AppStore? - Blueprint - Unreal Engine Forums . and used resign again ever thing uploaded and yet again get another massage.

this time it says “Missing Push Notification Entitlement” i add it uploaded it no massages. so i submitted it and got a Rejected for crashing on launch. so i tried it using testflight and it just keeps crashing on launch and i don’t know why and i don’t know how to fix it.

i have tried looking for answers i have tried a bunch but cant fix it. please someone i need help. it would be greatly appreciated.

here is the crash log apple sent to me if that helps.

link text

im really struggling i have tried everything i can think of i really could us some help.

Hey Snowynight,

It sounds like you have been doing a lot of back and forth. Try deleting your saved and intermediate folders within your project directory to see if that resolves the crash.

Also, please take a look at our How to Report a Bug sticky on the forums so you can get an idea of all the information we will request when reporting a crash bug.

Let me know if you have further questions.

Thank you,

hi thank you for replaying but it did not work. im still getting all the same problems. Is there any other info i can give you to better help me. im using a Binary build and version 4.10.4.

If your project is crashing on launch, I need you to grab the logs from the device. Use the steps below which can be found in the Mobile Development Troubleshooting Guide.

How to get Logs off Device

  1. Open iPhonePackager (Engine/DotNET/IOS)
  2. Select a uproject file (Optional)
  3. Select the Advance Tools tab
  4. Select Other Deployment Tools…
  5. Select Backup Documents…
  6. Select the IPA for the game you wish to get a log for
    The documents directory data will then be copied to Engine/DotNET/IOS/IOS_Backups or GameDir/IOS_Backups if a uproject was selected
  7. The log can then be found at IOS_Backups/Game/Saved/Logs

Let me know if you have further questions.

Cheers,

hi im trying to get the logs but i cant find/get the logs. i have try both methods on my pc and on my mac. on my pc i do all the steps but i cant find the logs. no where on my computer is a file called IOS_Backups. i did a search for even logs but nothing i can find. when i do the Backup Documents it connects to the bundle but that it. i even did the xcode way on my mac but under devices no apps show up. hope you can help me.

Did you make sure your device was connected when looking for the Logs?

With iOS devices, upon initially plugging it in, it will ask you to trust the computer so you can share files and information between the device and your machine.

Could you clarify by what you mean when you said you used ‘testflight’?

Thanks,

yes i did leave it connected and it is trusted. what i mean by testflight is on iTunesConnect i used testflight to get it on my phone to test. sins it is a Distribution Provisioning. hope you can help. and as i said above when using iPhonePackager Other Deployment Tools it says it is connected to the phone. as well as Backup Documents it connect to the bundle. but that is it and there is no file on my pc called IOS_Backups. hope you can help me out.

im at a lose and what to do can you help me?

You want to select the IPA after selecting the ‘Backup Documents’ option. The IPA (iPhone Application/packaged project) should have logs sent to the Engine/Binaries/DotNET/IOS/IOS_Backups or GameDir/IOS_Backups if a uproject was selected.

I just attempted to test this workflow on my end, but am coming across some provision issues that are blocking me. Once I get around this I will return with some more information.

Thank you,

Thank you for keeping me updated. i really appreciate your help.

Hi i was wondering if i can get an update. im still at a lose and dont know what to do right know.

Hey Snowynight,

Apologies for the delay in response. I was able to follow the instructions on my end and get the logs off the device as explained by the Wiki and the steps I provided in the previous post.

There has to be a missing piece to this puzzle somewhere, but the only way for me to figure it out on your end would be to have your device and your project. Are there any logs on your device pertaining to the project’s crash?

I did find an useful source of information for users who were receiving the “Missing Push Notification Entitlement” message for the iOS apps. Take a look at the link below as the first two answers might actually be the correct solution.

Missing Push Notification Entitlement

Hopefully this helps you resolve your issue, but let me know if you are still stuck.

Thank you,

I have the 3 crash logs apple sent me when they where reviewing it if it helps. but i tired to get the logs myself fallowing the steps you gave me it connected to the phone. as well as Backup Documents it connect to the bundle. but that is it and there is no file on my pc called IOS_Backups to get the logs. hope this helps and thank you for helping im going crazy trying to fix this.
crash logcrash log 2crash log 3

So take a look at the link below and attempt to run through the process of grabbing the logs off of your device. If you still cannot do this, I will loop in further support.

iOS Application Crash Logs

Thank you,

So i did that the links says to do in windows but there was no log of my game. So i then did it on my mac going to xcode select Window, then Organizer. there i was then able to see my game under there so i clicked on it then went to crash logs, but there wore no crash logs.

So i then did what i normally do every couple of days and open up unreal launcher and see if there are any updates (on a side note i resonantly transferred my project to the newest engine 4.11 which did fix some issues like the signing error and entitlements issue but i was still getting the “Missing Push Notification Entitlement” which i did see your link to that issue but it did not help.)

There was an update for 4.11 so i updated it and then packaged my game. then i transferred it to my mac and uploaded it to apple. it uploaded fine but i did get the email saying “Missing Push Notification Entitlement”. but i resided not to resign it and upload it again and just waited for it to become available over testflight. i then installed it to my phone and opened the game. it went to the splash screen then it went black screen (usually this is where it just crashes to the home screen) but after a couple of sec it loaded up and the game is now working on my phone. i dont know what was causing the issue but it seems to be working know.

The only problem im having know is not logs which i guess is a good thing because that means its not crashing. and the “Missing Push Notification Entitlement”.

Well I am glad you were able to get past the black splash screen! In regards to the missing Push Notification Entitlement message, that could be a setting within your phone and not within the project itself. Go to the settings for your apps on the device, and be sure you have ‘Allowed’ push notifications perhaps?

I read this little line in the link I provided earlier, “When you enabled distribution for push notifications (which you must have done at some point because your ad hoc profile has the aps-environment key), the iTunes Provisioning Portal generates a new app store distribution profile containing the aps-environment key. You probably just haven’d downloaded and installed the latest. You need to re-archive. The provisioning profile associated with the app gets embedded into the .ipa.” Be sure you are using the latest provisioning profile by re-archiving for your ipa.

Cheers,