title: Localizable.strings won't work in iOS framework
body: <p>I have a framework that has localizations in a bundle.</p>
  
  <p>Screenshot of localizations before bundle is built:</p>
  
  <p><a href="https://i.stack.imgur.com/UnUzr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UnUzr.png" alt="enter image description here"></a></p>
  
  <p>This is the code I use in my framework to grab the bundle and strings:</p>
  
  <pre><code>+ (NSBundle*) bundleWithName:(NSString*)name {
  NSString *mainBundlePath = [[NSBundle mainBundle] resourcePath];
  NSString *frameworkBundlePath = [mainBundlePath stringByAppendingPathComponent:name];
  if ([[NSFileManager defaultManager] fileExistsAtPath:frameworkBundlePath]){
      return [NSBundle bundleWithPath:frameworkBundlePath];
  }
  return nil;
  }
  
  
  +(NSString *)localizedStringFromBundleWithKey:(NSString *)keyString
  {
  return NSLocalizedStringFromTableInBundle(keyString, nil, [Common bundleWithName:@"MyCool.bundle"], nil);
  }
  </code></pre>
  
  <p>Then to access my localized strings:</p>
  
  <pre><code>[infoView setFirstButtonTitle:[Common localizedStringFromBundleWithKey:@"dialog_button_preferences"]];
  </code></pre>
  
  <p>When I drop the framework and bundle into a test project it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/2T2nf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2T2nf.png" alt="enter image description here"></a></p>
  
  <p>If I change my device to Spanish or any other language the strings all show up in english in the test project.</p>
  
  <p>Then to further the problem - if I add Localizable.strings to the test project (in addition to the ones in the framework bundle), none of the localizations work and instead show the "key" names.</p>
  
  <p>What is the proper way of localizing an iOS framework?</p>