Tag: xcode

removing local git repositary from Xcode Project?

I had selected local git repositary when I created xcode Project. But when import to SVN and commit, it commits locally not in SVN. How can I resolve this problem? I want to remove all hidden local git files from the Xcode project without affecting source code? any help please?

How to setup SVN repository in XCode?

I have got to the point with developing iPhone apps that I need a way of managing versions. I have looked into the ways to do this through Xcode and I see that I can either go down the path of using GIT or SVN. In the past I have used SVN which is the […]

Using git in iPhone projects

I have been doing iphone projects using git but I noticed that I got tons of conflicts. When using svn this wasn’t happening and merges were less frequent. Xcode needs the user to add a file by hand. For example adding a new image. When this happens an xml get modified. This xml file is […]

Crashlytics git management

I’m running into an issue where branch merging fails because Crashlytics binaries are changing. I added Crashlytics to the gitignore, but now the framework doesn’t show up if I checkout branches anymore. Is there a way to deal with the merge conflicts or a way to tell git to ignore changes to the file, but […]

Is there a way to make git automatically retry commands if index.lock exists?

I use some of Xcode’s source control features, specifically the blame feature in the main editor, but use git on the command line for all of my actual version control. This means that, fairly often, git commands on the command line fail with the message: fatal: Unable to create ‘/path/to/repo/.git/index.lock’: File exists. Xcode is creating […]

gitignore template for Xcode, IntelliJ Idea and Phonegap (aka Cordova)

Does anyone have a good pre-rolled gitignore file for iPhone development using Xcode and PhoneGap? Currently I’m using: .idea .DS_Store *.swp *~.nib build/ adhoc/ .xcodeproj/ !*.xcodeproj/project.pbxproj *.mode1v3 *.mode2v3 build/ xcuserdata But I’m not sure this is ideal. For example, updating Phonegap kinda messes up a lot of things. Also, if another developer just builds the […]

Understanding Git with XCode and BitBucket

After following several tutorials I was finally able to take my existing, non-Git-Repository XCode Project and get it uploaded to a repository on BitBucket. I’m completely new to git but I’d like to start working with versioning. Since I’m a complete newb I’d rather not be working with the command line all day (which is […]

How to Remove GIT version control from XCode 5 Project

Can anyone tell me how to completely remove GIT version control from an XCode 5 project? I decided to start using git when I upgraded to XCode 5, but then ran into the problem with excluding .xcuserstate in the .gitignore file. It would be successful, then the “User Interface State” message would come up while […]

How to tag a Git repo from Xcode 4

It might be silly, but i just can’t figure it out: i added git support for my project after creating it, by closing Xcode and, from terminal: $ git init $ git commit -a -m “Initial commit” When i reopen Xcode, it detects my local repository just fine, except for the fact that i just […]

Xcode git Auto-Detect Email Error

With Xcode 7, I’m having a problem committing code to git. I get this error: *** Please tell me who you are. Run git config –global user.email “you@example.com” git config –global user.name “Your Name” to set your account’s default identity. Omit –global to set the identity only in this repository. fatal: unable to auto-detect email […]

Git Baby is a git and github fan, let's start git clone.