godot
godot copied to clipboard
iOS exports: XCode generated files always come with default provisioning even if empty in export settings
Tested versions
- Reproductible in Godot 4.3 Beta 3 and Godot 4.3 RC 1
System information
Godot v4.3.rc1 - macOS 14.5.0 - Vulkan (Mobile) - integrated Apple M3 Pro - Apple M3 Pro (12 Threads)
Issue description
Each time I open the XCode project generated by the iOS export and run my game, I have a build error
"[game] has conflicting provisioning settings. [game] is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified."
I must uncheck/check "Automatically manage signing" and then choose my provisioning profile to run the game. If I keep the corresponding export settings empty, this should not happen ?
Steps to reproduce
- Export any project to iOS and do not provide provisioning settings in the export settings.
- Open the XCode project that has been generated.
- Run the game on an iOS device => Build error like mentioned in the description
Minimal reproduction project (MRP)
N/A
Are you exporting debug version (checkbox is in the bottom of exported file selection dialog, it is on by default)?
Debug version default to iPhone Developer if you leave string empty. You should be able to set both debug and release sign identity to iPhone Distribution to change it.
Are you exporting debug version (checkbox is in the bottom of exported file selection dialog, it is on by default)? Debug version default to
iPhone Developerif you leave string empty. You should be able to set both debug and release sign identity toiPhone Distributionto change it.
No, I uncheck the debug checkbox before exporting ^^
Anyone could check this? It's like even when debug is unchecked the xcode project exported comes with a default provisioning.
I was encountering the same issue and came across this on Stack Overflow. It does let me properly export my project from Godot project with debug turned off/in release mode. I'm not very familiar with Apple development but I wanted to share if this is relevant, or perhaps this is something I shouldn't be doing.
Edit: the instructions in the SO post basically instruct to change the identity to "iPhone Developer" for Release as well. My guess (since I don't have much experience here) is that since it's managed by XCode anyway, this isn't an issue? Again, I could be wrong, and please correct me if I am!
I'm going to take a look at that file because it may be the issue. It is clearly created with some wrong data which cause errors once opened in XCode.
Also running into this in 4.4.1.