How to open Settings.bundle in Finder - xcode

I want to be able to add files to Settings.bundle folder using Finder but I'm unable to do so because Finder recognizes Settings.bundle as a file.
How do I view/edit the contents of Settings.bundle using Finder?

Just right click the file and choose Show package contents or use Go->Go to folder option using the bundle path.

Related

Where I can obtain the "stylus.bat"" for the File watchers of IntelliJ IDEA faminly IDEs?

According the IntelliJ IDEA documentation, the Stylus files watcher setup is:
In the Settings/Preferences dialog click File Watchers under Tools. The File Watchers page that opens shows the list of
already configured File Watchers.
Click the Add button or press Alt+Insert and choose the Stylus predefined template from the list.
In the Program field, specify the path to the executable file:
stylus for macOS and Unix.
stylus.bat for Windows.
Type the path manually or click the Browse button and choose the file location in the dialog that opens.
IntelliJ IDEA
documentation
The question is where I can get the stylus.bat.
If I install the Stylus globally by npm, it will be installed to [Drive]>Users>[UserName]>AppData>Roaming>npm>node_modules>stylus for the Windows case:
But there is no stylus.bat. Inside bin directory, there is the file stylus without filename extension, but this one does not work.
A <drive>:\Users\<user name>\AppData\Roaming\npm\stylus.cmd should do the thing

copy and paste any file in Xcode Workspace

I have opened a workspace in Xcode, now how are you suppose to copy paste a file.. Using keyboard Command+c/v does not work?

Intellij open project dialog - paste the folder path in MAC

I have the copied the path of the required directory to the clipboard
Now in Intellij IDE when I click file->open then it opens a dialog box, how do I paste the folder path instead of navigating manually to the folder in MAC OS?
I did not find any such option like the Finder's Go->go to folder
Please use "Cmd+Shift+G" shortcut to open "Go to the folder" dialog. Here is the screenshot:
https://i.imgur.com/VrjFz1Q.png
Once it is opened, please use right click to paste the path from context menu.

where is the root of the Xcode app project directory located?

I'm following a app tutorial and it says:
"Next, create an empty file in the root of the Xcode app project directory and call the file Podfile. Open it with your favorite text editor and paste the following line in it:"
I'm confused exactly where this is? is it inside my Xcode program? or is it some folder inside my Xcode folder in finder?
Got it.
Open Terminal, navigate to the directory that has your project. Type it like this:
cd ~/Path/To/Folder/Containing/yourProject
I saved mine on my desktop so it was simple.
Then type: pod init
This creates the pod file.
Then type:
open -a Xcode Podfile
This will open the file so that you can edit it.
You should do it in Terminal.
Once in Terminal:
type cd (there is a space after cd)
drag your project to the Terminal window and press return. It points Terminal to your project.
type touch .Podfile, which will create an empty file in your project
type open -a TextEdit .Podfile, which will open the .Podfile file in TextEdit
paste your code in it and then save.
you can check that your Podfile has been created by typing ls -a in Terminal, which will show you all files and folders in your project
This should work.

Nw.js merge the zipped app.nw file into the NW.js executable

Is it possible to merge the zipped app.nw file into the NW.js executable on Mac platform.
Certainly is possible on Linux and Windows but doesn't seem to be the case of Mac.
Download the build of NW.js for Mac OS X from GitHub
Unzip the downloaded file, to create a folder contain nwjs.app
Right-click on the nwjs.app and choose Show Package Contents from the contextual menu
Navigate to nwjs.app/Content/Resources
Place your app.nw file inside this Resources folder
Modify the file at nwjs.app/Content/Info.plist so that <key>CFBundleName</key> is associated with <string>NameOfYourChoice</string>. (This defines the name of the application menu.)
Rename the nwjs.app as NameOfYourChoice.app

Resources