Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS export configuration needs better validation #24866

Open
Krumelur opened this issue Jan 9, 2019 · 3 comments
Open

iOS export configuration needs better validation #24866

Krumelur opened this issue Jan 9, 2019 · 3 comments

Comments

@Krumelur
Copy link

Krumelur commented Jan 9, 2019

Godot version:
3.1 beta

OS/device including version:
macOS Mojave, Xcode

Issue description:
I've got a project that I'd like to export to iOS. The project can be found here: https://github.com/Krumelur/GodotTesting/tree/godot31_issue_24866
The export itself succeeds and I end up with an Xcode project file.
Deploying the project to a device fails with an error saying:

"App installation failed - No code signature found."

The reason is that no signing certificate is selected but cannot be selected. My assumption is that there is some Xcode project file compatibility issues. See video for details.

Steps to reproduce:

See videos for details. It will show exactly what I'm doing:

https://www.youtube.com/watch?v=5tXRo7uRPFE

  • Open the project referenced above
  • Export to iOS
  • Try to deploy in Xcode

Minimal reproduction project:
see above

@ViktorEvil
Copy link
Contributor

watched your video and downloaded your project. Managed to get it running on my iPhone by changing some of your export settings in Godot and let Xcode automatically sign the project

had to type in the text as shown in red (text was grey)
screenshot 2019-01-10 at 10 17 03

also had to change the Deployment target to iOS 10 to stop a flood of errors (had to do this on my project as well)

don't forget to add StoreKit.framework to your linked libraries as well or you will get a "linker command failed error" and the project will not build

img_0013b

@Krumelur
Copy link
Author

Krumelur commented Jan 10, 2019

Thanks. Yes, that fixed it. So let's get more concrete about the bug then that needs to be addressed:

  • The fields "Code Sign Identity Debug/Release" should be compulsory, if possible dropdowns to pick the correct identity and have some hint about what the value is used for.
  • The "Signature" requires some explanation. I just entered "I don't know what this is!" and it works. Actually, I retried and it can remain empty.
  • The deployment target should be updated to 10 or 11 in the export template (although technically not necessary. I was able to deploy to iOS 12 with a target of 9).

StoreKit was already added in my case.

@akien-mga akien-mga added enhancement and removed bug labels Jan 13, 2019
@akien-mga akien-mga changed the title Exported iOS projects cannot be deployed with 3.1 beta iOS export configuration needs better validation Jan 13, 2019
@akien-mga akien-mga modified the milestones: 3.1, 3.2 Feb 21, 2019
@akien-mga akien-mga modified the milestones: 3.2, 4.0 Dec 13, 2019
@akien-mga
Copy link
Member

CC @bruvzg - I think some of these items have been implemented since then, is the current state good enough to close this issue or is there more validation that could be done?

@KoBeWi KoBeWi removed this from the 4.0 milestone Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants