【问题标题】:Application supports iTunes file sharing not working in iOS 10应用程序支持 iTunes 文件共享在 iOS 10 中不起作用
【发布时间】:2016-10-31 07:59:48
【问题描述】:

我对“应用程序支持 iTunes 文件共享”又名“UIFileSharingEnabled”有一些奇怪的问题。

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

我一直在尝试找到一些关于此的参考,但到目前为止没有成功。

我唯一能找到的是我应该包含“CFBundleDisplayName”并且我做到了,尽管我不确定我是否明白这背后的原因。但是,没有运气。

这是其中一款应用的 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>

关于我做错了什么有什么想法吗?所有应用都可在装有 iOS 9.3 和 iOS 8 的设备上运行。

【问题讨论】:

    标签: ios swift itunes file-sharing


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-13
      相关资源
      最近更新 更多