title: How to add Binary framework in Swift Package Manager as dependency?
body: <p>I have been searching for an answer to add framework as a dependency in Swift Package Manager, and I assume there is a way to do this but haven't succeeded in finding it.</p>
  
  <p>I have tried the <a href="https://forums.swift.org/t/binary-frameworks-with-swiftpm/26225/2?u=yo2bh" rel="nofollow noreferrer">solution</a> provided on Swift Package Manager forum but did not succeed :( </p>
  
  <p>and facing error likes <code>package has an unsupported layout, binary.framework/module.modulemap should be inside the 'include' directory"</code></p>
  
  <p>Please download the sample project for binary support from <a href="https://github.com/yo2bh/SwiftPM-BinaryFrameworkSupport" rel="nofollow noreferrer">here</a>, which contents two frameworks add in Swift PM.</p>
  
  <p>I have tried to communicate with the Swift PM community but did not get any response from them.</p>
  
  <p>As there is a <a href="https://github.com/apple/swift-evolution/blob/master/proposals/0272-swiftpm-binary-dependencies.md" rel="nofollow noreferrer">proposal</a> for binary framework support in the community but doesn't know when Swift PM community will be working on the same.</p>
  
  <p>Is there any other way to do this? Please provide the solution for the same.</p>
  
  <p>Thanks in advance  </p>