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

GDExtension iOS export minimum OS version is hard coded 10.0 #85158

Closed
abcjjy opened this issue Nov 20, 2023 · 2 comments
Closed

GDExtension iOS export minimum OS version is hard coded 10.0 #85158

abcjjy opened this issue Nov 20, 2023 · 2 comments

Comments

@abcjjy
Copy link

abcjjy commented Nov 20, 2023

Godot version

Godot v4.1.1.stable

System information

macOS 13.6.1 - Vulkan (Compatibility) - AMD Radeon Pro 560X OpenGL Engine - Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 Threads)

Issue description

GDExtension code could use new c apis available in newer iOS. This hard coded minimum os version in Info.plist will cause rejection when submitting binary to App Store.

Steps to reproduce

Create a gdextension using fmemopen(), which is a new api since iOS 11. And submit the app to App Store, the submission will fail with error:

图片

Minimal reproduction project

N/A

@bruvzg
Copy link
Member

bruvzg commented Nov 21, 2023

4.1.1 is outdated, 4.1.3 and 4.2 defaults to 12.0, for GDExtension you can use ios_min_version=VERSION command line argument. Also, you can use @available around your code. But it's probably enough to change min. version in the exported project (will be configurable on export in 4.3 - #84162).

@akien-mga
Copy link
Member

Closing as per above comment, this seems resolved in 4.1.3 and 4.2.

@akien-mga akien-mga closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 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

3 participants