Root.plist setting.bundle old editor, where is it? - ios

I have searched for the answer and I can not find it. How do I edit the settings.bundle in xcode 4.2?
I have found on this site you change to application.settings but that is not what I was looking for
This is the editor i have in xcode for the Root.plist:
and this is the old editor in xcode I was looking for.with the "+" to the right. Is this possible in xcode 4.2? Or did apple take this out?
Thank you so much, I am about ready to pull my hair out!!

The editor style has changed in Xcode 4. To add a new item, click on any item in the file (at the appropriate level for where you are trying to add it), and click the + that shows up and change the key and type as needed. The old editor with the + on the right is no more.

Related

Cannot add model version xcode 7.3

I've added new model version before in this project but for some reason I cannot add them now. When I right click on ****.xcdatamodeld and select "Add model version" from Editor menu. New version is showing up in Finder when I click "Show in Finder" but not under ****.xcdatamodeld nor in File Inspector??? I cannot add them manually under ****.xcdatamodeld as well.
I've added Apple Watch support in my project recently, in case if this information helps.
To be honest, I don't think I found a satisfactory answer but a few workarounds to what I think is a bug.
A solution here refers to incorrect directory structure, I did not give this a try as the xCode versions seem quite old but maybe it might help you: Issues with directory structure
This seems like a hack which worked for some, even in xCode 7.2
While none of these options worked for me, even quitting xCode, restarting Mac, I just had the beta 7.1 lying around, adding a new version worked perfectly and then I switched back to 7.3 to continue the rest.
To be honest, I don't think I found a satisfactory answer but a it solved my problem.i created a new project, in that project I did my model versioning(in latest xcode) and copied that model object in to my project.It works well.
Having just experienced watching nothing happen after selecting Add Model Version, I quickly found (stumbled upon) a solution that works. Credit goes to Shawn's hack link, in which Mundi points to the xcdatamodels.
Alt-select an xcdatamodel and then Show in Finder
Quit Xcode
In the Finder folder with all the versions, I found one version already existed (but wasn't showing in Xcode) with the version I had tried to make several times.
Delete this imposter!
Open Xcode and try Add Model Version
The new version was added.

How to rename a project in Xcode 7 [duplicate]

This question already has answers here:
How can I change the name of an iOS app in Xcode?
(36 answers)
Closed 6 years ago.
We tried to rename a project in Xcode 7 using the standard instructions but it didn't work. After the rename the build option was greyed out. Seems there are additional steps required but I haven't found a list which is up to date as of v7. How can you do the rename in v7?
If the run button is gray, you can edit the scheme. For an easy way you can click product -> manage scheme. Delete the current scheme and then click autocreate scheme now on the top-right corner.
Standard instructions or just softly double tap on project name which is usually on left side and just write the new name. It will pop up a new screen as show in the link shared by you and thats it. Can't really guess why it doesn't work for you as I have just tried a minute back on mine and its v7.

xcode 6 assistant editor Automatic results will not display

I can not drag anything to the code from the storyboard. Files were in assistant editor under automatic but now there gone how do i get them back other then deleting and recreating them? Opening them up under manual it will come up but Xcode can't find the referance when dragging to the code and i get the error when naming it.
I don't know if anyone else is still having this issue, but I get it a few times a week on Xcode 6.1.1 and I usually do the following to fix it (once I have checked that there are no class name mismatches):
Clean build
Delete Derived Data (using Organiser)
Force Quit Xcode
Re-open and Build
I know this is crazy, but it continues to work for me o_O
The most common cause is a mismatch between your class name and the name registered in the identity tab of the view controller. This will happen if you for example rename your class but don't update the classname in the storyboard.
To set/check the class name, open the storyboard and click on the leftmost icon in the titlebar of your UIViewController. Then open the identity inspector in the utility pane (right side) and double check the name given as the custom class.
The issue is due to not completion of indexing - so there are few alternatives, that you can try for-
Way 01 : Check if indexing is showing in processes - then let it complete. Then, close the editor and reopen it
Way 02 : Just perform the clean action. It will start showing appropriate Viewcontrollers.
Way 03 : This is the most effective way - Just perform "Build" and then restart editor - it will surely going to work.
I had the same problem, and I managed to solve it by selecting the correct Target on the File Inspector of both files (Swift and XIB in my case, you can check the file inspector in the storyboard).
It can happen if your project has a lot of targets (mine had a few, the file was checked on the wrong one).
You'll want to turn XCode indexing 'on' and set the Assistant editor to “Automatic”. This helped in my situation when the other suggested answers didn't. Details on turning on indexing at Stopping xcode from indexing
I just deleted build folder completely.And it works for me!

Extension project templates not appearing in Xcode 6

I'm not sure if I am the only one experiencing this program, but I have tried searching and have not been able to find anyone in my current situation. I downloaded Xcode 6 beta and was interested in Extension programming for iOS 8. However, I have been unable to locate the extensions in my project templates when creating a new project in Xcode, I saw a YouTube video (unrelated to extension programming) but I did notice that the option was not there for the said video. Now, I have had a look through the contents of the Xcode 6 beta package and have been able to locate the actual templates themselves, so I have no doubt they are present, it just seems that they are not actually being loaded.
For the record, I also downloaded some example custom keyboard code from GitHub in order to see whether Xcode will recognise it and it does, going as far as actually displaying the 'E' icon beside the build target. I should also mention that I do have a build of Xcode 5 also present on my machine.
Is anyone else experiencing this issue, or does anyone know how to overcome it?
Thanks
You create a extension by creating a new target in an existing project.
Check this link for more information
I had the same problem. The solution was to not try to add the extension in File/new/File... menu but in File/new/Target... menu.
You can add extension to any existing project.

XCode 5 shortcut to insert new line after

Now I know why people complain about xcode's editing capabilities. I find it impossible to code without touching the mouse for one thing or another and this is very frustrating. Anyway I'm used to Sublime Text so to insert a new indented line after the existing line I simply press Cmd+Return, I can't find a way to do that in xcode. Any suggestions is appreciated as I'm starting to consider appcode but don't really want to do that.
Check out this tutorial -Xcode duplicate line to add custom keyboard shortcuts in Xcode.
Then you can just add a new key-value (of your choosing):
Such as:
Insert New Line Below Current Line: moveToEndOfLine: insertNewline:
in the IDETextKeyBindingSet.plist file.
And then just configure your keybindings to the shortcut you would like (i.e.. shift+Enter, command+Enter)
You can also do this for any of your favourite shortcuts that may have been ingrained into your muscle memory from excessive use of your favourite editor. Good luck :)

Resources