iOS build size with Swift 3 and pods : <p>I just noticed cocoapods with Swift increases build size, however when I use same libraries manually then build size is normal.</p>

<p>I created a blank project with some pods and the build size goes to the 10MB and .app file is around 40MB.</p>

<p>I also notices that my .app file contains all my cocoapods frameworks 
(around 37MB) by viewing "Package content".<a href="https://i.stack.imgur.com/KT9Zy.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KT9Zy.png" alt="enter image description here"></a></p>

<p>My podfile having these pods</p>

<blockquote>
  <p>pod 'Alamofire', '~> 4.4'</p>
  
  <p>pod 'SwiftyJSON'</p>
  
  <p>pod 'IQKeyboardManagerSwift'</p>
  
  <p>pod 'ActionSheetPicker-3.0'</p>
  
  <p>pod 'Kingfisher'</p>
  
  <p>pod 'JKNotificationPanel'</p>
</blockquote>

<p>My questions are</p>

<ol>
<li>why my .app file contains all framework, I guess it happens only with Swift and cocoapod (Correct me if I am wrong) ?</li>
<li>How can we reduce the size of build by using cocoapods with Swift</li>
</ol>

<p>Thanks in advance</p>
