Xcode - 如何更改应用程序/项目名称:我需要更新和检查什么? [英] Xcode - How to change application/project name : what do I need to to update and check?

查看:105
本文介绍了Xcode - 如何更改应用程序/项目名称:我需要更新和检查什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Xcode 4.2,如果我想更改我的应用程序/项目名称(包括由Xcode自动创建的项目文件夹和子文件夹的名称),我需要更新哪些不同的项目以使整个程序编译再次像魅力一样工作?

Using Xcode 4.2, if I want to change my application/project name (including the name of the project folder and subfolder that are auto created by Xcode), what are the different items I need to update to make the whole thing compile and work again like a charm ?

我注意到我必须改变pch acces路径,包标识符......但我害怕丢失一些东西。

I have noticed that I have to change the pch acces path, the bundle identifier, ... but I'm afraid of missing something.

推荐答案

建议:从不更改项目名称而不保存整个项目。即使XCode有一个有助于做到这一点的功能,使用它可能会破坏你组织项目的所有辛苦工作,让许多脏东西到处都是,而不是改变所有需要改变的东西,它只是非常糟糕。几天前我在一个简单的项目中试过这个,让XCode改变主要的东西,但它已经让许多东西保持不变,或者在没有更新链接的情况下改变了东西,所以我不得不从头开始重建一个新项目让它再次编译。

An advice : NEVER change the name of your project without having saved the whole thing before. Even if XCode has a feature that helps to do this, using it may destroy all your hard work to organise your project, letting many many dirty things everywhere, not changing everything that needs to be changed, it's just awfull. I've tried this some days ago on a just simple project, letting XCode change the main things, but it has let so many things unchanged, or changed things without updating links, so I've had to rebuild a new project from the beginning to make it compile again.

这篇关于Xcode - 如何更改应用程序/项目名称:我需要更新和检查什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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