【问题标题】:Mac os app signing?Mac os 应用程序签名?
【发布时间】:2012-04-21 21:39:48
【问题描述】:

我想使用 Mountain Lion 的新功能通知中心。在NSUserNotification.h 中,我发现以下语句:

// Use of these classes requires your application be signed.

这是什么意思?我应该拥有 Apple 开发者帐户和证书吗?我在控制台应用程序中使用这样的类。

NSUserNotificationCenter * center = [NSUserNotificationCenter defaultUserNotificationCenter];

    NSUserNotification *notification = [[NSUserNotification alloc] init];

    notification.title = @"asdasdasdasd";
    notification.informativeText = @"text text";

    [center deliverNotification:notification];

但实际上什么也没发生。如何签署应用程序?

【问题讨论】:

  • 注:在发布前已放弃签名要求。

标签: objective-c macos osx-mountain-lion


【解决方案1】:
猜你喜欢
  • 2011-11-05
  • 1970-01-01
  • 2012-07-28
  • 2014-01-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多