当我重命名项目时,Xcode 6.3崩溃 [英] Xcode 6.3 crashes when I rename the project

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

问题描述

昨天我更新Xcode到6.3版本,因为我的iPhone有8.3软件版本,Xcode想要最新版本运行应用程序。



如果我复制项目,然后打开它,并在身份和类型名称字段中键入新的名称它崩溃系统地。



我试图更改包名称,我已经做了一个步骤,但它重命名没有扩展名(.xcodeproj)的项目名称。我手动添加它,但是当我再次打开项目时返回错误,不允许我运行该项目,也不在模拟器或在设备中。



任何人问题?
是否有另一种方式重命名项目?

解决方案

Hello是一个已知的xcode错误6.3.1重命名手动在这里,有简单的风险和耗时。
有一个更有效的方式通过命令行只有3条语句。继续阅读。



有两种解决方案:



1-升级到Xcode 6.3.2 GM种子或更高版本



2-用命令行替换 - 快速&愤怒...有效! 不提供



///安装确认。有关Ack的信息,请参阅: http://beyondgrep.com/why-ack/



  $ brew install重命名ack 



///两个命令要执行重命名 - 一个用于文件名& 2nd for'leterals'inside files



  $ find。 -name'OldProjectName *'-print0 | xargs -0 rename -S'OldProjectName''NewProjectName'

$ ack --literal --files-with-matches'OldProjectName'| xargs sed -i'''/ OldProjectName / NewProjectName / g'



///如果所有重命名都是成功的。以下命令指示成功IF&如果没有输出结果



  $ ack --literal'OldProjectName'
/ pre>

Yesterday I updated Xcode to the 6.3 version since my iPhone has the 8.3 software version and Xcode wanted the latest version to run the app. So everything updated now but Xcode cant't rename the project anymore.

If I duplicated the project then open it and type e new name in Identity and Type name field it crashes systematically.

I've tried to change the bundle name first and I've made a step over but it renames the project name without the extension (.xcodeproj). I added it by hand but when I open the project again it returns errors and does not let me run the project nor in the simulator or in the device.

Anyone who experiments the issue? Is there another way to rename the project?

解决方案

Hello this is a known bug with xcode 6.3.1 Renaming manually here and there is simply a risk and time-consuming. There's a more effective way of doing it via Command-line with just 3 statements. Read on.

Two Solutions exist:

1- Upgrade to Xcode 6.3.2 GM seed or later

2- Replace by command-line - it’s fast & furious..urm effective!! Mention not

/// Install Ack. For info on Ack, see: http://beyondgrep.com/why-ack/

$ brew install rename ack

/// Two Commands to execute to do renaming - one for File names & 2nd for 'leterals' inside files

$ find . -name 'OldProjectName*' -print0 | xargs -0 rename -S 'OldProjectName' 'NewProjectName'

$ ack --literal --files-with-matches 'OldProjectName' | xargs sed -i '' 's/OldProjectName/NewProjectName/g'

/// Check to see if all renaming was a success. The following command indicates a success IF & ONLY IF no result is output

$ ack --literal 'OldProjectName'

这篇关于当我重命名项目时,Xcode 6.3崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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