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

回答

0

我的解決方案是爲我的產品名稱(生成我的可執行文件名稱)創建一個簡短名稱(沒有空格或禁止字符串)。 現在工作正常。但我想讓我的長名更有意義! 所以問題斷言仍然是開放的... 如果有任何解決方案,請告訴我。 謝謝。

相關問題