Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9211401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:17:13+00:00 2026-06-18T01:17:13+00:00

When I do git status now, I get this as part of the results

  • 0

When I do git status now, I get this as part of the results

#   both modified:      BusinessPlan.xcodeproj/project.pbxproj

This is kind of an important file because Apple’s xCode uses it to open the whole project. I am not even sure it should be in git. Should it?

How can I resolve this? Should this file not be committed? I think I might have gotten changes from other developers. How can I clean it up and what is the way to work with this kind of a file long-term?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T01:17:14+00:00Added an answer on June 18, 2026 at 1:17 am

    In order to get Git and Xcode to play together nicely, you need to tell Git to ignore a handful of the extraneous files Xcode uses.

    Create a file called .gitignore in the root folder of your project, and include this text:

    # files created by Xcode 3 or older
    *.pbxuser
    *.mode1
    *.mode1v3
    *.mode2v3
    *.perspectivev3
    *.xcclassmodel/
    # files created by Xcode 4
    xcuserdata/
    # build products
    *.build/
    build/
    DerivedData/
    # Misc
    .svn
    .DS_Store
    

    This will instruct Git to ignore all of the files that will cause problems.

    Taken from Beanstalk page on Setting up Git with XCode 4.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to have git status only show the modified files due, in
I got back on an old project and I ran the nice git status
I removed a few files from my git repo and now, upon status see
git status tells me that my branch and the one I started from on
Possible Duplicate: Git: Revert to previous commit status I've tried some changes in my
I did this: git branch --track stats_page to create a separate branch to try
git clone supports both HTTPS and SSH remote URLs. Which should I use? What
git on OSX sees a modified subdir, but won't 'add' it; how can I
I've got a problem with git and my rails project. I have set up
I added some Haml templates to my Rails 3 project with git clone git://github.com/psynix/rails3_haml_scaffold_generator.git

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.