iOS Info.plist 셋팅

iOS Info.plist 셋팅


🔥 1. 개발 셋팅

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>ko_KR</string>
<key>CFBundleDisplayName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
<false/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>UILaunchStoryboardName</key>
<string>SplashScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>

🔥 2. 배포 셋팅

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>ko_KR</string>
	<key>CFBundleDisplayName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$(MARKETING_VERSION)</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleVersion</key>
	<string>$(CURRENT_PROJECT_VERSION)</string>
	<key>LSRequiresIPhoneOS</key>
	<false/>
	<key>NSLocationWhenInUseUsageDescription</key>
	<string></string>
	<key>UILaunchStoryboardName</key>
	<string>LaunchScreen</string>
	<key>UIRequiredDeviceCapabilities</key>
	<array>
		<string>armv7</string>
	</array>
	<key>UISupportedInterfaceOrientations</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
	</array>
	<key>UIViewControllerBasedStatusBarAppearance</key>
	<false/>
</dict>
</plist>

🔥 3. 옵션

  1. CFBundleDevelopmentRegion: 개발 지역 설정 한국(Korea) 지역을 나타내는 'ko_KR'로 설정
  2. CFBundleDisplayName: 앱의 디스플레이 이름 ⇒ **$(PRODUCT_NAME)**으로 설정되어 있어, Xcode 프로젝트의 제품 이름으로 대체
  3. CFBundleExecutable: 실행 가능한 파일의 이름 ⇒ 대개 Xcode 프로젝트의 실행 가능한 파일 이름인 **$(EXECUTABLE_NAME)**으로 설정
  4. CFBundleIdentifier: 앱의 고유 식별자 ⇒ **$(PRODUCT_BUNDLE_IDENTIFIER)**로 설정되어 있어, Xcode 프로젝트의 번들 식별자로 대체
  5. CFBundleInfoDictionaryVersion: Info.plist 파일 형식의 버전
  6. CFBundleName: 앱의 이름
  7. CFBundlePackageType: 앱의 패키지 타입
  8. CFBundleShortVersionString: 앱의 짧은 버전 문자열 주로 마케팅 용도로 사용
  9. CFBundleSignature: 앱의 서명입니다. 보통 네 자리의 코드로 구성
  10. CFBundleVersion: 빌드의 버전을 식별하는 문자열 ⇒ 주로 앱 빌드마다 증가하는 버전 번호를 의미합니다. ⇒ **$(CURRENT_PROJECT_VERSION)**으로 설정
  11. ITSAppUsesNonExemptEncryption: 앱이 비면세 암호화를 사용하는지 여부
  12. LSRequiresIPhoneOS: iPhone OS가 필요한지 여부
  13. NSAppTransportSecurity: 앱의 네트워크 보안 설정을 정의 ⇒ 임의의 로컬호스트(localhost)에 대해 보안 연결이 아닌 HTTP 로드를 허용하는 설정
  14. NSLocationWhenInUseUsageDescription: 위치 정보 사용 시 사용자에게 보여지는 메시지
  15. UILaunchStoryboardName: 앱 시작 시 보여질 스토리보드의 이름을 나타냄. ⇒ 'SplashScreen'
  16. UIRequiredDeviceCapabilities: 앱이 필요로 하는 기기 기능을 나타냄 ⇒ 'armv7'로 설정되어 있어, ARMv7 아키텍처를 필요
  17. UISupportedInterfaceOrientations: 앱이 지원하는 화면 방향을 나타냄
  18. UIViewControllerBasedStatusBarAppearance: 뷰 컨트롤러 기반 상태 표시줄 모양 설정 여부