iOS - Unable to find valid certificate when importing Provision file - mac

Hi there,

I am having the exact same issue to this https://answers.unrealengine.com/questions/ask.html?space=41

I have a valid certificate - a provisional created out of that certificate and the bundle ID matches.

It says below the certificate is valid but above is red and won’t accept it. I know there have been other posts like this and I have looked at them all - but the one I linked is exactly the issue I’m having.

I have also looked at the documentation. Is there however anywhere else I need to put the certificate and provisions other than in - project settings - iOS in the editor as this is where I’ve uploaded them

Thanks
Ellen

LogTemp:Display: Running Mono…
LogTemp:Display: Setting up Mono
LogTemp:Display: /Users/Shared/UnrealEngine/4.12/Engine /Users/Shared/UnrealEngine/4.12
LogTemp:Display: Executing iPhonePackager Install Engine -project /Users/ellen/Documents/Unreal Projects/ipad_modern2/ipad_modern2.uproject -certificate /Users/ellen/Desktop/ios_development (3).cer -bundlename WaylandAppID
LogTemp:Display: CWD: /Users/Shared/UnrealEngine/4.12/Engine/Binaries/DotNET/IOS
LogTemp:Display: Initial Dir: /Users/Shared/UnrealEngine/4.12/Engine
LogTemp:Display: Env CWD: /Users/Shared/UnrealEngine/4.12/Engine/Binaries/DotNET/IOS
LogTemp:Display: BranchPath = Ellens-iMac.local///Users/Shared/UnrealEngine/4.12/Engine/Binaries/DotNET/IOS/…/… — GameBranchPath = Ellens-iMac.local///Users/Shared/UnrealEngine/4.12/Engine/Binaries/DotNET/IOS/…/…
LogTemp:Display: security: SecKeychainItemImport: The specified item already exists in the keychain.
LogTemp:Display: CERTIFICATE-Name:iPhone Developer: ellen@yelo.com (Q74R6B8Z86),Validity:VALID,StartDate:2016-08-16T10:25:55.0000000+01:00,EndDate:2017-08-16T10:25:55.0000000+01:00
LogTemp:Display: CERTIFICATE-Name:iPhone Developer: andy@yelo.com (S25JNS6KZ8),Validity:VALID,StartDate:2016-08-16T11:36:41.0000000+01:00,EndDate:2017-08-16T11:36:41.0000000+01:00
LogTemp:Display: CERTIFICATE-Name:iPhone Developer: Ellen
(77927A3JDK),Validity:VALID,StartDate:2016-10-05T16:40:38.0000000+01:00,EndDate:2017-10-05T16:40:38.0000000+01:00
LogTemp:Display: CERTIFICATE-Name:iPhone Distribution: Ellen
(H8BH5QJV4Q),Validity:VALID,StartDate:2016-10-05T16:41:04.0000000+01:00,EndDate:2017-10-05T16:41:04.0000000+01:00
LogTemp:Display: Looking for a certificate that matches the application identifier ‘H8BH5QJV4Q.WaylandAppID’
LogTemp:Display: … Failed to find a valid certificate that was in date
LogTemp:Display: PROVISION-File:WaylandProfile (1).mobileprovision,Name:WaylandProfile,Validity:NO_CERT,StartDate:06/10/2016 09:03:40,EndDate:06/10/2017 09:03:40,Type:DEVELOPMENT
LogTemp:Display: MATCHED-Provision:,File:,Cert:

Ergoproxy,

Delete your WaylandProfile (1).mobileprovision from your computer and then re-download it from the site. Make sure there aren’t spaces in the names too, because sometimes special characters and spaces cause trouble when packaging.

Once you’ve re-downloaded it, re-import into the engine and try to package again. Please upload the full error output logs once you’ve done that.

Thanks!

Hi ! thanks for getting back to me. I’m trying to test my level on iPad so do I need to package it in order to do this? I’m also going to try again later today of def tomorrow as I’ve been away with the new certificates etc…

After you update the certs/provs like you stated, you should be able to package for iOS or launch onto your iOS device. If you’re on a Windows machine packaging for iOS you may need to set up [rsync][1], which is remote building on a Mac.

Windows -> iOS Rsync/Remote Build Guide (4.8) - Mobile - Epic Developer Community Forums

Hey Egroproxy,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

Hi I had another go at all this today - made new certificate and provisioning profile but it still says in the engine that my certificate is invalid…

I tried packaging but it won’t let me - comes up with warnings (that i’ve included)

I just don’t know what to do I’ve tried so many times.

[link text][1]

There has been a development - I managed to get the provisioning profile to accept by reading the log and changing it to a name it was searching for (waylandpofile) I then put it in library, shared, mobile, provisioning - I’ve got rid of the error there but It still keeps saying my certificate is invalid!? I made it today so just can not solve this.

Mobile provisioning found:

yapp’ with CFBundleIdentifier=‘wayland’ in ‘/Users/ellenshelley/Library/MobileDevice/Provisioning Profiles/’ Phase 0 considering provision ‘Distro_my_app_dev_profile.mobileprovision’ named ‘my app dev profile’ … Failed phase 0 name check (provision app ID was H8BH5QJV4Q.wayland.myapp) Phase 0 considering provision ‘waylandprofile.mobileprovision’ named ’
waylandprofile’ Picked ‘waylandprofile.mobileprovision’ with AppID ‘H8BH5QJV4Q.wayland’ and Name ‘waylandprofile’ as a matching provision for the game ‘waylandmyapp’

Certificate still saying invalid

Looking for a certificate that matches the application identifier ‘H8BH5QJV4Q.wayland’ … Failed to find a valid certificate that was in dateIPP ERROR: No Signing Certificate found!!
PackagingResults:Error: Error Signing key not found. The app could not be digitally signed, because the signing key is not configured.

Is someone able to help I haven’t been able to get this working in over two weeks…

I sorted this by testing on a blank project

You have to rename the provision to match your ue4 project name - such as [project name].provision then upload into settings - iOS - provisions inside the editor. This bypassed the invalid certificate error.

Generally there are a lot of errors floating around with this and it might be good idea for unreal to look into a patch or updating their iOS documentation.