最終更新:2018-07-20 (金) 01:22:21 (452d)  

Info.plist はてなブックマークを見る
Top / Info.plist

https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html#//apple_ref/doc/uid/TP40009254-SW1

  • キー説明
    CFBundleDevelopmentRegion?Localization native development regionen
    CFBundleDisplayName?Bundle display name${PRODUCT_NAME}
    CFBundleExecutable?Executable file${EXECUTABLE_NAME}
    CFBundleIdentifier?Bundle identifiercom.example.${PRODUCT_NAME:rfc1034identifier}
    CFBundleInfoDictionaryVersion?InfoDictionary? version6.0
    CFBundleName?Bundle name${PRODUCT_NAME}
    CFBundlePackageType?Bundle OS Type codeAPPL
    CFBundleShortVersionString?Bundle version string, short1.0
    CFBundleSignature?Bundle creator OS Type code????
    CFBundleVersion?Bundle version1.0
    LSRequiresIPhoneOS?Application requires iPhone enveronmentYES
    UIRequiredDeviceCapabilities?Required device capaviritiesarmv7
    UISupportedInterfaceOrientations?Supported interface orientations
    UISupportedInterfaceOrientations~ipad?Supported interface orientations (iPad)

プロジェクト

<?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>en</string>
	<key>CFBundleDisplayName</key>
	<string>${PRODUCT_NAME}</string>
	<key>CFBundleExecutable</key>
	<string>${EXECUTABLE_NAME}</string>
	<key>CFBundleIdentifier</key>
	<string>com.example.${PRODUCT_NAME:rfc1034identifier}</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>1.0</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleVersion</key>
	<string>1.0</string>
	<key>LSRequiresIPhoneOS</key>
	<true/>
	<key>UIRequiredDeviceCapabilities</key>
	<array>
		<string>armv7</string>
	</array>
	<key>UISupportedInterfaceOrientations</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
		<string>UIInterfaceOrientationLandscapeLeft</string>
		<string>UIInterfaceOrientationLandscapeRight</string>
	</array>
	<key>UISupportedInterfaceOrientations~ipad</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
		<string>UIInterfaceOrientationPortraitUpsideDown</string>
		<string>UIInterfaceOrientationLandscapeLeft</string>
		<string>UIInterfaceOrientationLandscapeRight</string>
	</array>
</dict>
</plist>

メモ

  • 最近のは%ProjectName?%-Info.plist