2014-02-27 25 views
0

我创建了支持iOS7及更高版本的应用程序。我将我的应用归档并提交给应用商店进行应用审核。成功上传后,它说无效的二进制文件,我收到了以下问题的电子邮件。此软件包无效 - Info.plist中索引327处的XML字符'0x10'无效

This bundle is invalid - Invalid XML character '0x10' at index 327 in Info.plist. 

任何人都可以帮助我解决这个问题。 enter image description here

<?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>UIRequiredDeviceCapabilities</key> 
    <array> 
     <string>armv7</string> 
    </array> 
    <key>CFBundleIdentifier</key> 
    <string>com.domain.appname</string> 
    <key>CFBundleInfoDictionaryVersion</key> 
    <string>6.0</string> 
    <key>UIMainStoryboardFile</key> 
    <string>Main</string> 
    <key>FacebookDisplayName</key> 
    <string>appname</string> 
    <key>CFBundleVersion</key> 
    <string>1.0</string> 
    <key>CFBundleExecutable</key> 
    <string>${EXECUTABLE_NAME}</string> 
    <key>LSRequiresIPhoneOS</key> 
    <true/> 
    <key>CFBundleName</key> 
    <string>${PRODUCT_NAME}</string> 
    <key>UISupportedInterfaceOrientations</key> 
    <array> 
     <string>UIInterfaceOrientationPortrait</string> 
    </array> 
    <key>CFBundleDisplayName</key> 
    <string>appname</string> 
    <key>UIPrerenderedIcon</key> 
    <true/> 
    <key>CFBundleURLTypes</key> 
    <array> 
     <dict> 
      <key>CFBundleURLSchemes</key> 
      <array> 
       <string>fb13213213432312</string> 
      </array> 
     </dict> 
    </array> 
    <key>CFBundlePackageType</key> 
    <string>APPL</string> 
    <key>CFBundleSignature</key> 
    <string>????</string> 
    <key>FacebookAppID</key> 
    <string>13213213432312</string> 
    <key>UIStatusBarHidden</key> 
    <false/> 
    <key>CFBundleDevelopmentRegion</key> 
    <string>en</string> 
    <key>CFBundleShortVersionString</key> 
    <string>1.0</string> 
</dict> 
</plist> 
+1

似乎有一些问题与plist文件存在。如果有任何特殊字符被误输入,请尝试检查plist文件的内容。我遇到过同样的问题,原因是意想不到的。 –

+0

@PoojaManiklalBohora使用FacebookAppID和FacebookDisplayName有什么问题吗? – Ganesh

+0

我不能说没有看文件。你能分享这个文件吗? –

回答

2

尝试在新的plist文件复制并粘贴上面共享的XML内容,并将其设置为项目的构建设置一个info.plist中。我已经使用了相同的XML和创建plist来检查问题,但它似乎在我的最后工作完美。

相关问题