2012-11-30 46 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

我的解决方案是为我的产品名称(生成我的可执行文件名称)创建一个简短名称(没有空格或禁止字符串)。 现在工作正常。但我想让我的长名更有意义! 所以问题断言仍然是开放的... 如果有任何解决方案,请告诉我。 谢谢。

相关问题