I just updated my Xcode 6.3. I am getting an issue while project renaming. Is there any solution?
And in some case it is showing mymac instead of simulators or devices in schema - device section on top left side.
It is little different ,we have to follow some new procedure.
1) Change your xcodeproj file name first without opening it.
2) Change Target name from Project Editor by double clicking on target name.
3) If your project name is not changed yet , you can do it by right side of your xCode as shown in below figure.
4) You can change plist file name manually.
5) Now for solving scheme issue , you have to remove current scheme and have to add newer scheme with proper name.
Remove older schemes shown as above(by selecting it and removing by clicking on "-" button) and add newer one(By clicking on "+" button from manage scheme and adding proper name).
After crashing, the extension "xcodeproj" disappears. So what you need is to add the extension. After opening project, all targets gone. You need to remove current scheme (Manage Schemes>Delete"), then add a new scheme with proper name. In my case, it works.
Manually rename in the finder App.xcodeproj
and App-info.plist
to YourNewAppName.xcodeproj
and YouNewAppName-info.plist
. Control click on YourNewAppName.xcodeproj
and chose Show Package Contents
, manually rename App.xcscheme
to YouNewAppName.xcscheme
Open project.pbxproj
, YouNewAppName.xcscheme
and xcschememanagement.plist
files in your favorite text editor other than Xcode. Find and replace one at a time all instances of App
to YourNewAppName
then Save.
Control click on project.xcworkspace
and chose Show Package Contents
and open UserInterfaceState.xcusersate
in text editor. Find and replace one at a time all instances of App
to YourNewAppName
then Save.
Open YourNewAppName.xcodeproj
in Xcode and change under the Project Document settings: Project Format Xcode 6.3-compatible
...or for an easier time go back to Xcode 6.2.
this might be a late reply, but definitely useful for some readers later on. Note: Renaming manually here and there is simply a risk and time-consuming. There 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
$ brew install rename ack
$ find . -name 'OldProjectName*' -print0 | xargs -0 rename -S 'OldProjectName' 'NewProjectName'
$ ack --literal --files-with-matches 'OldProjectName' | xargs sed -i '' 's/OldProjectName/NewProjectName/g'
$ ack --literal 'OldProjectName'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With