应用程序支持iTunes文件共享,但在iOS 10中不起作用

应用程序支持iTunes文件共享,但在iOS 10中不起作用,ios,swift,itunes,file-sharing,Ios,Swift,Itunes,File Sharing,我对“应用程序支持iTunes文件共享”即“UIFileSharedEnabled”有一些奇怪的问题 我有一些应用程序需要iTunes文件共享支持,在我将一些设备升级到iOS 10之前,它们实际上都在使用较旧的iOS版本 我一直试图找到一些关于这方面的参考资料,但到目前为止没有成功 我能找到的唯一一件事是,我应该包括“CbundleDisplayName”,我做到了,尽管我不确定我是否明白这背后的原因。然而,没有运气 以下是其中一个应用程序的info.plist文件: <?xml vers

我对“应用程序支持iTunes文件共享”即“UIFileSharedEnabled”有一些奇怪的问题

我有一些应用程序需要iTunes文件共享支持,在我将一些设备升级到iOS 10之前,它们实际上都在使用较旧的iOS版本

我一直试图找到一些关于这方面的参考资料,但到目前为止没有成功

我能找到的唯一一件事是,我应该包括“CbundleDisplayName”,我做到了,尽管我不确定我是否明白这背后的原因。然而,没有运气

以下是其中一个应用程序的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>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleExecutable</key>
    <string>$(EXECUTABLE_NAME)</string>
    <key>CFBundleIdentifier</key>
    <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>$(PRODUCT_NAME)</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0</string>
    <key>CFBundleVersion</key>
    <string>1</string>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>NSPhotoLibraryUsageDescription</key>
    <string> Photo Library Access Warning</string>
    <key>UIFileSharingEnabled</key>
    <true/>
    <key>CFBundleDisplayName</key>
    <string>${PRODUCT_NAME}</string>
    <key>UILaunchStoryboardName</key>
    <string>LaunchScreen</string>
    <key>UIMainStoryboardFile</key>
    <string>Main</string>
    <key>UIRequiredDeviceCapabilities</key>
    <array>
    <string>armv7</string>
    </array>
    <key>UIStatusBarHidden</key>
    <true/>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>UIViewControllerBasedStatusBarAppearance</key>
    <false/>
 </dict>
</plist>

CfBundledDevelopmentRegion
EN
Cbundlexecutable
$(可执行文件名称)
CbundleIdentifier
$(产品\捆绑包\标识符)
CbundleInfo字典版本
6
CFBundleName
$(产品名称)
CbundlePackageType
应用
CbundleShortVersionString
1
循环流化床锅炉
1.
LSREQUIRESPHONEOS
NSPhotoLibraryUsageDescription
照片库访问警告
UIFileSharingEnabled
CbundleDisplayName
${PRODUCT_NAME}
UILaunchStoryboardName
发射屏
UIMainstryBoardFile
主要
UIRequiredDeviceCapabilities
armv7
UIStatusBarHidden
UI支持接口方向
UIInterfaceOrientationPortrait
UIInterfaceOrientation上下方向图
UIInterface方向和左视图
UIInterfaceOrientationAndscapeRight
UIViewControllerBasedStatusBarAppearance

你知道我做错了什么吗?所有应用程序都可以在iOS 9.3和iOS 8的设备上运行。

奇怪的是,我安装了Xcode 8.1和iOS 10.1,现在它可以运行了。
我安装的iTunes版本似乎与iOS 10不兼容。

奇怪的是,我安装了Xcode 8.1和iOS 10.1,现在它可以工作了。 我安装的iTunes版本似乎与iOS 10不兼容