내용으로 건너뛰기

빌드 프리 스캔 체크

Capgo Cloud Build가 프로젝트를 업로드하기 전에 CLI는 prescan 인증, 프로젝트 및 스토어 구성 문제를 로컬에서 잡아내는

또한 독립적으로 실행됩니다:

터미널 창
npx @capgo/cli@latest build prescan <appId> --platform ios

오늘은 80 개별 체크 아이디를 무시하는 것을 개인 체크를 모두 끄는 것보다 선호합니다.

터미널 창
# Skip one check entirely (example: intentional Capacitor server.url / Next.js shell)
npx @capgo/cli@latest build request <appId> --platform ios \
--prescan-skip ios/capacitor-server-url-shipped
# Run the check but never block on it (error becomes warning)
npx @capgo/cli@latest build request <appId> --platform ios \
--prescan-warn ios/capacitor-server-url-shipped
# Repeatable or comma-separated
npx @capgo/cli@latest build request <appId> --platform ios \
--prescan-skip ios/capacitor-server-url-shipped \
--prescan-warn ios/capacitor-allow-navigation-wildcard,ios/plist-ats-arbitrary-loads

독립된 별칭 활성화 build prescan:

터미널 창
npx @capgo/cli@latest build prescan <appId> --platform ios \
--skip ios/capacitor-server-url-shipped \
--warn ios/capacitor-server-cleartext

알 수 없는 체크 아이디는 빠른 오류 메시지와 함께 실패합니다.

기호효과
--no-prescan전체 스캔 생략
--prescan-ignore-fatal (또는 --ignore-fatal 스캔 실행, 리포트 출력, 블록하지 않음 build prescan)경고를 치명적인 오류로 처리 (CI)
--fail-on-warnings그리고

--no-prescan 숨기거나 우회 --prescan-ignore-fatal 모든 남은 검사. 단일 규칙에만 반대하는 경우에는 각 검사별 오버라이드 사용 or

Catalog 확인

Catalog 확인 섹션

정확한 id를 사용하세요 --prescan-skip / --prescan-warn.

점진적 강제 이 뜻은 발견은 정보만 제공할 때까지 2026-08-14그런 다음 빌드 차단을 할 수 있습니다.

Id플랫폼체크하는 내용점진적 강제
shared/apikey-permissioniOS, 안드로이드API 키는 네이티브 빌드를 요청할 수 있습니다.
shared/app-existsiOS, 안드로이드API 키가 앱 아이디를 볼 수 있으며 존재합니다.
shared/credentials-savediOS, 안드로이드iOS/안드로이드 인증 정보가 로컬 저장소에 저장됩니다.
shared/cap-sync-staleiOS, 안드로이드웹 자산이 빌드되고 Capacitor 플러그인이 동기화됩니다.
shared/node-linker-layoutiOS, 안드로이드node_modules 레이아웃은 Capacitor 네이티브 경로와 호환됩니다.
shared/bundle-id-consistencyiOS, 안드로이드Capacitor 앱 아이디는 네이티브 번들 아이디 / applicationId와 일치합니다.
Id플랫폼체크하는 항목점진적 적용
ios/p12-opensiOSiOS .p12 파일이 제공된 비밀번호로 열립니다
ios/p12-expiryiOSiOS 인증서가 만료되지 않았습니다
ios/profile-expiryiOS프로비전 프로파일이 만료되지 않았습니다
ios/profile-bundle-matchiOS앱의 제공 프로파일 아이디와 일치하는 프로비전 프로파일
ios/profile-type-vs-modeiOS앱 스토어 / 어드혹 모드와 일치하는 프로파일 타입
ios/cert-profile-pairingiOS인증서가 프로비전 프로파일에 포함되어 있습니다
ios/targets-coverediOS모든 iOS 대상에 프로비전 프로파일이 있습니다
ios/infoplist-sanityiOSInfo.plist에 필요한 버전 / 식별성 키가 있습니다
ios/asc-key-validiOS앱 스토어 연결 API 키 필드는 유효합니다
ios/asc-key-accessiOSASC API 키는 앱 (remote) 에 접근할 수 있습니다.
ios/plist-bundle-id-formatiOSCFBundleIdentifier 형식은 유효합니다.
ios/plist-version-short-formatiOSCFBundleShortVersionString 형식은 유효합니다.
ios/plist-version-build-formatiOSCFBundleVersion 형식은 유효합니다.
ios/plist-encryption-complianceiOS__CAPGO_KEEP_0____CAPGO_KEEP_1__
ios/plist-ats-arbitrary-loads__CAPGO_KEEP_2____CAPGO_KEEP_3____CAPGO_KEEP_4__
ios/plist-launch-storyboard__CAPGO_KEEP_5____CAPGO_KEEP_6____CAPGO_KEEP_7__
ios/plist-orientations-multitasking__CAPGO_KEEP_8____CAPGO_KEEP_9____CAPGO_KEEP_10__
ios/plist-orientations-present__CAPGO_KEEP_11__UISupportedInterfaceOrientations이 선언되었습니다.
ios/plist-display-nameios이름이 설정되었습니다.
ios/plist-background-modes-sanityiosUIBackgroundModes의 값이 유효합니다.
ios/xcode-deployment-target-capacitoriosiOS 배포 대상이 Capacitor 요구 사항을 충족합니다.
ios/xcode-signing-teamios__CAPGO_KEEP_0____CAPGO_KEEP_0__
ios/xcode-bundle-id-mismatch-across-configsiOS__CAPGO_KEEP_0____CAPGO_KEEP_0__
ios/xcode-enable-bitcode-leftoveriOS__CAPGO_KEEP_0____CAPGO_KEEP_0__
ios/xcode-swift-version-sanityiOS__CAPGO_KEEP_0____CAPGO_KEEP_0__
ios/xcode-no-app-targetiOSXcode 프로젝트는 애플리케이션 목표를 가지고 있습니다.
ios/xcode-multiple-app-targetsiOS여러 앱 목표는 의도적으로 처리됩니다.
ios/entitlements-vs-profile-capabilityiOS권한이 프로파일 기능과 일치합니다.
ios/entitlements-aps-environment-vs-modeiOSaps-environment은 배포 모드와 일치합니다.
ios/entitlements-associated-domains-formatiOS관련 도메인 형식이 유효합니다.
ios/entitlements-app-groups-formatiosApp Groups 형식이 유효합니다.
ios/capacitor-server-url-shippediosserver.url은 스토어 빌드용으로 live-reload / remote shell 엔드포인트로 남겨지지 않습니다.
ios/capacitor-server-cleartextiosserver.cleartext는 프로덕션에서 사용되지 않습니다.
ios/capacitor-allow-navigation-wildcardios서버. allowNavigation은 완전한 와일드 카드가 아닙니다.
ios/pods-not-installediOSCocoaPods Pods / workspace는 Pods를 사용할 때 존재합니다.
ios/pods-lock-missingiOSPodfile.lock은 pod 버전을 고정합니다.
ios/pods-capacitor-missingiOSPodfile은 Capacitor을 연결합니다.
ios/spm-package-resolved-missingiOSSPM 패키지.해결된 패키지가 존재합니다.
ios/spm-capacitor-dependency-missingiOSPackage.swift에서 Capacitor이 선언됩니다.
ios/appicon-empty-or-placeholderiOSAppIcon.appiconset이 존재하고 비어있지 않습니다.
ios/appicon-referenced-file-missingiOSContents.json 아이콘 파일이 디스크에 존재합니다.
ios/appicon-marketing-missingiOS1024×1024 마케팅 아이콘 존재
ios/spm-deployment-target-consistencyiOSSPM 배포 대상이 일관적입니다

안드로이드

ID
플랫폼체크하는 것점진적 강제안드로이드
android/keystore-opens__CAPGO_KEEP_0____CAPGO_KEEP_0__ 키스토어는 제공된 비밀번호로 열립니다.
android/keystore-expiry__CAPGO_KEEP_0____CAPGO_KEEP_0__ 인증서는 만료되지 않았습니다.
android/cordova-vars-present__CAPGO_KEEP_0__cap sync 후 cordova.variables.gradle이 존재합니다.
android/gradle-props-heuristics__CAPGO_KEEP_0__gradle.properties는 일반적인 빌드 중단을 위한 일반적인 빌드 브레이크를 위한 heuristics입니다.
android/play-sa-json__CAPGO_KEEP_0__Play 서비스 계정 JSON이 구성된 경우 존재합니다.
android/flavor-exists__CAPGO_KEEP_0__요청된 제품 맛집이 존재합니다.
android/agp8-package-attr__CAPGO_KEEP_0__AGP 8+에서 Manifest 패키지 속성이 제거되었습니다.
android/manifest-well-formed안드로이드AndroidManifest.xml은 파싱됩니다.
android/manifest-tag-typo안드로이드일반적인 매니페스트 태그 오류
android/manifest-namespace-uri안드로이드xmlns:android namespace URI는 올바릅니다.
android/manifest-missing-prefix안드로이드Android 속성은 android: 접두사가 사용됩니다.
android/manifest-exported-missing안드로이드android:exported는 필요할 때 설정됩니다.
android/manifest-multiple-uses-sdk안드로이드단 하나의 sdk 사용
android/manifest-duplicate-component안드로이드중복된 컴포넌트가 없습니다
android/manifest-unique-permission안드로이드사용자 정의 권한은 고유합니다
android/manifest-hardcoded-debuggable안드로이드debuggable=true가 배포되지 않습니다
android/manifest-mock-location안드로이드ACCESS_MOCK_LOCATION이 배포되지 않습니다
android/manifest-exported-unprotected안드로이드내보낸 컴포넌트는 보호됩니다
android/manifest-query-all-packages안드로이드모든 패키지 조회
android/manifest-deeplink-valid안드로이드딥링크 인텐트 필터가 유효합니다
android/applicationid-present안드로이드앱/build.gradle에서 applicationId가 선언되어 있습니다
android/capacitor-build-gradle-applied안드로이드capacitor.build.gradle이 적용되었을 때 존재합니다
android/gradle-wrapper-present안드로이드Gradle 워커 파일이 존재합니다
android/flavor-dimensions안드로이드플레이버 차원은 플레버가 존재할 때 선언되어 있습니다
android/google-services-file안드로이드구글 서비스 JSON 파일이 플러그인이 적용된 경우
android/local-properties-committed안드로이드local.properties 파일에 비밀번호가 포함되지 않음
android/sdk-floors안드로이드SDK 미니/컴파일/타겟 층이 유효함
android/target-sdk-play안드로이드타겟 SDK가 플레이 요구 사항을 충족함
android/min-sdk-capacitor안드로이드미니 SDK가 Capacitor 요구 사항을 충족함
android/version-fields안드로이드버전 코드/버전 이름이 존재함
android/play-sa-access안드로이드서비스 계정은 앱에 접근할 수 있습니다 (remote)

예시: remote Next.js / server.url shell

예시: remote Next.js / server.url shell

생산 환경에서 로드하는 네이티브 쉘을 배송하는 것은 지원되는 __CAPGO_KEEP_0__ 패턴입니다. server.url is a supported Capacitor pattern. Prescan flags ios/capacitor-server-url-shipped 다른 체크를 비활성화하지 않고도 이를 인식합니다:

터미널 창

클립보드에 복사
npx @capgo/cli@latest build request <appId> --platform ios \
--prescan-skip ios/capacitor-server-url-shipped

터미널 창

클립보드에 복사
npx @capgo/cli@latest build request <appId> --platform ios \
--prescan-warn ios/capacitor-server-url-shipped