Search code examples
iosxcodegitios5xcode4.3

Git ignore file for Xcode 4 projects


Which files are better to ignore in git for an Xcode 4(.3.2)? This older question addresses the same issue but I find my structure to be different so I assume it's about an older version of Xcode.


Solution

  • Here are git ignore files for basicly every language including Xcode : Github - git ignore

    For me it is working like a charm. Here is the content of the Objective-C.gitignore

    # Xcode
    build/*
    *.pbxuser
    !default.pbxuser
    *.mode1v3
    !default.mode1v3
    *.mode2v3
    !default.mode2v3
    *.perspectivev3
    !default.perspectivev3
    *.xcworkspace
    !default.xcworkspace
    xcuserdata
    profile
    *.moved-aside
    DerivedData