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

Deployment target of OSX example is too high. #598

Closed
Erkaman opened this issue Apr 20, 2016 · 1 comment
Closed

Deployment target of OSX example is too high. #598

Erkaman opened this issue Apr 20, 2016 · 1 comment
Labels

Comments

@Erkaman
Copy link

Erkaman commented Apr 20, 2016

In the Xcode project of the OSX example, the deployment target is set to 10.11, which is the newest version of OSX. However, this means that only people with version 10.11 installed can compile the example. And I did not have 10.11, so I could not compile...

But this is completely unnecessary, because the project does not really use any new features of 10.11. I found that the deployment target can safely be lowered all the way to 10.7.

We can easily lower the version by first going to imgui/examples/apple_example/imguiex.xcodeproj/project.pbxproj, then going to line 369:

MACOSX_DEPLOYMENT_TARGET = 10.11;

and changing it to

MACOSX_DEPLOYMENT_TARGET = 10.7;

and then we also need to go to line 392:

MACOSX_DEPLOYMENT_TARGET = 10.11;

and change it to

MACOSX_DEPLOYMENT_TARGET = 10.7;

so by making the above two changes, we can easily lower the version.

@ocornut
Copy link
Owner

ocornut commented Apr 20, 2016

Thanks! I have applied this (blindly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants