leehu
January 29, 2017, 10:16am
1
Hi, I have a project (static lib) that builds fine on default and also builds fine if I change the deployment target to be 10.8 inside XCode.
However, if I change the target to be 10.8 in Projucer and then re-open the project I get the following:
Looking in the project settings in XCode, the target remains set at “default”, so maybe this option isn’t doing what I think it should be?
thx
jules
January 29, 2017, 10:21am
2
The OSC classes are one of the newer bits of the library that relies on C++11 features, so might not be compatible with older compilation targets.
leehu
January 29, 2017, 10:23am
3
Hi, thx Jules, but doesn’t seem to be the issue. If I manually set 10.8 in XCode everything builds fine, it’s only when I set the option in Projucer that there’s an issue. The two should be equivalent?
jules
January 29, 2017, 10:24am
4
oh, maybe you just also need to set the correct C++ standard library.
leehu
January 29, 2017, 10:34am
5
ah, ok, thanks - that got it - yes, have to set it manually when going to 10.8.
One last Q, even though setting 10.8 in Projucer, when I look at the setting in XCode, I see:
Would I expect to see 10.8 here?
thx
chkn
January 29, 2017, 11:47am
6
leehu
January 29, 2017, 11:48am
7
Hi, in this case I haven’t upgraded to the recommended settings, but that’s interesting to know… thx
chkn
January 29, 2017, 12:55pm
8
Even if you click on “cancel” the view will be broken,
the only way to repair it, is to remove all user-dependent xcode settings (clear the build directoy and project files), and regenerate the project file via projucer
leehu
January 29, 2017, 2:54pm
9
ok, thx for the info - will give that a go