How to access project structure to add jar files on MacBook? - macos

I'm used to using IntelliJ on Windows. For work purposes I also need to use it on a MacBook and I'm completely lost. First time using MacOS.
I have IntelliJ installed and running. No menu bar! I need to access the Project Structure dialog so I can add the missing jar files for Selenium.
What's Mac equivalent to CTRL+ALT+Shift+S? Also is there a way on Mac to enable the menu bar?
Thanks in advance!
-Mac Noob

There must be a project tab on the left hand side of the window that will show the file tree if you click it. From there, you can drag and drop.
To access the project structure you can go File --> Project Structure or do cmd+; (for me)
As for the menu bar, I think you are talking about the File/Edit/View bar at the top of the screen (very top, right next to the apple logo).

Related

Can xcode be configured to always display the files navigator?

When launching/running the application the files Navigator panel is overlaid with the Run :
But I need to view the files/directories in the project at the same time - and the breadcrumbs above the editor is insufficient. Is this configuration possible?
This is not really an answer but maybe the best workaround. I discovered that command-1 shows the Navigator and command-2 Shows the Run/Debug. So that is a reasonable quick-switch approach that allows me to be productive.

How do I embed projects using Xcode 10?

I've been searching the internet for hours trying to figure this out. In previous versions of Xcode, I could drag a .xcodeproj file onto my workspace, and the groups, etc. of that project would be in the main one. That is, its sources and products would be accessible in the parent project. I mean to do this for a new private framework of mine, but it seems that in Xcode 10.2.1, this behavior is changed.
When I follow the instructions found in Apple's archived documentation (all that seems to survive), the .xcodeproj file sits alone in my file inspector. No reference hierarchy, and nothing happens when I click on it. On top of that, that project's frameworks are not accessible to the parent project.
Has anyone here figured out how this changed in Xcode 10, and what we are to do about it now? Many thanks!
This certainly feels like a workaround, but it does seem to work:
Open one of the projects you want to be in the final workspace
From the "File" menu choose "Save As Workspace…" and save it somewhere on disk
This will create a new workspace that looks identical to the Xcode project you originally opened.
From the "File" menu choose "Add files to “WorkspaceName“…" and select the next project you want in the workspace
At this point it will probably put the newly added project "inside" of the existing one in the file navigator pane. Simply drag it out to the top level and it will be on the same level as the original project. You should be able to twirl open the disclosure triangle and see the source files it contains. Clicking on the project will show the targets it contains.
Repeat as necessary for the remaining Xcode projects
As you add projects, the schemes from each project will show up in the popup menu under the scheme button in the toolbar.

Open two windows with two iOS projects

How can I open two windows with two different projects in Xcode?
Having two windows open must ease to drag and drop files from one project to the other.
Use File/Open (⌘O) to open a project in another window.
Firstly, be sure to un-maximize the window by hovering on top left and touching the green button (if presently maximized). If you use Command+T then afterwards you can drag that tab into the desktop space to make a new window. Then you can open your other project. Then be sure to unmaximize it as well. Then you can use Fn+drag to copy files and storyboard from one prpject to the other. Go figure.
I am using xcode 9.2 and it has default like you said i.e. when we open a new project it will attach itself with the current window.
OR you can try (Command+T) to open a new tab then open project manually.

iOS - Using Base localization pane is always empty

In Xcode have added two localizations, German and English. I am following documentation on Apple regarding "Use Base Internationalization" which is obtained by going to the project, clicking Info and pressing on the checkbox.
If I do this, it launches a pane or page which is empty.
IE:
How do I get it to be populated, or otherwise be in a situation to select the relevant resource file?
The answer is to localize your storyboards. Go to storyboard, there is a button called localize. If you do this, the pane is no longer empty.
Check the answer from hassan83 (https://stackoverflow.com/users/1586924/hasan83) in another question. It solved my problems.
https://stackoverflow.com/a/27720065/7017099
"This could happen if Base Internationalization was active before then disabled and files deleted manually.
Create Base.lproj folder in your project folder using the finder.
Move your main story board to it also using the finder.
Fix the reference to it from Xcode.
Remove app from device, clean & build
your project.
All will be back to normal."

How To Get Xcode Interface Builder To Pop Up When I Click My NIB File?

I am at work and trying to make an application for my company in Xcode, however when I click the Nib file I cannot get the interface builder to pop up. I am on a Mac that has lockdown control on it, and I am wondering if this is affecting my development environment? When I double-click the Nib file nothing happens. It just modals the normal Xcode window. Am I at a loss on this? I am wondering if I am going to have to develop this application away from my work?
I only know that when the file is open with Xcode you must add the quarts composer framework
You can do this going to build phases, frameworks and add
When you make a right-click (ctrl-click) on the file and move to open with is there a link to interface builder? If so you can select the preferred program for all .nib files with
*right-click* > information on a .nib file.

Resources