Question marks in Xcode 5 Project Navigator

i just upgraded to Xcode 5, and my project uses GIT , after the update is complete, suddenly in the project navigator file, question marks appear next to each file.

enter image description here

when I try Commit I don’t see which files have been changed, I can’t pull it out and when I try to click it gives the message “Push Success”, but the repository on GitHub not updated.

+6
source share
2 answers

You probably misconfigured the git repository. There are ways to add external git repositories, but they usually don't work well for github (in my experience) and always lead to these problems.

If you want to set up a remote git repository through github on Xcode, these are the steps you must take.

  • Make a repository on github. Be sure to add the .gitignore file for Objective-C.
  • Clone the repository.
  • Go to Xcode, click "create new project"
  • Create a project in the folder to which the repo was cloned. I always call it the same, but I do not know if this is necessary.
  • Do not install the local git repository.

This will certainly create a project under the control of the version of the remote git repository hosted on github.

+3
source

A quick fix is ​​to create or save a new project “outside” the directory (say, Desktop) that is not associated with your github / bitbucket

+1
source

Source: https://habr.com/ru/post/956358/


All Articles