How to change iOS mobile provision in 4.7?

Hello,

I’m creating an iOS mobile app and I’ve upgraded from 4.5 all the way to 4.7.1. The app itself is fine but I have a problem where I can’t select the correct mobile provision. The app has two profiles; one for Dev and one for Ad-Hoc.
In the ‘Platforms-iOS’ settings it shows the provisioning profile it will use in green - how can I change it? It’s currently locked to my Ad-Hoc profile. I can’t click on it and the note states ‘The provision in green will be used to provision the IPA’. Am I missing something?

Edit - Added an image…

Thanks

I’m having the same problem… Now I’m trying to remove the profiles that I have from the folder and leaving only the correct one.

Hi Daniel, not sure if it’s of use, but I found that Unreal chooses the correct profile depending on the build you select. So, if you select the ‘Project Settings > Packaging > For Distribution’ box it will actually do a distro build, otherwise a dev build (as long as you have the correct profiles installed - just not necessarily in green!) It still doesn’t solve the issue with the green selected profile… Hope it helps.

Got it working :slight_smile:

I just had trouble to choose between ad-hoc and appstore one… But removing it during the build it worked!

Thanks!

I think that epic could make it a way to choose from the editor. It is more intuitive in my opnion.

Cheers!

Hi Daniel, what do you mean by “removing it during the build”? I’m stuck with that problem now, and can’t switch between 2 provisioning profiles.

Hi, I left only the correct profile in the folder ~/Library/MobileDevice/Provisioning Profiles. Then, restarted the Editor and built it again. Hope it helps.

Cheers

thanks, i will try that.

i’m having this issue as well (in 4.10) which doesn’t seem to be design intent of the editor. after producing a shipping build, no problem uploading to app store. however, when working on the next update, i need to revert provision from distribution back to development. i select the two check boxes for development provision, and development certificated, and restarted editor, and/or tabbed around to make sure the directory was updated, but the green circle with a check mark in it is still next to the distribution category. when uploading to Application Loader for TestFlight, the upload fails, because the provision was apparently still the distribution provision.

[edit] just learned the the app store only accepts distribution builds even for testing…so this is user error, but hopefully helpful information for others. still confused about editor’s display of correct signing/provisioning usage, but only a minor issue.