-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Spec:
- OS X 10.9.2;
- Xcode 5.1.1.
Problem:
- When I try to display the registration window, Watchdog tries to find it's bundle with resources to get the path to window's xib, but is unable to find this bundle.
Code to reproduce it:
SRC = [WDRegistrationController sharedRegistrationController];
SRC.publicKeyPEM = @"-----BEGIN PUBLIC KEY-----\n....-----END PUBLIC KEY-----";
SRC.serialsStaticBlacklist = @[];
[SRC addObserver: self forKeyPath: ApplicationStateKeyPath options: NSKeyValueObservingOptionInitial context:nil];
[SRC checkForStoredSerialAndValidateIt];
if (SRC.applicationState < 2) {
[SRC showRegistrationWindow:self];
}