小编Tho*_*son的帖子

WatchKit应用程序提交失败; MinimumOSVersion

提交WatchKit 1.2随播应用程序时,在验证过程中出现此错误:

ERROR ITMS-90455"无效的WatchKit应用程序包.不支持"redactedbundlename.watchkitapp"包中info.plist中的MinimumOSVersion键的值"2.1"

我在手表应用程序plist或设置中找不到MinimumOSVersion键,也没有在手机应用程序的构建设置或plist中找到.

唯一提到"2.1"相关的是我的构建设置:

在此输入图像描述

有任何想法来诊断这个问题吗?

ios watchkit

7
推荐指数
1
解决办法
749
查看次数

交互式通知未显示按钮ios 9.2

我相信我正在正确地创建交互式通知,但是我在跳板/锁定屏幕上没有按钮的情况下收到通知.我究竟做错了什么?

AppDelegate中:

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

    let notificationSettings: UIUserNotificationSettings! = UIApplication.sharedApplication().currentUserNotificationSettings()

    /// don't want to constantly set/re-set when this function fires
    if (notificationSettings.types == UIUserNotificationType.None){

      let yesAction = UIMutableUserNotificationAction()
      yesAction.identifier = "yesAction"
      yesAction.title = "Yes"
      yesAction.destructive = false
      yesAction.authenticationRequired = false
      yesAction.activationMode = UIUserNotificationActivationMode.Background

      let noAction = UIMutableUserNotificationAction()
      noAction.identifier = "noAction"
      noAction.title = "No"
      noAction.destructive = false
      noAction.authenticationRequired = false
      noAction.activationMode = UIUserNotificationActivationMode.Background

      let stopAction = UIMutableUserNotificationAction()
      stopAction.identifier = "stopAction"
      stopAction.title = "Stop"
      stopAction.destructive …
Run Code Online (Sandbox Code Playgroud)

ios uilocalnotification swift

6
推荐指数
0
解决办法
625
查看次数

标签 统计

ios ×2

swift ×1

uilocalnotification ×1

watchkit ×1