如何将项目设置从一个 Xcode 项目导入到另一个项目
我刚刚升级了 Xcode,并创建了一个空白的新项目,发现有许多新设置在我的旧 Xcode 项目中不存在。因此,当我构建并运行旧项目时,我收到了以前没有的奇怪警告。
我认为这只是一个新项目附带的良好工厂默认设置的问题。有没有一种简单的方法可以让我迁移到新的项目设置?
现在,我必须创建一个新的空项目,并将所有文件和组移动(几乎一个接一个)到新项目,并将所有内容重新缝合在一起。
I just upgraded my Xcode, and created a blank new project, and discovered that there's many new settings that don't exist in my old Xcode projects. As a result, when I build and run my old projects, I get weird warnings that I didn't before.
I think it's just a matter of having the good factory defaults that come with new projects. Is there an easy way for me to migrate to the new project settings.
Right now, I'm having to create a new empty project, and move (almost one-by-one), all my files and groups over to the new one, and re-stitching everything together.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 xcconfig 文件 而不是构建窗格。您还可以构建自己的模板。其中一些在 Xcode 4 中发生了变化,但大多数仍然适用。
Use xcconfig files rather than the build pane. You can also build your own templates. Some of this has changed in Xcode 4, but most still applies.