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只是我把它叫做「測試」,它工作得很好。我猜這個關聯並沒有帶「」(空格)的長文件名。 謝謝