Xcode-重命名项目会导致问题 [英] Xcode - renaming project causes problem

查看:64
本文介绍了Xcode-重命名项目会导致问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在处理iPhone应用程序.我从互联网上找到的项目模板开始进行此工作.现在,我想重命名该项目.我已经成功地重命名了实际的项目文件,文件夹和可执行文件以及其他一些东西,但是有一个奇怪的问题.如果我尝试在我的iPhone设备上运行该应用程序,则Xcode拒绝以新名称运行该可执行文件-而是尝试以旧名称运行旧版本的可执行文件,因此,它会说:路径中没有可启动的可执行文件."正确,因为路径错误(名称错误).奇怪的是,它可以在iphone模拟器上运行-使用正确的可执行路径.

I'm currently working on an iphone application. I started working on this from a project template that I found on the internet. Now I want to rename this project. I've successfully renamed the actual project file, folder and the executables and some other stuff, but there is one weird problem. If I try running the application on my iphone device, Xcode refuses to run the executable with the new name - it's trying to run the old one with the old name instead, and thus it happens that it says: "No launchable executable present at path." Which is true, since the path is wrong (wrong name). The weird thing is that it works on the iphone simulator - it's using the correct executable path.

任何帮助将不胜感激.

推荐答案

在Snow Leopard上的3.2.1中,有一个项目->重命名..."菜单项,其作用类似于超级按钮.我认为它是在3.2中引入的.可耻的是它仅是雪豹.

In 3.2.1 on Snow Leopard, there is a "Project->Rename..." menu item that works like a charm. I think it was introduced in 3.2. Shame that it's Snow Leopard only.

这篇关于Xcode-重命名项目会导致问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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