0
我有一个名为“测试结果”的项目。它生成一个可执行的“测试结果”。 如果我尝试将我的info.plist文件与通过邮件接收的文件关联起来,邮件程序无法识别它。 这是我的info.plist:关联文件扩展名与应用程序失败,长文件名
CFBundleDevelopmentRegion
en
CFBundleDisplayName
${PRODUCT_NAME}
CFBundleDocumentTypes
CFBundleTypeIconFiles
Sandbox-icon.png
CFBundleTypeName
dep
CFBundleTypeRole
Viewer
LSHandlerRank
Default
LSItemContentTypes
araferna.${EXECUTABLE_NAME}.dep
CFBundleExecutable
${EXECUTABLE_NAME}
CFBundleIdentifier
araferna.${PRODUCT_NAME:rfc1034identifier}
CFBundleInfoDictionaryVersion
6.0
CFBundleName
${PRODUCT_NAME}
CFBundlePackageType
APPL
CFBundleShortVersionString
1.0
CFBundleSignature
????
CFBundleVersion
1.0
LSRequiresIPhoneOS
<true/>
UIRequiredDeviceCapabilities
armv7
UISupportedInterfaceOrientations
UIInterfaceOrientationPortrait
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
UTExportedTypeDeclarations
UTTypeConformsTo
public.data
UTTypeDescription
Testing Results Document
UTTypeIdentifier
araferna.${EXECUTABLE_NAME}.dep
UTTypeTagSpecification
public.filename-extension
dep
public.mime-type
application/${EXECUTABLE_NAME}
我有相同内容的另一项目同样info.list只是我把它叫做“测试”,它工作得很好。我猜这个关联并没有带“”(空格)的长文件名。 谢谢