创建ignore文件

1.在项目的工程的路径下,vim .gitignore文件。

2.在ignore文件中,编辑一下的内容。生成ignore文件的网址 生成objectIve-C的ignore文件

# Created by https://www.gitignore.io/api/objective-c

### Objective-C ###

# Xcode

#

# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated

build/

DerivedData/

## Various settings

*.pbxuser

!default.pbxuser

*.mode1v3

!default.mode1v3

*.mode2v3

!default.mode2v3

*.perspectivev3

!default.perspectivev3

xcuserdata/

## Other

*.moved-aside

*.xccheckout

*.xcscmblueprint

## Obj-C/Swift specific

*.hmap

*.ipa

*.dSYM.zip

*.dSYM

# CocoaPods - Refactored to standalone file

# Carthage - Refactored to standalone file

# fastlane

#

# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the

# screenshots whenever they are needed.

# For more information about the recommended setup visit:

# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml

fastlane/Preview.html

fastlane/screenshots

fastlane/test_output

# Code Injection

#

# After new code Injection tools there's a generated folder /iOSInjectionProject

# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

### Objective-C Patch ###

### Objective-C.CocoaPods Stack ###

## CocoaPods GitIgnore Template

# CocoaPods - Only use to conserve bandwidth / Save time on Pushing

#          - Also handy if you have a lage number of dependant pods

#          - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGONRE THE LOCK FILE

Pods/

### Objective-C.Carthage Stack ###

# Carthage

#

# Add this line if you want to avoid checking in source code from Carthage dependencies.

# Carthage/Checkouts

Carthage/Build

# End of https://www.gitignore.io/api/objective-c

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 10,025评论 0 23
  • Mac ox 系统下,部分文件默认为隐藏,所以创建git仓库里的文件将不可见,可通过以下终端命令行实现 显示&隐藏...
    luowanglin阅读 1,913评论 0 1
  • 以GitHub为远程仓库 首先创建你的github账号, 添加SSH 生成SSH 1.打开终端 ssh-keyge...
    香克斯_4e59阅读 512评论 0 0
  • (群里的朋友写闪小说,我的手就痒痒,正好今天出去跟朋友吃饭,听来这么个故事。用了半个小时的时间写成,数数,900百...
    蓬莱散客阅读 456评论 0 4
  • 一 绕着山路十八湾 回到相遇的地点 梳一身妖娆 等你的回来 二 青草的芳香 捧着百鸟的歌唱 站在相思的渡口 你却说...
    易文画影阅读 255评论 6 8