I wouldn't rely on the bundle identifier for your service call as you will end up with many version of your API in the server that you need to maintain. What you can do is to create a new target on your project and add a Pre processor macro to your Build settings and then you reference on that macro in your code to decide which URL use.
Then on your code:
- (NSURL *)url {
NSString *urlString = @"your://standars.url";
#if APITEST
urlString = @"your://test.url";
#endif
return [NSURL URLWithString:urlString];
}