Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WatchdogResources.bundle can't be found... #3

Open
nicroto opened this issue Apr 15, 2014 · 1 comment
Open

WatchdogResources.bundle can't be found... #3

nicroto opened this issue Apr 15, 2014 · 1 comment
Labels

Comments

@nicroto
Copy link

nicroto commented Apr 15, 2014

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];
}
@nicroto
Copy link
Author

nicroto commented Apr 17, 2014

I've found the problem of that - there is a missing step in the integration of the framework's documentation - copy resources.

If the pull request is accepted, we can close the issue with a reference to it: #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants