Page 1 of 1

OpenGL Deprecated

Posted: Sun Sep 26, 2021 8:36 pm
by odysseusofmanywiles
I'm trying to upload a newer version for my app to app store connect. But when I try to Archive my app, I'm blocked because of this warning:
OpenGLES is deprecated. Consider migrating to Metal instead.
I've seen some posts here say that Metal would be used in love v12. But I wanted to ask if there's a way to successfully build my app on XCode v13 on the latest love release.
Thanks!

Re: OpenGL Deprecated

Posted: Sun Sep 26, 2021 8:41 pm
by slime
Are you positive that specific warning is what's stopping you, and there isn't any other error messages? As far as I was aware, new apps could still use OpenGL on Apple platforms.

Re: OpenGL Deprecated

Posted: Sun Sep 26, 2021 8:50 pm
by odysseusofmanywiles
I had another warning that recommended I do the following:
- Update the minimum deployment target of project liblove to 12.0
- Enable the following recommended compiler warning:
- Quoted Include in framework header.

But I was able to make these updates and the OpenGL error still persists.

Note: this isn't a new app. It already exists on the app store, and I'm trying to release an updated version.

Re: OpenGL Deprecated

Posted: Sun Sep 26, 2021 9:48 pm
by slime
The warning doesn't prevent any Xcode or app functionality from working as far as I know, so the reason for your Archive step failing is probably something else.

Re: OpenGL Deprecated

Posted: Mon Sep 27, 2021 2:29 am
by odysseusofmanywiles
Okay so I tried to download the ios source code to test it on XCode 13. When I try to build it for a simulator, this is the error I get:
stdlib.h:143:10: No member named 'ldiv' in the global namespace; did you mean simply 'ldiv'?

Is this error expected?