Source control ADD grayed out

- I need to add files to GIT, and have a repository there, but I can't commit any files, because Xcode says none of them are under source control. BUT, I can't add them to source control, because Source Control-Add is gray! How do I enable this menu item??

Creating Git repository for existing XCode projects
This problem has been puzzling me for a while...
Scenario 1:
You started a simple project just for a quick/simple test.
XCode gives you option to "Create local git repository for this project", and for some reason you didn't/forgot to tick it...
After you spent some time on it, your simple proof-of-concept project seems to worth a lot more now and you want to add it to the source control. Ooops, how do you do that again??!! You tried every possible options under "File -> Source Control" menu but none of them works, what the....$%#@! I guess it's mainly your fault for not creating the repository at the beginning, but, but, but, wouldn't it be nice if Apple can add an option into XCode to make it easier to add existing projects to the the source control?
Scenario 2:
There's another scenario - which happens to me quite a lot - you downloaded something from the web, you "heavily" modified it (it's mine now, mine mine mine! Ha ha ha....), and again, later wants to add it to source control and..... stuck again! Finally found a solution today, thanks to this link by Ash Furrow, I learned that you have to: (a) create an empty repository by open a terminal, go to your project directory and run the following commands: 
git init git add . git commit -m "Initial commit"
(b) after that, follow the following steps (you may compress the whole project into a ".gz" file first if you worried about loosing anything...) 
Move your existing project folder to your desktop.
Make a new, empty project in Xcode with the same name as your project. Make sure the box for using a .git repo is selected.
Close Xcode.
Copy all files from the project folder on your desktop to the new project folder Xcode created.
Double-click the project file.
You'll now need to add all the files to the source control since (they'll all have question marks beside them, shown right).

Similar Messages

  • HT1338 I have a G4 with no sound. The volume control is grayed out. Any Ideas? Thx Brian

    Hello,
    I just recieved a G4 with no sound. The volume control is grayed out. Any ideas? Thx Brian

    A SMU rset can usually fix that.
    Resetting the SMU on a PPC Mac:
    http://support.apple.com/kb/HT1767
    and on resetting the PMU on a Power Mac G5, G4 and G3 :
    http://support.apple.com/kb/HT1939?viewlocale=en_US
    http://support.apple.com/kb/HT1436

  • Partner Function - Control Keys Grayed Out

    Hi Team,
    In my partner function procedure there are many partner functions maintained. Against each of these partner functions we have a Non Modifiable and Mandatory check boxes provided by SAP. For the Ship to Party partner function these 2 check boxes have been grayed out and hence cannot be changed. This is happening only for the Ship to Party and not for other partner functions. Any clue what is happening or where do we have a control feature to make these fields modifiable.
    Regards
    Nadarajah Pratheb

    Hi Nadarajah,
    In ECC 6 if we go through VOPA both the fields are grayed out.. but if we go through the path SDBFPD(new one)... only Non modify field is grayed out.. Mandatory field is still open for editing in LF-SH..
    Thanks for this Observation.. If u get any information regarding this plz update here..
    Thanks,
    Sam

  • Give Control option grayed out (mid migration)

    I just set up a new Lync 2013 Server, and have moved all users over to it. Obviously I missed something. Desktop sharing works, but the "Give Control" option is grayed out. 
    I think I found a setting but... well here, take a look...
    PS C:\> Get-CsConferencingPolicy -Identity "Global" | select AllowParticipantControl
                              AllowParticipantControl
                                                 True
    Where do I go from here?
    A wise man is a fool, with a good memory.

    Hi,
    Did the issue happen only for one user or for multiple users?
    From your description, the issued Lync users are moved from Lync Server 2010 pool to Lync Server 2013 pool. Please create a new Lync account on Lync Server 2013 pool and make sure the policy for the user set correctly, then have a test.
    Please also try to use Lync Web App to have a test to test if the issue caused by Lync client.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Why are the adjustment layer controls grayed out?

    I have used an adjustment layer in CS5 and when it was first used I could adjust everything.  Now most of the controls have grayed out and whilst I can slide the sliders I can not type figures in nor use the radio buttons!  Why has it locked me out?  It has happened on a few images and with both Colour Balance and Hue and Saturation Layers.
    The image above shows the problem with the top Colour Balance layer where I can not select Shadows or Highlights, nor type in figures for the sliders BUT I can slide them and change the tick on Preserve Luminosity!  The basic image being edited is an 8-bit RGB file. 
    Adding a new adjustment layer (Colour Balance) on top of this one initially showed the same problem but after adding 3 more new adjustment layers suddenly eveything came back to fully working again - even the original problem layer!
    This problem keeps happening with some of my images.  It is happening on all 3 of our photoshop PC's, so it looks like a basic PS bug.  Has anyone else seen this or know why it happens?

    Thanks for the suggestion but that has no effect on them being grayed out or not.  When this problem occurs it does not matter if the Mask is highlighted OR the adjustment itself.
    But thanks anyway.
    I am currently without the issue on the above example having removed the problem by adding additional adjustment layers and removing them again. Even if I now select just the adjustment mask I can still access ALL adjustment controls without problem.
    But it will occur again as it has done over the last few months on a random basis.  Hopefully someone else has seen this occur and found a solution?

  • Audio A/V controls grayed out - no audio

    Hello,
    I am on a PC running Windows XP. I have purchased Quicktime PRO and the MPEG plugin.
    MY Question is: My Audio A/V controls are grayed out. When I go to Window->Show A/V Controls my Audio A/V controls are completely grayed out. No audio.
    However, audio is fine on my PC running numerous applications?
    Any ideas,
    Gary Young

    Thanks for responding, no there is no sound from the headphone jack either. It seems like the problem started with the last update installation. A couple of weeks before that I had changed out the memory for a 1g in the upper slot. Everything else working well and memory seems to be happy. Those are the only two things I can think of that have gone on with the system. Internal speakers show up as the choices in sys pref and it switches back and forth from internal to headphone promptly when you insert/remove plug. The tex instr sound card is showing up in the hardware description in about this mac. Most of this detail may be meaningless, but figured there might be a clue in there for someone more clued up than I am.
    Thanks

  • Accessibility 508 issue in Acrobat; accessibility controls grayed out

    Hi - I have to check PDF's in two different versions of Acrobat.  On my one computer, the accessbility functions work great.  Then when I went over to my other office on my laptop, I tried checking the accessbility and all of the same controls on the other computer were grayed out.  I'm pretty puzzled by this so I'm not sure if the laptop computer has some kind of persmissions blockage (I do this work for a government agency) or what.
    Below is a side by side screenshot of the two computers' versions of Acrobat
    Can someone tell me why those controls are grayed out and what I need to do to turn them on?  Thanks.

    Hi - thank you for your reply.  One strange thing about this situation is on both of these computers, the Abrobat icon says "Pro" for both of them.  That's why I was so puzzled about this because although they appear to be version X and XI, they both said Pro but only one allows me to do accessibility.  Strange.

  • Possible fix for no audio & grayed-out volume control

    Hi, I just thought I'd post this fix I found for my Mac Mini losing audio and also having the volume control grayed-out as if permanently muted.
    I have had this problem a couple of times on my Intel 2 GHz Core 2 Duo Mac Mini. I have tried some of the software solutions found on the web such as zapping PRAM, deleting certain Plists, etc. But in my experience the fix that has worked is to open the Mac Mini and unseat and then reseat the orange Foxconn ribbon audio cable where it connects from the Mini's audio board to what I assume is the main circuit board. Then when you reassemble and turn on your Mac, audio will be back.
    My theory is that unplugging and re-plugging USB and audio cables on the back of the Mini near the audio board eventually loosens the internal ribbon cable and causes the audio to stop working. My latest attempt at a permanent solution is to have USB and analog 2.5mm stereo audio 'extender' cables plugged in on the back of my Mini, which loop forwards over the top of the Mini where they are all taped down securely. This allows me to plug and unplug cables without ever disturbing the actual USB and audio ports on the back of the Mini.  I am hoping this will help avoid the lost audio & grayed-out volume control problem in the future since the connection of the internal audio ribbon cable is less likely to be disturbed. It is a somewhat ugly solution but seems to be working so far.  I'll post later on if the volume control gets grayed out again even with these measures.

    Not on mac though

  • Error when trying to add a project to Subversion source control

    When trying to add a project to source control from within the OPM 10 studio (File - Source Control - Add Project to Source Control), the following error occurs:
    "There was a problem accessing the source control system, probably due to network or contention issues. A retry is recommended."
    This has been tried with Subversion versions 1.6.2, 1.6.5 and 1.6.6, with local repositories and repositories on a Apache webserver.
    Once the project has been added to a repository, by using TortoiseSVN for example, working with source control is no problem.
    Does anyone have a clue what the problem (and a solution) might be?
    Thanks,
    Theo.

    Hi,
    Davin mentioned:
    This appears to be an issue with the source control integration. We are looking into it.I am using OPM 10.0.1.14
    The OPM help on collaborating mentions:
    Open a rulebase project from source control
    To open an existing Oracle Policy Modeling project from a source control repository:
    In Oracle Policy Modeling, select File | Source Control | Open Existing Project from Source Control. When I open the File menu I do not see the "Source Control" at all.
    Is this caused by an installation error or part of the "issue with the source control integration" ?
    Please let me know if I'm the only one experiencing this problem ....
    Thankx,
    Paul

  • "Enable Access Control" for shared directory is grayed out

    For shared directories in WorkGroup Manager, the checkbox "Enable Access Control" is grayed out. I want to enable ACL on a directory I have moved from another volume. The "Enable disk quotas" is also grayed out.
    How do I turn on Enable ACL?
    Dennis

    ACLs are enabled at the volume level. In the Sharing panel of WGM, you need to click the "All" tab so that you see more than just your sharepoints. Select the disk volume upon which your directory is located and then the "Enable Access Control" option should become available to you.
    Note that enabling the ACLs doesn't apply them. Your directory will continue to use POSIX permissions until you specifically apply ACLs to it.
    Xserve G5   Mac OS X (10.4.5)  

  • Aperture Import destination grayed out when importing from iPad

    I'm trying to import a bunch of photos from my iPad. I want to dump them all in one project in Aperture, but after selecting the iPad from the import source list, it grays out the options to select the destination. It also grays out the option to uncheck the Autosplit events. I do not want to do this import and then have to go back and merge 20 projects.  Any ideas?

    It' how Aperture works with the iPad see Aperture 3: Photos are not split into projects by date when importing from iPad as well as other threads here asking similar questions

  • Cannot get project to open from Source Control

    When trying to open project from Source Control, it times out (at Loading Index). After numerous tries, I'll get cpd file corrupt and I follow the steps (delete file and try again); sometimes I get very strange error messages.
    Does anyone know how to fix this problem so I can open a good copy of the Source Control project on my desktop?

    Hi,
    What version/flavour of RoboHelp are you using?
    What source control client are you using? Are you using the RoboSource control on a 64 bit system? If so, you need to update RoboSource control: http://kb2.adobe.com/cps/917/cpsid_91739.html. Note that this fix is for RoboHelp 9.
    Greet,
    Willam

  • Visa Control grayed out when executable used with Run-time Engine

    When I run an executable on a machine with only the Run-time Engine the Visa Control for Com Ports is grayed out. I'm guessing that I am missing a library, but do not know which one.

    You need to install the VISA run-time. If you are just using VISA for serial communication, then there is an option on the app builder (Installer Settings>Advanced) for Serial Port Support. This will add a much smaller version of the VISA run-time engine to the installer you create. If you are using GPIB, etc., you have to install the hardware driver (i.e. NI-GPIB) and the full VISA run-time engine.

  • Add (to dictionary) is grayed out in Word 2008 :o(

    I have Word 2008 for Mac. I love the "add" to dictionary feature in the spell check but in mine, it's GRAYED OUT. Why? How can I enable this? I'm sick of "ignoring" my last name and other words I often use!
    Thanks much!
    Daisy

    Thanks! I found the answer on that website. Here it is:
    You'll need to set up a custom dictionary first. On the word you'd like to add to your custom dictionary, do a right-click or Control+click, select Spelling, and in the Spelling and Grammar dialog click Options. The Spelling and Grammar preferences pane should be displayed. For Custom Dictionaries, click on the Dictionaries button, put a check mark in the Custom Dictionary item box, and OK your way out of there.
    Now you should be able to add any "misspelled" words to your custom dictionary.

  • JDeveloper Add-ins - Source Control

    How do I add an add-in for Version Control of the software (Servelts/EJBs/shtml) being developed.
    As we are implementing ISO, this seems to be mandatory.
    In the help of JDeveloper 3.0, version control add-ins seems to be possible. We have standardised on visual source safe 6.0.
    any idea on how to integrate these tools together. Alternatively, should I be using any other version control tool?
    Tx in advance.

    I would recomend using version control as the separate tool. Simply check out the files and switch to JDeveloper do work, save swich to the version control and check in.
    In my opinion integrating with JDeveloper is not worth it. First it add-ins do not work well with JDev 3.0. Secondly the working with Business Components wizards and version control is a little tricky - wizards may change mulitple files and it takes a while to learn which files you have to checkout. You may as well check out the entire folder containing the changes, using the version control client. When you check in you can skip the files without changes (most tools should allow to do this).
    Good luck,
    /Michael

Maybe you are looking for

  • How do I look up a web page I visited last week?

    I received confirmation of an event I registered for, but I hadn't printed it out yet, before that tab disappeared when I hibernated the computer. Is there a way I can retrieve it? The history tool only shows February or earlier; this was in March. T

  • GTX 480's on sale at Dell for $365 (thru June 10th)

    Folks, Well, maybe I can be of help myself. I'm new 'round here and hope my listing a hardware deal in this forum isn't a faux pas. I wanted as many PPro CS5 users as possible to see it here in this forum. For all I know, listing deals anywhere on th

  • New mac user need to change the main account name

    Hi....I bought a used imac to try before switching to mac.....I liked it and ordered a new imac....when first booting, it gave me the option to migrate from my old imac via firewire, which I did.... The new imac now has the previous owner's name as t

  • My laptop become blue screen after windows logo, after i update the graphic ati and intel driver

    I have constant blue screen after windows logo and i have updated all drivers. i was upset the blue screen didn't go away and i did the factory reset. For my suprise, it didn't solve the problem and then i repair it at the comp shop. it was installed

  • How Do I Set Print Quality in PSE 10 to above 720 DPI?

    Hello Everyone, I am trying to print a 4888px x 3456px (A4 aspect ratio) to an A4 sheet from an Epson SC-P600 inkjet printer. In the PSE 10 Print Dialog Box I have set PSE to Manage Colours and selected my printer ICC profile.  From the Print Dialog