Skip to content

Instantly share code, notes, and snippets.

@torpedo87
Created January 23, 2019 04:08
Show Gist options
  • Save torpedo87/5b9d31bc44f21578351ff919003bf124 to your computer and use it in GitHub Desktop.
Save torpedo87/5b9d31bc44f21578351ff919003bf124 to your computer and use it in GitHub Desktop.
work flow

app dev

design

develop

Continuous Integration

  • Xcode 에서 source control 메뉴에서 create repository 해서 로컬에 버전저장하기
  • remote 를 Github 계정과 연결하기
  • manage scheme -> shared 체크되어 있어야 한다
  • Xcode preference -> server bot 켜기
  • 맨 위 상태표시줄에 망치모양 아이콘 생긴다
  • product -> create bot
  • 커밋을 할 때마다 빌드, 테스트 정보를 봇이 다 저장한다. 그리고 결과를 이메일로 전송해준다

test

distribute

Fabric, Crashlytics

  • 실시간 crash report tool
  • 3개월 history
  • free
  • fabric.io 홈페이지 대시보드에서 리포트 확인 가능
Fabric.with([Crashlytics.self])

mix panel

  • UserAnalytic tool
  • collect user’s behavior
  • 사용자의 앱 내에서 행동, 이벤트를 하는데 시간이 얼마나 걸리는지 등을 확인할 수 있다
  • 유저프로필마다 각 유저들의 행동 관찰
  • funnel : 일련의 행동을 한 단위로 하여 이 행동들을 분석할 수 있다
import Mixpanel

class TrackingManager {
  
  static func initializeMixpanel() {
    
    #if DEBUG
      Mixpanel.initialize(token: "14dfa9f6de802f31006d5152b1840aba")
    #else
      Mixpanel.initialize(token: "059c7f0dc557abc93333eda009cc36f1")
    #endif
    
    Mixpanel.mainInstance().loggingEnabled = true
  }
  
  static func trackEvent(name: String, eventProperties: [String:MixpanelType]? = nil) {
    
    Mixpanel.mainInstance().track(event: name, properties: eventProperties)
  }
  
  
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment