I got cocoalibspotify at https://github.com/spotify/cocoalibspotify

When I run the project, an alert come up saying "Login Details Missing. The username, password or both are missing. Please consult the testing part of the readme file."

Before alert comes up, there is a code to get password and username datas.

NSString *userName = [[NSUserDefaults standardUserDefaults] stringForKey:kTestUserNameUserDefaultsKey];
NSString *password = [[NSUserDefaults standardUserDefaults] stringForKey:kTestPasswordUserDefaultsKey];

So I filled these information at TestConstants.h. But same error occurs.

How can I resolve the problem?


[update] I still can't run the project. I found code I can't run is test unit of this library. But I succeeded in running sample codes attached to CocoaLibSpotify. Still I want to solve this problem, but I'm not in hurry :)

有帮助吗?

解决方案

As the error says, "Please consult the testing part of the readme file". Exact instructions for fixing the problem are in the Testing part of the readme file - adding them to TestConstants.h isn't the fix.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top