Xcode run button disappearing - ios

I have a problem with Xcode 7.1.1. The upper part of the UI (the container of the run button, manage scheme etc.) keeps disappearing when I close another opened project. If I have two project opened, closing one, the problem occcurs. I can't bring it back, the only option that I have is to close Xcode and open it again. Here's some screenshot of the page and the view menu.
The toolbar is visible, you can see it in the second and third screenshot, but its content it's hidden.
Anyone having the same problem or some solutions?

XCode will open the project with the interface configured the same way as the last file that was opened. If your interface is opening with the toolbar and project navigator minimized it means that you double clicked a file and opened it in its own window. XCode thinks that this was the last file opened so it uses this as the default.
To resolve right click on the top of the window and selecting "show toolbar"
You can also hide same way by right clicking and hide toolbar.

Keyboard shorcut: cmd + alt + T
Or in the menu: View>Show Toolbar

For showing:
... and for hidding:

In XCode Preferences. You can set the behaviour of the toolbar. I suspect,it must be set to hide.

i used this way and worked for me
View -> Show Toolbar

Related

How to edit storyboard in Xcode

Every now and then, I see tutorials allowing to add components to a storyboard by clicking a plus sign on the right up corner of the editor:
Bu I do not have this button. And it seems that there is no menu available.
I have to say that I'm trying to modify the storyboard outside of any project by opening the file alone.
Any help appreciated.
The plus button should be available on the right side of Project Header Section[Tool Bar] as Shown in the image
Based on the selected file different screens will be opened when we click on the + button.
We can also use the keyboard shortcut cmd+shift+L
Verified on Xcode Version 14.1 (14B47b)
Update:
As this option is available on the Toolbar, it may not be available if the toolbar itself is hidden. To toggle the visibility of toolbar we can use the shortcut cmd+option+T

Assistant editor(Xcode 7.3) always showing interface file in storyboard , even when I choose manually

Even after deleting derived data many times, and trying other things, I am still facing this problem. Can you help me?
You can try using the shortcut key instead, to open up the assistant editor.
Shortcut key: -
option + click on the file which you want to open up in the assistant editor
Guys I just stop dealing with this problem by changing the settings in xcode 9.2. And now i use Navigation Pane.
Here is how it works :
Ok now if you go to xcode -> preferences -> navigation
and Choose the "Uses Focused Editor" as in the picture below.
Now you can manually select inside the Navigation Pane.
Just click whichever page you would like to change and select in the Navigation Pane.
Here is a few screenshots :
Pictures shows code files but it works with everything you can click in the Navigation Pane.
Try to drag and drop file from the Project Navigator into the path of the Assistant Editor as temporary fix.
You also can click on this icon to bring recent files.
Try to clean your project, clean Build Folder, restart Xcode.
Make sure the view controller in your Storyboard has correct custom class name.
I think I know the problem you're having. I experience it too, but it's intermittent. Sometimes clicking Manual shows me the entire project folder and I can select the editable classes, but other times it only shows the interface versions of them, which aren't editable and cannot have IBOutlets dragged to them (you can tell b/c it'll say internal class and has less code). I have noticed that if I toggle back and forth between Automatic and Manual, I can usually get the editable class to appear. I also will toggle the assistant editor off, select a different View Controller or two on the storyboard, then go back to my original one, turn the Assistant Editor back on, and it starts working again.
There are other discussions of it here, here, and here. This suggestion of turning off indexing sounds intriguing and worth a try if the problem keeps reappearing. UPDATE: This trick with hitting the + and opening a 2nd file, then closing the interface file, worked great when I tried it just now.
Here are pics of how the Automatic side shows the actual file when the Manual side only shows the interface, which says internal next to class:

My app's main screen in Xcode 7 has disappeared

This is crazy. It's the first time it happens. When I click my project icon something like the first image should appear, with general tab, capabilities, resource tag, info... etc
But I've tried everything and I'm only getting this screen:
As you can see there is only two tabs. Can anyone help me to recover the missing tabs please?? Many thanks!
You are on the Project view rather then the Target view.
Press on the yuApp button on the top left corner and select the yuApp from the Targets section.
Select a Target and the tabs will appear.
Click on this. (Link to image I had in my drive)
Click on drop down menu and select your project

Xcode Obj C - back button gone on iPad

I'm having a problem in xcode where I'm using a UISplitViewController. After opening the left pane/table view, selecting a row in the table View, and then closing the pane the back button disappears. I'm not sure when this started happening, perhaps after updating to Xcode 7. I tried fixing it with code - changing, removing or adding code that would show the back button, nothing so far have worked. That being said, I don't think this is a problem that can be solved using code, this is a standard controller (the UISplitViewController that is) that's bundled with Xcode, and it should just work out of the box. Anyone heard of this problem before, or anyone who is aware of a fix?
Just to be clear, if I open and close the left pane only, the back button does not disappear, it will still be there. It only happens when I open the pane, select an item/row, and close it. The pane can still be pulled out/opened by swiping from the left side of the screen towards the center after the button is gone.
Here is a snippet of the navigation bar of the ipad simulator after the back button is gone:
EDIT:
I forgot to mention that I currently have changed the tableViewController to a viewController for MasterViewController.m (I started this project from the UISplitViewController template that's bundled with Xcode, which uses a tableViewController by default)

How to bring back the full Xcode 4 interface?

This is crazy! I opened two separate editor windows by double-clicking in the files navigator. Then I closed Xcode.
Now, every time I open my project Xcode is completely gone. All I get are these two separate editor windows. I tried everything to get Xcode back, but when I open this particular project there is no Xcode interface - just the two lightweight editor windows.
Did anyone else encounter this problem? Is there anything else I can do, other than creating a blank new project from scratch and copying everything over?
There's no such thing as a "lightweight editor window" in Xcode 4. What you're seeing is a window that has the toolbar, tab bar, navigator pane, and utilities pane all hidden. You can show them again from the View menu.
To bring back everything:
View->Show Toolbar
View->Show Tab Bar
View->Navigators->Show Navigator
View->Utilities->Show Utilities
The last two can also be done from buttons on the toolbar.
Depending on what you expect the window to look like, you may also need to use View->Debug Area->Show Debug Area.
Select one of these editor windows, and then go to View -> Show toolbar. There is the rest of your interface.
Try going to the menu and selecting Navigate and "Reveal in Project navigator"
With the project open, select View > Show Toolbar.

Resources