title: Getting framework version and build info with Swift
body: <p>I want to programmatically access the version and build information that is contained in <code>MyFramework.framework</code> at runtime.</p>
  
  <p>I found <a href="https://stackoverflow.com/q/24501288/539599">some solutions here</a> but they don't work. After translating to Swift 3, I find that <code>Bundle.main.infoDictionary</code> is empty.</p>
  
  <p>How can I get this information?</p>