2014-02-27 23 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來檢查問題,但它似乎在我的最後工作完美。

相關問題