App.crash的解析和git的使用/appdoc文档生成技巧

2018-07-13  本文已影响14人  犯傻小二

App.crash git 使用

  1. symbolicatecrash
  2. xx.app
  3. xx.app.dSYM
  4. dwarfdump --uuid Fotile.app.dSYM/ 查看UUID
  5. xcrun dwarfdump --uuid appName.app/appName
  6. 命令同一个文件夹
  7. Binary Images:
    0x100034000 - 0x1004abfff Fotile arm64 <060dfd8753763fea9ee4e07c861820d7> 这里看 bundleID
bugly 符号表 工具上传

git clean -d -fx 这个命令

git 使用

远程分支

git bug 修改

gitignore文件用于忽略文件

*/.DS_Store
# 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
#
# 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/

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

Carthage/Build

# 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
修改XCode 模板路径
xcode项目 生成appdoc文档
appledoc 支持格式
```
  /// 这是单行注释。
  /** 这也是单行注释 */
  /*! 同样是单行注释 */
  /** 这也是单行注释,
  *  第二行会接上第一行。
  */
  /** 第一行是类的简介
  在简介的下面,就是类的详细介绍了。
  没有间隔换行会被消除,就像Html那样。
  下面是常用的markdown语法
  - - -
  无序列表: (每行以 '*'、'-'、'+' 开头):
  * this is the first line
  * this is the second line
  * this is the third line
  有序列表: (每行以 1.2.3、a.b.c 开头):
  a. this is the first line
  b. this is the secode line
  多级列表:
  * this is the first line
    a. this is line a
    b. this is line b
  * this is the second line
    1. this in line 1
    2. this is line 2
  标题:
  # This is an H1
  ## This is an H2
  ### This is an H3
  #### This is an h4
  ##### This is an h5
  ###### This is an H6
  链接:
  普通URL直接写上,appledoc会自动翻译成链接: http://    blog.ibireme.com
  [这个](http://example.net/) 链接会隐藏实际URL.
  表格:
  | header1 | header2 | header3 |
  |---------|:-------:|--------:|
  | normal  |  center |  right  |
  | cell    | cell    | cell    |
  引用:
  这里会引用到方法 `someMethod:`,这里会引用到类 `YYColor`
  这里会引用到一个代码块
     void CMYK2RGB(float c, float m, float y, float k, 
                    float *r, float *g, float *b) {
         *r = (1 - c) * (1 - k);
         *g = (1 - m) * (1 - k);
         *b = (1 - y) * (1 - k);
     }
  @since iOS5.0
```
上一篇 下一篇

猜你喜欢

热点阅读