zombie45
zombie's dev story
zombie45

공지사항

  • 분류 전체보기
    • iPhone
    • Study

인기 글

최근 댓글

최근 글

티스토리

반응형

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록
  • 글쓰기
전체 방문자
오늘
어제

태그

  • textformfield
  • 안드로이드
  • 오블완
  • 카카오 로그인
  • caching
  • code spell checker
  • cspell
  • flutter_localizations
  • Animtaion
  • Flutter
  • actions
  • flutter l10n helper
  • cache
  • cocoapods-binary-cache
  • 큰파일
  • nextFocus
  • Nodejs node express expressjs
  • 티스토리챌린지
  • android_key_hash
  • jks
  • UIViewController
  • intl
  • 자동배포
  • 큰폴더
  • appDelegate
  • FocusScope
  • TextInputAction
  • l10nization
  • CI/CD
  • Box2d cocos2dx cocos2d-x
hELLO · Designed By 정상우.
zombie45

zombie's dev story

Flutter iOS Fastlane 설정
Study

Flutter iOS Fastlane 설정

2021. 5. 8. 00:38

안드로이드랑 버젼을 맞추기 위해 increment_build_number은 삭제했습니다.

http://appleid.apple.com/ 보안>앱암호>앱암호 생성 에서 발급받은 키 설정

.env

FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD="xxxx-xxxx-xxxx-xxxx"

패스트래인 설정:

  • 빌드 (빌드 어차피 .ipa로 해야되서 flutter build 해도 다시 돌려야됨)
  • 앱스토어 업로드
  • 완료/에러시 슬랙

Fastfile

default_platform(:ios)

platform :ios do  
def on_success()  
  slack(  
    message: "App successfully built", #uploaded to iTunesConnect.",  
    success: true,  
    slack_url: "https://slack-web-hook",
    default_payloads: [:git_branch, :last_git_commit_message],  
    attachment_properties: {  
      fields: [  
        {  
          title: "Build number",  
          value: ENV["BUILD_NUMBER"],  
        },  
        {  
          title: "Test URL",  
          value: "https://my-test-url",
        }
      ]
    }  
  )  
end

def on_error(exception)
  slack(  
    message: "Error occured!",  
    success: false,  
    slack_url: "https://slack-web-hook",
    attachment_properties: {  
      fields: [  
        {  
        title: "Error build failed",  
        value: exception  
        }  
      ]  
    }  
  )  
end

desc "Push a new build to TestFlight"  
  lane :release do  
    begin  
      build_app(workspace: "Runner.xcworkspace", scheme: "Runner")  
      upload_to_app_store(  
        force: true, # Skip HTMl report verification  
        skip_screenshots: true,  
        skip_metadata: true  
      )  
      on_success()  
    rescue => exception  
      on_error(exception)  
    end  
  end  
end
반응형
저작자표시 (새창열림)

'Study' 카테고리의 다른 글

안드로이드 keystore 비밀번호 변경  (0) 2021.06.04
[Flutter] nextFocus가 이상한데로 이동할때  (0) 2021.05.29
change git remote  (0) 2020.11.17
게임 개발  (0) 2016.07.30
NGINX https로 계속 rewrite될때  (0) 2016.01.08
    'Study' 카테고리의 다른 글
    • 안드로이드 keystore 비밀번호 변경
    • [Flutter] nextFocus가 이상한데로 이동할때
    • change git remote
    • 게임 개발
    zombie45
    zombie45
    잡다한 개발

    티스토리툴바