For open access using the iOS Soundcloud SDK, you need to add the Soundcloud client ID as a parameter to the query string:
NSString *urlString = [NSString stringWithFormat:@"%@?client_id=%@", publicTrackUrlString, yourSCClientID]; [SCRequest performMethod: SCRequestMethodGET onResource: [NSURL URLWithString:urlString] usingParameters: nil withAccount: nil sendingProgressHandler: nil responseHandler:^(NSURLResponse *response, NSData *data, NSError *error){
It will then work for publicly accessible tracks when the withAccount: parameter is zero.
More elegantly, you can also package "client_id" in the dictionary and use it with parameters:
NSDictionary *params = @{@"client_id": yourSCClientID} ;
source share