首页 > 其他分享 >iOS开发实战-仿小红书App开发-1-App创建与Git

iOS开发实战-仿小红书App开发-1-App创建与Git

时间:2023-09-14 17:45:47浏览次数:46  
标签:Git ## iOS App fastlane source Xcode gitignore

1.新建项目

 2.添加Git仓库

 添加自己的gitHub账号.

 

 3.Token获取方式:

 Settings.

 Developer Settings.

 获取个人Token.

 填写相关内容.

得到Token后复制它,拿到Xcode中登录.

 填写相关信息.

 创建后打开GitHub,查看自己的所有仓库,发现小粉书仓库已创建成功!

 4.创建名为.gitignore的文稿,将GitHub的.gitignore粘贴进去.

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

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
#
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

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

Carthage/Build/

# Accio dependency management
Dependencies/
.accio/

# 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/**/*.png
fastlane/test_output

# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

按下commond+shift+句号,显示隐藏的.gitignore文件,将它拖入Xcode中.

 进行一次提交.

 查看发现提交成功.

 

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

标签:Git,##,iOS,App,fastlane,source,Xcode,gitignore
From: https://www.cnblogs.com/lysboke/p/17700648.html

相关文章

  • Laravel 执行流程(三)之 探索 Application 构造函数
    备注:纯手打的学习笔记,如有错误之处请指正,谢谢。希望大家学的开心!说明:本来应该是说Container类(下)的,不过经过学习,直接看这个类实在不好理解,一会是绑定,一会共享实例,真心不知道说的什么....还是先从程序的入口处,顺藤摸瓜,用到的时候再结合上下文理解,比较容易消化,希望理解,抱歉!OK,从入......
  • Git
    介绍问:git是什么答:git是分布式版本控制系统工作原理/流程Workspace:工作区Index/Stage:暂存区Repository:仓库区(本地仓库)Remote:远程仓库一般工作流程如下:克隆Git资源作为工作目录在克隆的资源上添加或修改文件如果其他人修改了,你可以更新资源在提交前查看修改提......
  • 部署openldap服务并配置jumpsever、jira、mindoc、gitlab、jenkins集成ldap认证
    背景公司各种信息化系统越来越多,需要记住的用户账号也越来越多,人员入职离职就要分别在不同的各种系统上进行添加和删除比较繁锁,急需要一个可以统一认证的服务,于是就开始研究ldap,ldap中openldap是开源的方便使用,于是花了大概2个月时间才把标题上面的这几个服务全部调通,以下记录配置......
  • Git日常简单命令一览
    总结一些常用的git操作命令,并不断更新...1、个人信息配置:gitconfig--globaluser.name"shensy"  //修改用户名[email protected] //修改邮箱gitconfig--list //查看个人信息2、clone:gitclonessh://[email protected]/~/abc/projectname.g......
  • 获取JavaApplication当前工程路径
    前日因工作中使用到日志和配置工具类,使相关信息输出文件中,因此总结了一下java中获取当前路径的方法(非web工程)。1、File类:Filefile=newFile(".");System.out.println(file.getCanonicalPath());//如果是..则返回上一级文件夹System.out.println(file.getAbsolut......
  • git revert如何撤销某次merge或commits?
    gitrevert撤销某次操作,此次操作之前和之后的commit和history都会保留,并且把这次撤销作为一次最新的提交撤销commits bash复制代码gitrevert-n'commitid'撤销某次merge保留本分支内容,撤销'commitid'对应的内容 bash复制代码gitrevert-m1'commitid'......
  • app直播源码,Vue 禁止输入框输入空格
    app直播源码,Vue禁止输入框输入空格 <template> <div>  <input   type="text"   v-model="text"   @input="(e)=>text=e.target.value.replace(/\s/g,'')"  > </div></template><scri......
  • 【git pull】 error: You have not concluded your merge (MERGE_HEAD exists).
    问题$gitpullerror:Youhavenotconcludedyourmerge(MERGE_HEADexists).......
  • 直播app开发,CSS3动画实现左右无缝滚动图
    直播app开发,CSS3动画实现左右无缝滚动图<viewclass="shortList_con"><viewclass="scrollCon":style="'width:'+(shortRouteList.length)*210+'rpx'"><viewclass="shortItem"v-for="(item,index......
  • 三星大拿讲appstore和电商
    哈哈,最近一直忙于工作,没怎么上来写blog。继上次请华为两位老师来讲互联网云服务后,上周三的午间培训我们团队又请来一位重量级人物--来自三星(中国)的闫老师讲AppStore和电商的相关知识。在此首先感谢闫老师!其次,通过闫老师的精彩讲解,我对互联网/移动互联网行业又有了新的认识,真是大......