开发者

Why does my Mac OS X Xcode 4.2 project think I've set an OS X target lower than 10.3

开发者 https://www.devze.com 2023-03-25 05:37 出处:网络
I get compile failures because \"NSSegmentedControl\" (which I use) is reported to be unavailable on OS X prior to 10.3.Fine.. but I\'ve set my project to 10.7 everywhere. Same issues with Clang and G

I get compile failures because "NSSegmentedControl" (which I use) is reported to be unavailable on OS X prior to 10.3. Fine.. but I've set my project to 10.7 everywhere. Same issues with Clang and GCC.

Is there a limitation to creating 32-bit OSX applications开发者_Go百科 on Lion?

Why does my Mac OS X Xcode 4.2 project think I've set an OS X target lower than 10.3

Why does my Mac OS X Xcode 4.2 project think I've set an OS X target lower than 10.3


I believe it's a bug in Xcode.

While the default Deployment document versioning setting for nib files seems to be Project SDK Version (Mac OS X 10.7) like shown in the image below, Xcode actually seems to be using All Versions of Mac OS X.

Why does my Mac OS X Xcode 4.2 project think I've set an OS X target lower than 10.3

If you change the Deployment target to be a specific version of Mac OS X, rather than the Project SDK Version, (like in the image below), it should prevent the errors.

Why does my Mac OS X Xcode 4.2 project think I've set an OS X target lower than 10.3


Maybe it is looking at deployment target in build settings?

0

精彩评论

暂无评论...
验证码 换一张
取 消