我创建了支持iOS7及以上版本的应用程序。我存档了我的应用并提交到应用商店进行应用审核。成功上传后,它说无效的二进制文件,我收到了以下问题的电子邮件。
This bundle is invalid - Invalid XML character '0x10' at index 327 in Info.plist.
任何人都可以帮助我。
<?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>
答案 0 :(得分:2)
尝试将上面共享的xml内容复制并粘贴到新的plist文件中,并在项目的构建设置中将其设置为info.plist。我使用了相同的xml并创建了plist来检查问题,但它似乎在我的最后工作完善。