---
title: "Fastlane 안드로이드 연동"
description: "간소화된 모바일 앱 보안 자동화를 위해 DoveRunner Mobile App Security CLI 도구를 Fastlane과 연동하는 방법을 알아보세요."
---
> For the complete documentation index, see [llms.txt](/llms.txt).

오픈 소스 플랫폼인 Fastlane은 모바일 앱 빌드 및 배포를 간소화합니다. DoveRunner Mobile App Security CLI 도구를 Fastlane과 통합하면 보안 조치를 원활하게 추가하여 워크플로우를 향상시키고 애플리케이션에 대한 안전하고 효율적인 빌드 프로세스를 보장합니다.

## 전제 조건

DoveRunner Mobile App Security CLI 도구를 Fastlane과 통합하기 전에 다음 전제 조건을 확인하세요.

- 프로젝트에 대한 Fastlane 설정에 대한 액세스
- 시스템에 Java Runtime Environment(JRE) 설치
- 웹 콘솔에서 [DoveRunner Mobile App Security CLI 도구 다운로드](/ko/mobile-app-security/android/cicd/how-to-integrate-with-cicd-pipeline/#cli-도구-다운로드) (sealing.jar)

## 통합 단계

다음 단계에 따라 DoveRunner Mobile App Security CLI 도구를 Fastlane 워크플로우에 통합하세요.

1. sealing.jar 파일 위치 
Fastlane 환경에서 액세스할 수 있는 위치에 sealing.jar를 배치합니다.

2. Fastfile 업데이트: 
프로젝트의 루트 디렉토리에 있는 Fastfile을 엽니다.

3. 새 레인 추가
APK 또는 AAB 파일을 빌드한 후 DoveRunner Mobile App Security CLI 도구를 실행하기 위해 Fastfile에 새 레인을 추가합니다. 다음은 샘플 레인 정의입니다:

```ruby
lane :post_build_actions do
  # DoveRunner Mobile App Security CLI 도구 실행
  sh "java -jar sealng.jar -config config.txt -srcapk TARGET.apk -sealedapk TARGET_SEALED.apk"
end
```
`sealing.jar`, `config.txt`, `TARGET.apk` 및 `TARGET_SEALED.apk`의 경로를 실제 경로로 바꿀 수 있습니다.
CLI 도구 구성의 자세한 구성을 확인하려면 [구성 파일을 사용하여 sealing.jar 실행](/ko/mobile-app-security/android/cicd/basic-configuration/) 페이지를 확인할 수 있습니다.

4. 레인 호출
APK/AAB 빌드 후 명령줄에서 새로 정의된 레인을 호출합니다.

```bash
fastlane post_build_actions
```

5. 출력 확인
DoveRunner Mobile App Security CLI 도구는 지정된 빌드 후 작업을 실행하고 보안을 추가하여 실링된 APK 또는 AAB 파일을 지정된 위치에 다운로드합니다.