Deployment target of OSX example is too high. #598

Closed
opened 2016-04-20 17:06:36 +00:00 by Erkaman · 1 comment
Erkaman commented 2016-04-20 17:06:36 +00:00 (Migrated from github.com)

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.

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 commented 2016-04-20 18:50:24 +00:00 (Migrated from github.com)

Thanks! I have applied this (blindly).

Thanks! I have applied this (blindly).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ocornut/imgui#598
No description provided.