How can I resolve a red (moved) file in Xcode 5? - ios

In Xcode 4 when you would move a file, you could resolve the new location of the file by clicking a button in the right menu, and selecting the new location through Finder.
In Xcode 5, there is no button in the right menu and I haven't found any way to specify the new location of the file through right clicking the file, or the top menu bar options.

Right click the file in Xcode and select "Show File Inspector"
In the file inspector click the little folder icon next to the file path.
This will open a file dialog allowing you to update the file path.

Just delete the old one and add the moved one.

Related

How to create a new .storyboard file in a blue folder in Xcode?

When I try to create a new file by right clicking a grey folder I get this window
enter image description here
However, when I right click a blue folder to do the same thing I get this single file instead
enter image description here
A blue folder is a folder reference. You might want to convert the folder reference to an actual folder. Rightclick it and open it in finder, you will see that the path is different than in your project view. You can drag it into your project and tick 'Create groups'. You can also tick 'Copy items if needed' if wanted.
You also could create a storyboard on a different destination and than drag it into the desired folder reference.

Files disappeared from Xcode project, but still in folder

Morning I opened my xcode project to do some changes, but all files are disappeared. I don't kno why and I haven't any idea how I can return them back. All files are in folder, but can't see them in project navigation. is there any way to put them back to project?
NOTE: Filter in the Filter Bar is OFF.
Right click the project or folder icon in the navigator and select the "Add Files To..." option to add existing files back into a project.

xcode xcworkspace open without tools or Navigator?

I just oen the xcode "xcworkspace" it's open directly to the small screen without any tools or bars how can i back to the normal workspace ?
Try below option may be it will work
Right-click on the toolbar area beside your project title, i think you can see 'Show Toolbar' option & click it.
On the far right of this toolbar, click the leftmost 'Show Navigator' button in the group of three 'View' icons.
This should present your project in the navigator on the left for you to access.

Can't add languages to my app

I'd like to add a 2nd language to my app. If I go to my project und press the + under Localizations I can select a langue but can't go further (no files are displayed). If I click finish the language isn't added.
Maybe you don't have any localizable file ? Or Xcode didn't find them...
Anyway, you can always localize files manually :
Select your file in the left panel
Open the right panel in the "File Inspector" tab (first icon at the top)
Click the "Localize" button
Try again to add a language

How to apply localization without Storyboard

I don't use storyboard or xib for this project (full code)
When I add new localization, it shows no file in the list, and when I press Finish, no folder created.
You need a Localizable.strings file. If you already have that, select the file in the left panel. Then, click the button that should be in the right panel that says "Localize..."
Once you do this, you should be able to add other localizations the way you were trying to.

Resources