在Mac OS X 10.8之前编译目标时,Base.lproj / MainMenu.xib不可用 [英] Base.lproj/MainMenu.xib is not available when compiling for targets before Mac OS X 10.8

查看:792
本文介绍了在Mac OS X 10.8之前编译目标时,Base.lproj / MainMenu.xib不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Cocoa开发的新手。

我刚刚在 Xcode 5 中创建了Cocoa项目。我将部署目标从10.8更改为10.6。现在我收到此警告:

I'm very new to Cocoa development.
I've just created Cocoa project in Xcode 5. I changed Deployment Target from 10.8 to 10.6. Now I get this warning:


path-to-my-project / Base.lproj / MainMenu.xib
在Mac OS X 10.8之前编译目标

path-to-my-project/Base.lproj/MainMenu.xib is not available when compiling for targets before Mac OS X 10.8

这是正常的行为吗?我应该怎么办?

Is it normal behavior? What should I do?

推荐答案

您的项目正在使用基本国际化,这使得您的应用程序更容易翻译成其他语言。在Mac OS X 10.8和更高版本上支持基本国际化,这就是为什么当您将部署目标更改为10.6时会收到警告。

Your project is using base internationalization, which makes translating your app to other spoken languages easier. Base internationalization is supported on Mac OS X 10.8 and later, which is why you are getting the warning when you changed the deployment target to 10.6.

有两种方法可以摆脱警告。首先,您可以将部署目标设置为10.8。二,可以关闭基础国际化。从项目导航器中选择项目以打开项目编辑器。从项目编辑器的左侧选择您的项目。取消选中使用基本国际化复选框。

There are two ways to get rid of the warning. First, you can set the deployment target to 10.8. Second, you can turn off base internationalization. Select your project from the project navigator to open the project editor. Select your project from the left side of the project editor. Deselect the Use Base Internationalization checkbox.

这篇关于在Mac OS X 10.8之前编译目标时,Base.lproj / MainMenu.xib不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆