I’m a developer in windows and android side never been involved with IOS development, a client of mine wanted to package the project for IOS,
He has a Mac device, Using Unreal engine 4.27.
Now in project settings → IOS → both buttons Import provision and Import certificate are disabled, under there is a text mentioning XCode (can’t remember exactly what it said)
I was able to fix that but… Sorry I do not remember how the hell did I fix it, it was some stupid solution, as much as I remember play with export or Xcode settings all inside of project settings. you will be able to fix it.