Skip to content

Instantly share code, notes, and snippets.

@kichiemon
Last active November 27, 2019 14:18
Show Gist options
  • Save kichiemon/76fe49b34f9abcaf347706453a2528d5 to your computer and use it in GitHub Desktop.
Save kichiemon/76fe49b34f9abcaf347706453a2528d5 to your computer and use it in GitHub Desktop.
default Info.plist created by Xcode.
<?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>
<!-- 言語設定:既定の言語・地域を言語IDで指定する。デフォルトは、en-US が設定されている。e.g. ja_JP -->
<!-- The default language and region for the bundle, as a language ID. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundledevelopmentregion -->
<!--
For a language used in many regions, use a code that represents a language designator.
To specify English, use the en language designator.
Use the two-letter ISO 639-1 standard (preferred) or the three-letter ISO 639-2 standard.
If an ISO 639-1 code isn't available for a particular language, use the ISO 639-2 code instead.
There's no ISO 639-1 code for the Hawaiian language, so use the ISO 639-2 code.
-->
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<!-- アプリの実行ファイル名 -->
<!-- The name of the bundle’s executable file. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleexecutable -->
<!--
For an app, this key is the executable.
For a loadable bundle, it's the binary that's loaded dynamically by the bundle.
For a framework, it's the shared library framework and must have the same name as the framework but without the .framework extension.
macOS uses this key to locate the bundle’s executable or shared library in cases where the user renames the app or bundle directory.
-->
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<!-- ユニークなID -->
<!-- A unique identifier for a bundle. -->
<!-- A bundle ID uniquely identifies a single app throughout the system. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/CFBundleIdentifier -->
<!--
The operating system uses the bundle ID to identify the app for which a given preference applies.
Similarly, Launch Services uses the bundle ID to locate an app capable of opening a particular file, using the first app it finds with the given identifier.
The bundle ID is also used to validate an app’s signature. -->
<!--
Important
The bundle ID in the Information Property List must match the bundle ID you enter in App Store Connect.
After you upload a build to App Store Connect, you can’t change the bundle ID or delete the associated explicit App ID in your developer account.
-->
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<!-- plistのバージョン -->
<!-- Xcode adds this key automatically. Don’t change the value. -->
<!-- The current version of the Information Property List structure. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/CFBundleInfoDictionaryVersion -->
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<!-- アプリの表示名。CFBundleDisplayNameが設定されていないとこれが出る -->
<!-- A user-visible short name for the bundle. -->
<!-- This name can contain up to 15 characters. The system may display it to users if CFBundleDisplayName isn't set. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/CFBundleName -->
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<!-- バンドルの種類を指定 -->
<!--
This key consists of a four-letter code for the bundle type.
For apps, the code is APPL, for frameworks, it's FMWK, and for bundles, it's BNDL.
The default value is derived from the bundle extension or, if it can't be derived, the default value is BNDL.
-->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/CFBundlePackageType -->
<key>CFBundlePackageType</key>
<string>APPL</string>
<!-- アプリの表記用リリースバージョン。ユーザーに見えるもの -->
<!-- [Major].[Minor].[Patch]に加えて数字を付け加えられるが、それは無視される -->
<!-- The release or version number of the bundle. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/CFBundleShortVersionString -->
<!--
・Major: A major revision number.
・Minor: A minor revision number.
・Patch: A maintenance release number.
-->
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<!-- アプリの管理用バージョン。ビルドバージョンを表す。AppStoreにUploadするバイナリごとにユニークになる必要がある -->
<!-- The version of the build that identifies an iteration of the bundle. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/CFBundleVersion -->
<!--
This key is required by the App Store and is used throughout the system to identify the version of the build.
For macOS apps, increment the build version before you distribute a build.
-->
<key>CFBundleVersion</key>
<string>1</string>
<!-- iOSで実行する場合trueを指定 -->
<!-- A Boolean value indicating whether the app must run in iOS. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/LSRequiresIPhoneOS -->
<key>LSRequiresIPhoneOS</key>
<true/>
<!-- 起動アイコンを生成するstoryboardのファイルを指定する。`.storyboard` は外して記載する -->
<!-- The filename of the storyboard from which to generate the app’s launch image. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/UILaunchStoryboardName -->
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<!-- 最初に表示する画面のstoryboardを指定する -->
<!-- The name of the app’s main storyboard file. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/UIMainStoryboardFile -->
<key>UIMainStoryboardFile</key>
<string>Main</string>
<!-- アプリがサポートするデバイス環境 -->
<!-- The device-related features that the app requires to run. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/UIRequiredDeviceCapabilities -->
<!--
Important
Your app must include the UIRequiredDeviceCapabilities key in the Information Property List file submitted with your binary.
For app updates, you’re allowed only to maintain or relax capability requirements.
Submitting an update with added requirements would prevent some customers who previously downloaded your app from running the update.
-->
<key>UIRequiredDeviceCapabilities</key>
<array>
<!--armv7:Compilation for the armv7 instruction set, or as a 32/64-bit universal app.-->
<string>armv7</string>
</array>
<!-- アプリがサポートするUIの向き -->
<!-- The interface orientations the app supports. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/UISupportedInterfaceOrientations -->
<!--
UIInterfaceOrientationPortrait ← Default
UIInterfaceOrientationPortraitUpsideDown
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
-->
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<!-- UISupportedInterfaceOrientationsのiPad用 -->
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<!-- カメラへのアクセス許可を求める際に表示する理由説明文 -->
<!-- A message that tells the user why the app is requesting access to the device’s camera. -->
<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/NSCameraUsageDescription -->
<!--
Important
This key is required if your app uses APIs that access the device’s camera.
-->
<key>NSCameraUsageDescription</key>
<string>Need to access your camera to search a car number.</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment