Mac OS app签名?

时间:2012-04-09 14:13:40

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

我想使用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];

但没有真正发生。如何签署该应用程序?